|
#define | ARM_USBH_API_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2,3) /* API version */ |
|
#define | _ARM_Driver_USBH_(n) Driver_USBH##n |
|
#define | ARM_Driver_USBH_(n) _ARM_Driver_USBH_(n) |
|
#define | ARM_USBH_EP_HANDLE ARM_USBH_PIPE_HANDLE /* Legacy name */ |
|
#define | ARM_USBH_PACKET_TOKEN_Pos 0 |
|
#define | ARM_USBH_PACKET_TOKEN_Msk (0x0FUL << ARM_USBH_PACKET_TOKEN_Pos) |
|
#define | ARM_USBH_PACKET_SETUP (0x01UL << ARM_USBH_PACKET_TOKEN_Pos) |
| SETUP Packet. More...
|
|
#define | ARM_USBH_PACKET_OUT (0x02UL << ARM_USBH_PACKET_TOKEN_Pos) |
| OUT Packet. More...
|
|
#define | ARM_USBH_PACKET_IN (0x03UL << ARM_USBH_PACKET_TOKEN_Pos) |
| IN Packet. More...
|
|
#define | ARM_USBH_PACKET_PING (0x04UL << ARM_USBH_PACKET_TOKEN_Pos) |
| PING Packet. More...
|
|
#define | ARM_USBH_PACKET_DATA_Pos 4 |
|
#define | ARM_USBH_PACKET_DATA_Msk (0x0FUL << ARM_USBH_PACKET_DATA_Pos) |
|
#define | ARM_USBH_PACKET_DATA0 (0x01UL << ARM_USBH_PACKET_DATA_Pos) |
| DATA0 PID. More...
|
|
#define | ARM_USBH_PACKET_DATA1 (0x02UL << ARM_USBH_PACKET_DATA_Pos) |
| DATA1 PID. More...
|
|
#define | ARM_USBH_PACKET_SPLIT_Pos 8 |
|
#define | ARM_USBH_PACKET_SPLIT_Msk (0x0FUL << ARM_USBH_PACKET_SPLIT_Pos) |
|
#define | ARM_USBH_PACKET_SSPLIT (0x08UL << ARM_USBH_PACKET_SPLIT_Pos) |
| SSPLIT Packet. More...
|
|
#define | ARM_USBH_PACKET_SSPLIT_S (0x09UL << ARM_USBH_PACKET_SPLIT_Pos) |
| SSPLIT Packet: Data Start. More...
|
|
#define | ARM_USBH_PACKET_SSPLIT_E (0x0AUL << ARM_USBH_PACKET_SPLIT_Pos) |
| SSPLIT Packet: Data End. More...
|
|
#define | ARM_USBH_PACKET_SSPLIT_S_E (0x0BUL << ARM_USBH_PACKET_SPLIT_Pos) |
| SSPLIT Packet: Data All. More...
|
|
#define | ARM_USBH_PACKET_CSPLIT (0x0CUL << ARM_USBH_PACKET_SPLIT_Pos) |
| CSPLIT Packet. More...
|
|
#define | ARM_USBH_PACKET_PRE (1UL << 12) |
| PRE Token. More...
|
|
#define | ARM_USBH_EVENT_CONNECT (1UL << 0) |
| USB Device Connected to Port. More...
|
|
#define | ARM_USBH_EVENT_DISCONNECT (1UL << 1) |
| USB Device Disconnected from Port. More...
|
|
#define | ARM_USBH_EVENT_OVERCURRENT (1UL << 2) |
| USB Device caused Overcurrent. More...
|
|
#define | ARM_USBH_EVENT_RESET (1UL << 3) |
| USB Reset completed. More...
|
|
#define | ARM_USBH_EVENT_SUSPEND (1UL << 4) |
| USB Suspend occurred. More...
|
|
#define | ARM_USBH_EVENT_RESUME (1UL << 5) |
| USB Resume occurred. More...
|
|
#define | ARM_USBH_EVENT_REMOTE_WAKEUP (1UL << 6) |
| USB Device activated Remote Wakeup. More...
|
|
#define | ARM_USBH_EVENT_TRANSFER_COMPLETE (1UL << 0) |
| Transfer completed. More...
|
|
#define | ARM_USBH_EVENT_HANDSHAKE_NAK (1UL << 1) |
| NAK Handshake received. More...
|
|
#define | ARM_USBH_EVENT_HANDSHAKE_NYET (1UL << 2) |
| NYET Handshake received. More...
|
|
#define | ARM_USBH_EVENT_HANDSHAKE_MDATA (1UL << 3) |
| MDATA Handshake received. More...
|
|
#define | ARM_USBH_EVENT_HANDSHAKE_STALL (1UL << 4) |
| STALL Handshake received. More...
|
|
#define | ARM_USBH_EVENT_HANDSHAKE_ERR (1UL << 5) |
| ERR Handshake received. More...
|
|
#define | ARM_USBH_EVENT_BUS_ERROR (1UL << 6) |
| Bus Error detected. More...
|
|
#define | ARM_USBH_SignalEndpointEvent_t ARM_USBH_SignalPipeEvent_t /* Legacy name */ |
|