|
ChibiOS
21.6.0
|
USB Driver code. More...
Go to the source code of this file.
Functions | |
| static void | set_address (USBDriver *usbp) |
| SET ADDRESS transaction callback. More... | |
| static bool | default_handler (USBDriver *usbp) |
| Standard requests handler. More... | |
| void | usbInit (void) |
| USB Driver initialization. More... | |
| void | usbObjectInit (USBDriver *usbp) |
Initializes the standard part of a USBDriver structure. More... | |
| void | usbStart (USBDriver *usbp, const USBConfig *config) |
| Configures and activates the USB peripheral. More... | |
| void | usbStop (USBDriver *usbp) |
| Deactivates the USB peripheral. More... | |
| void | usbInitEndpointI (USBDriver *usbp, usbep_t ep, const USBEndpointConfig *epcp) |
| Enables an endpoint. More... | |
| void | usbDisableEndpointsI (USBDriver *usbp) |
| Disables all the active endpoints. More... | |
| void | usbStartReceiveI (USBDriver *usbp, usbep_t ep, uint8_t *buf, size_t n) |
| Starts a receive transaction on an OUT endpoint. More... | |
| void | usbStartTransmitI (USBDriver *usbp, usbep_t ep, const uint8_t *buf, size_t n) |
| Starts a transmit transaction on an IN endpoint. More... | |
| msg_t | usbReceive (USBDriver *usbp, usbep_t ep, uint8_t *buf, size_t n) |
| Performs a receive transaction on an OUT endpoint. More... | |
| msg_t | usbTransmit (USBDriver *usbp, usbep_t ep, const uint8_t *buf, size_t n) |
| Performs a transmit transaction on an IN endpoint. More... | |
| bool | usbStallReceiveI (USBDriver *usbp, usbep_t ep) |
| Stalls an OUT endpoint. More... | |
| bool | usbStallTransmitI (USBDriver *usbp, usbep_t ep) |
| Stalls an IN endpoint. More... | |
| void | usbWakeupHost (USBDriver *usbp) |
| Host wake-up procedure. More... | |
| void | _usb_reset (USBDriver *usbp) |
| USB reset routine. More... | |
| void | _usb_suspend (USBDriver *usbp) |
| USB suspend routine. More... | |
| void | _usb_wakeup (USBDriver *usbp) |
| USB wake-up routine. More... | |
| void | _usb_ep0setup (USBDriver *usbp, usbep_t ep) |
| Default EP0 SETUP callback. More... | |
| void | _usb_ep0in (USBDriver *usbp, usbep_t ep) |
| Default EP0 IN callback. More... | |
| void | _usb_ep0out (USBDriver *usbp, usbep_t ep) |
| Default EP0 OUT callback. More... | |
USB Driver code.
Definition in file hal_usb.c.