Data Structures | |
struct | ARM_USBD_STATE |
USB Device State. More... | |
struct | ARM_USBD_CAPABILITIES |
USB Device Driver Capabilities. More... | |
struct | ARM_DRIVER_USBD |
Access structure of the USB Device Driver. More... | |
Macros | |
#define | ARM_USBD_API_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2,3) /* API version */ |
#define | _ARM_Driver_USBD_(n) Driver_USBD##n |
#define | ARM_Driver_USBD_(n) _ARM_Driver_USBD_(n) |
#define | ARM_USBD_EVENT_VBUS_ON (1UL << 0) |
USB Device VBUS On. | |
#define | ARM_USBD_EVENT_VBUS_OFF (1UL << 1) |
USB Device VBUS Off. | |
#define | ARM_USBD_EVENT_RESET (1UL << 2) |
USB Reset occurred. | |
#define | ARM_USBD_EVENT_HIGH_SPEED (1UL << 3) |
USB switch to High Speed occurred. | |
#define | ARM_USBD_EVENT_SUSPEND (1UL << 4) |
USB Suspend occurred. | |
#define | ARM_USBD_EVENT_RESUME (1UL << 5) |
USB Resume occurred. | |
#define | ARM_USBD_EVENT_SETUP (1UL << 0) |
SETUP Packet. | |
#define | ARM_USBD_EVENT_OUT (1UL << 1) |
OUT Packet(s) | |
#define | ARM_USBD_EVENT_IN (1UL << 2) |
IN Packet(s) | |
Typedefs | |
typedef void(* | ARM_USBD_SignalDeviceEvent_t) (uint32_t event) |
Pointer to ARM_USBD_SignalDeviceEvent : Signal USB Device Event. | |
typedef void(* | ARM_USBD_SignalEndpointEvent_t) (uint8_t ep_addr, uint32_t event) |
Pointer to ARM_USBD_SignalEndpointEvent : Signal USB Endpoint Event. | |
#define ARM_USBD_API_VERSION ARM_DRIVER_VERSION_MAJOR_MINOR(2,3) /* API version */ |
#define _ARM_Driver_USBD_ | ( | n | ) | Driver_USBD##n |
#define ARM_Driver_USBD_ | ( | n | ) | _ARM_Driver_USBD_(n) |