summaryrefslogtreecommitdiff
path: root/src/portable/analog
AgeCommit message (Collapse)Author
2023-09-18add default CFG_TUH_MAX3421 = 0, default spi speed for samd21/samd51 to 12Mhzhathach
2023-09-09minor renamehathach
2023-09-07- wrap up hcd max3421, work well with nrf52840hathach
- also add usbh_defer_func()
2023-08-31vastly improve attach/detach device, still have issue where thing is still ↵hathach
hanged occasionally.
2023-08-31improve connection & disconnection detection. But there is still issue when ↵hathach
CONDETIRQ occurs but we are disabled interrupt (for osal queue access).
2023-08-30use ep buf to keep setup packet, work well with hid devicehathach
2023-08-30call xfer_complete_isr() when result is not successful (stalled or failed)hathach
2023-08-29- hcd_setup_send() also check for busy flaghathach
- xact_inout() to support send setup
2023-08-29- correct tuh_max3421e_int_api() for nrf52hathach
- hcd_int_disable/enable is software only to reduce interrupt lag
2023-08-28- add xfer_complete_isr()hathach
- merge addr0 ep to pool - add control status to xact in/out - use atomic flag busy to ensure only 1 transfer is active at any time - execute pending transfer after one is complete (or clear busy flag) - change rtt mode to block if full
2023-08-27more update to transactionhathach
2023-08-25try next endpoint when received NAKhathach
2023-08-25add xact_out(), xact_in() to manage transferhathach
2023-08-25use endpoint pool for more flexible multiple devices supporthathach
2023-08-25add osal mutex for spihathach
2023-08-25add spi lock with interrupt enable/disablehathach
2023-08-24save data toggle, always retry NAK. work with msc devicehathach
2023-08-24add tuh_max3421e_int_api(), retry control if received NAKhathach
2023-08-24complete enumerationhathach
2023-08-23able to complete 1st get device descriptor and set addresshathach
2023-08-23able to get 8 byte descriptor, but read(RCVBC) always return 0hathach
- rename max3421e to max3421 - fix incorrect bitmask for HCTL, fix initial device connect - fix bus reset cause connect IRQ
2023-08-22able to send setup packethathach
2023-08-22able to detect new device and start enumeratinghathach
2023-08-18adding connection event handling, add nrf gpio interrupt for max2341e ↵hathach
interrupt pin
2023-08-18ground works for hcd max3421ehathach