Methods | Brief description |
![]() |
Configures an endpoint according to its Endpoint Descriptor. |
![]() |
Connects the pull-up on the D+ line of the USB. |
![]() |
Disconnects the pull-up from the D+ line of the USB. |
![]() |
Returns the current state of the USB device. |
![]() |
Sets the HALT feature on the given endpoint (if not already in this state). |
![]() |
Initializes the USB driver. |
![]() |
USB interrupt handler Manages device resume, suspend, end of bus reset. |
![]() |
Returns the current Halt status of an endpoint. |
![]() |
Indicates if the device is running in high or full-speed. |
![]() |
Reads incoming data on an USB endpoint This methods sets the transfer descriptor and activate the endpoint interrupt. |
![]() |
Starts a remote wake-up procedure. |
![]() |
Sets the device address to the given value. |
![]() |
Sets the current device configuration. |
![]() |
Causes the given endpoint to acknowledge the next packet it receives with a STALL handshake. |
![]() |
Clears the Halt feature on the given endpoint. |
![]() |
Sends data through a USB endpoint. |
Defines | |
![]() |
LED for custom usage. |
![]() |
LED for indicating that the device is powered. |
![]() |
LED for indicating USB activity. |
![]() |
The device has been given an address on the bus. |
![]() |
USB cable is plugged into the device. |
![]() |
A valid configuration has been selected. |
![]() |
Device has been reset. |
![]() |
Host is providing +5V through the USB cable. |
![]() |
The device is currently suspended. |
![]() |
Operation has been aborted. |
![]() |
Endpoint/device is already busy. |
![]() |
Operation has been aborted because the device has been reset. |
![]() |
Indicates the operation was successful. |
Types | |
![]() |
Callback used by transfer functions (USBD_Read & USBD_Write) to notify that a transaction is complete. |