CMSIS-Driver Version 2.05
Peripheral Interface for Middleware and Application Code
Driver API for USB Host Peripheral (Driver_USBH.h) More...
|Driver API for USB Host. |
|Driver API for USB OHCI/EHCI. |
Driver API for USB Host Peripheral (Driver_USBH.h)
USB Host API**
The header file Driver_USBH.h defines the API for the USB Host Driver interface used by middleware components. The driver implementation itself is a typical part of the Device Family Pack, which provides entry points to the interface as function pointers in the struct ARM_DRIVER_USBH. This structure can be available several times in each interface to control multiple USBH interfaces.
Driver_USBH.h also defines callback routines, which are categorized in port event callbacks and pipe event callbacks. Callbacks are called by the driver, in interrupt context when an appropriate event occurs, to signal port related events (ARM_USBH_SignalPortEvent) and pipe related events (ARM_USBH_SignalPipeEvent).