|
enum | cy_en_usbfs_dev_drv_status_t {
CY_USBFS_DEV_DRV_SUCCESS = 0U,
CY_USBFS_DEV_DRV_BAD_PARAM = (CY_USBFS_ID | CY_PDL_STATUS_ERROR | CY_USBFS_DEV_DRV_STATUS_CODE | 1U),
CY_USBFS_DEV_DRV_BUF_ALLOC_FAILED = (CY_USBFS_ID | CY_PDL_STATUS_ERROR | CY_USBFS_DEV_DRV_STATUS_CODE | 2U),
CY_USBFS_DEV_DRV_DMA_CFG_FAILED = (CY_USBFS_ID | CY_PDL_STATUS_ERROR | CY_USBFS_DEV_DRV_STATUS_CODE | 3U),
CY_USBFS_DEV_DRV_EP_DYN_RECONFIG_TIMEOUT = (CY_USBFS_ID | CY_PDL_STATUS_ERROR | CY_USBFS_DEV_DRV_STATUS_CODE | 4U),
CY_USBFS_DEV_DRV_EP_DMA_READ_TIMEOUT = (CY_USBFS_ID | CY_PDL_STATUS_ERROR | CY_USBFS_DEV_DRV_STATUS_CODE | 5U),
CY_USBFS_DEV_DRV_EP_DMA_WRITE_TIMEOUT = (CY_USBFS_ID | CY_PDL_STATUS_ERROR | CY_USBFS_DEV_DRV_STATUS_CODE | 6U)
} |
| USBFS Device Driver return codes. More...
|
|
enum | cy_en_usbfs_dev_drv_ep_management_mode_t {
CY_USBFS_DEV_DRV_EP_MANAGEMENT_CPU = 0,
CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA = 1,
CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO = 2
} |
| Data Endpoints Buffer Management Mode. More...
|
|
enum | cy_en_usbfs_dev_ep_access_t {
CY_USBFS_DEV_DRV_USE_8_BITS_DR,
CY_USBFS_DEV_DRV_USE_16_BITS_DR
} |
| Data Endpoint Register Access Type. More...
|
|
enum | cy_en_usb_dev_service_cb_t {
CY_USB_DEV_BUS_RESET = 0U,
CY_USB_DEV_EP0_SETUP = 1U,
CY_USB_DEV_EP0_IN = 2U,
CY_USB_DEV_EP0_OUT = 3U
} |
| Service Callback Events (this enumerated type is used by middleware) More...
|
|
enum | cy_en_usbfs_dev_drv_cb_source_t {
CY_USBFS_DEV_DRV_EP1 = 0U,
CY_USBFS_DEV_DRV_EP2 = 1U,
CY_USBFS_DEV_DRV_EP3 = 2U,
CY_USBFS_DEV_DRV_EP4 = 3U,
CY_USBFS_DEV_DRV_EP5 = 4U,
CY_USBFS_DEV_DRV_EP6 = 5U,
CY_USBFS_DEV_DRV_EP7 = 6U,
CY_USBFS_DEV_DRV_EP8 = 7U,
CY_USBFS_DEV_DRV_SOF = 8U,
CY_USBFS_DEV_DRV_LPM = 9U
} |
| Callback Sources. More...
|
|
enum | cy_en_usb_dev_ep_state_t {
CY_USB_DEV_EP_IDLE,
CY_USB_DEV_EP_PENDING,
CY_USB_DEV_EP_COMPLETED,
CY_USB_DEV_EP_STALLED,
CY_USB_DEV_EP_DISABLED,
CY_USB_DEV_EP_INVALID
} |
| Data Endpoint States (this enumerated type is used by middleware) More...
|
|
enum | cy_en_usbfs_dev_drv_force_bus_state_t {
CY_USBFS_DEV_DRV_FORCE_STATE_J = 0xA0U,
CY_USBFS_DEV_DRV_FORCE_STATE_K = 0x80U,
CY_USBFS_DEV_DRV_FORCE_STATE_SE0 = 0xC0U,
CY_USBFS_DEV_DRV_FORCE_STATE_NONE = 0x00U
} |
| USB Lines Control. More...
|
|
enum | cy_en_usbfs_dev_drv_lpm_req_t {
CY_USBFS_DEV_DRV_LPM_REQ_NACK = 0x0U,
CY_USBFS_DEV_DRV_LPM_REQ_ACK = 0x1U
} |
| LPM (Link Power Management) Responses. More...
|
|
enum | cy_en_usbfs_dev_drv_ep0_ctrl_state_t {
CY_USBFS_DEV_DRV_EP0_CTRL_STATE_IDLE,
CY_USBFS_DEV_DRV_EP0_CTRL_STATE_SETUP,
CY_USBFS_DEV_DRV_EP0_CTRL_STATE_DATA,
CY_USBFS_DEV_DRV_EP0_CTRL_STATE_STATUS_IN,
CY_USBFS_DEV_DRV_EP0_CTRL_STATE_STATUS_OUT
} |
| USB Control EP0 transfer state.
|
|