|
| static void | usb_phy_deinit (USB_Type *ptr) |
| |
| void | usb_phy_init (USB_Type *ptr, bool host) |
| | Initialize USB phy. More...
|
| |
| void | usb_dcd_bus_reset (USB_Type *ptr, uint16_t ep0_max_packet_size) |
| | USB device bus reset. More...
|
| |
| void | usb_dcd_init (USB_Type *ptr) |
| | Initialize controller to device mode. More...
|
| |
| void | usb_dcd_deinit (USB_Type *ptr) |
| | Deinitialize controller to device. More...
|
| |
| void | usb_dcd_connect (USB_Type *ptr) |
| | Connect by enabling internal pull-up resistor on D+/D-. More...
|
| |
| void | usb_dcd_disconnect (USB_Type *ptr) |
| | Disconnect by disabling internal pull-up resistor on D+/D-. More...
|
| |
| void | usb_dcd_edpt_open (USB_Type *ptr, usb_endpoint_config_t *config) |
| | Open an endpoint. More...
|
| |
| uint8_t | usb_dcd_edpt_get_type (USB_Type *ptr, uint8_t ep_addr) |
| | get a specified endpoint type More...
|
| |
| void | usb_dcd_edpt_xfer (USB_Type *ptr, uint8_t ep_idx) |
| | Submit a transfer. More...
|
| |
| void | usb_dcd_edpt_stall (USB_Type *ptr, uint8_t ep_addr) |
| | Stall endpoint. More...
|
| |
| void | usb_dcd_edpt_clear_stall (USB_Type *ptr, uint8_t ep_addr) |
| | Clear stall. More...
|
| |
| bool | usb_dcd_edpt_check_stall (USB_Type *ptr, uint8_t ep_addr) |
| | Clear stall. More...
|
| |
| void | usb_dcd_edpt_close (USB_Type *ptr, uint8_t ep_addr) |
| | Close a specified endpoint. More...
|
| |
| void | usb_dcd_remote_wakeup (USB_Type *ptr) |
| | Wakeup from host. More...
|
| |
| bool | usb_hcd_init (USB_Type *ptr, uint32_t int_mask, uint16_t framelist_size) |
| | Initialize controller to host mode. More...
|
| |
| void | usb_hcd_port_reset (USB_Type *ptr) |
| | Initialize controller to host modeHost Reset port. More...
|
| |