Driver Configuration Structure.
Data Fields | |
| cy_en_usbfs_dev_drv_ep_management_mode_t | mode |
| Endpoints management mode. | |
| const cy_stc_usbfs_dev_drv_dma_config_t * | dmaConfig [CY_USBFS_DEV_DRV_NUM_EPS_MAX] |
| DMA channels configuration for the endpoints. More... | |
| uint8_t * | epBuffer |
| The pointer to the buffer allocated for the OUT endpoints (applicable only when mode is CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO) | |
| uint16_t | epBufferSize |
| The size of the buffer for the OUT endpoints (applicable only when mode is CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO) | |
| uint32_t | intrLevelSel |
| The mask that assigns interrupt sources to trigger: Low, Medium, or High interrupt. More... | |
| bool | enableLpm |
| Enables LPM (Link Power Management) response. | |
| cy_en_usbfs_dev_ep_access_t | epAccess |
| Data endpoints access type. | |
| const cy_stc_usbfs_dev_drv_dma_config_t* cy_stc_usbfs_dev_drv_config_t::dmaConfig[CY_USBFS_DEV_DRV_NUM_EPS_MAX] |
DMA channels configuration for the endpoints.
Only DMChannels for active endpoints must be configured. Provide NULL pointer if endpoint is not used. Applicable when mode is CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA or CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO.
| uint32_t cy_stc_usbfs_dev_drv_config_t::intrLevelSel |
The mask that assigns interrupt sources to trigger: Low, Medium, or High interrupt.
Use the macros provided in group_usbfs_dev_drv_macros_intr_level to initialize the intrLevelSel mask.