CAT2 Peripheral Driver Library
cy_stc_usbfs_dev_drv_config_t Struct Reference

Description

Driver Configuration Structure.

Data Fields

cy_en_usbfs_dev_drv_ep_management_mode_t mode
 Endpoints management mode.
 
uint8_t * epBuffer
 DMA channels configuration for the endpoints. More...
 
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...
 
cy_en_usbfs_dev_ep_access_t epAccess
 Data endpoints access type.
 

Field Documentation

◆ epBuffer

uint8_t* cy_stc_usbfs_dev_drv_config_t::epBuffer

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. The pointer to the buffer allocated for the OUT endpoints (applicable only when mode is CY_USBFS_DEV_DRV_EP_MANAGEMENT_DMA_AUTO)

◆ intrLevelSel

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.