MTB CAT1 Peripheral driver library

General Description

Macros

#define CY_USBFS_DEV_DRV_LVL_HIGH   (0U)
 The interrupt source is assigned to a trigger High interrupt.
 
#define CY_USBFS_DEV_DRV_LVL_MEDIUM   (1U)
 The interrupt source is assigned to a trigger Medium interrupt.
 
#define CY_USBFS_DEV_DRV_LVL_LOW   (2U)
 The interrupt source is assigned to a trigger Low interrupt.
 
#define CY_USBFS_DEV_DRV_SET_SOF_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_SOF_LVL_SEL, level)
 Assigns the SOF interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_BUS_RESET_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_BUS_RESET_LVL_SEL, level)
 Assigns the Bus Reset interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP0_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP0_LVL_SEL, level)
 Assigns the Endpoint 0 interrupt source to a trigger interrupt Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_LPM_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_LPM_LVL_SEL, level)
 Assigns the LPM interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_RESUME_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_RESUME_LVL_SEL, level)
 Assigns the Resume interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_ARB_EP_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_ARB_EP_LVL_SEL, level)
 Assigns the Arbiter interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP1_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP1_LVL_SEL, level)
 Assigns the Endpoint 1 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP2_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP2_LVL_SEL, level)
 Assigns the Endpoint 2 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP3_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP3_LVL_SEL, level)
 Assigns the Endpoint 3 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP4_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP4_LVL_SEL, level)
 Assigns the Endpoint 4 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP5_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP5_LVL_SEL, level)
 Assigns the Endpoint 5 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP6_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP6_LVL_SEL, level)
 Assigns the Endpoint 6 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP7_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP7_LVL_SEL, level)
 Assigns the Endpoint 7 interrupt source to a trigger interrupt: Low, Medium, or High.
 
#define CY_USBFS_DEV_DRV_SET_EP8_LVL(level)   _VAL2FLD(USBFS_USBLPM_INTR_LVL_SEL_EP8_LVL_SEL, level)
 Assigns the Endpoint 8 interrupt source to a trigger interrupt: Low, Medium, or High.