RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Macros

Macros

#define USB_ANALOG_VBUS_DETECT_COUNT   (2U)
 
#define USB_ANALOG_VBUS_DETECT_SET_COUNT   (2U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_COUNT   (2U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_COUNT   (2U)
 
#define USB_ANALOG_CHRG_DETECT_COUNT   (2U)
 
#define USB_ANALOG_CHRG_DETECT_SET_COUNT   (2U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_COUNT   (2U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_COUNT   (2U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_COUNT   (2U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_COUNT   (2U)
 
#define USB_ANALOG_LOOPBACK_COUNT   (2U)
 
#define USB_ANALOG_LOOPBACK_SET_COUNT   (2U)
 
#define USB_ANALOG_LOOPBACK_CLR_COUNT   (2U)
 
#define USB_ANALOG_LOOPBACK_TOG_COUNT   (2U)
 
#define USB_ANALOG_MISC_COUNT   (2U)
 
#define USB_ANALOG_MISC_SET_COUNT   (2U)
 
#define USB_ANALOG_MISC_CLR_COUNT   (2U)
 
#define USB_ANALOG_MISC_TOG_COUNT   (2U)
 

VBUS_DETECT - USB VBUS Detect Register

#define USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH_MASK   (0x7U)
 
#define USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH_SHIFT   (0U)
 
#define USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH_MASK)
 
#define USB_ANALOG_VBUS_DETECT_VBUSVALID_PWRUP_CMPS_MASK   (0x100000U)
 
#define USB_ANALOG_VBUS_DETECT_VBUSVALID_PWRUP_CMPS_SHIFT   (20U)
 
#define USB_ANALOG_VBUS_DETECT_VBUSVALID_PWRUP_CMPS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_VBUSVALID_PWRUP_CMPS_SHIFT)) & USB_ANALOG_VBUS_DETECT_VBUSVALID_PWRUP_CMPS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_DISCHARGE_VBUS_MASK   (0x4000000U)
 
#define USB_ANALOG_VBUS_DETECT_DISCHARGE_VBUS_SHIFT   (26U)
 
#define USB_ANALOG_VBUS_DETECT_DISCHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_DISCHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_DISCHARGE_VBUS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_CHARGE_VBUS_MASK   (0x8000000U)
 
#define USB_ANALOG_VBUS_DETECT_CHARGE_VBUS_SHIFT   (27U)
 
#define USB_ANALOG_VBUS_DETECT_CHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_CHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_CHARGE_VBUS_MASK)
 

VBUS_DETECT_SET - USB VBUS Detect Register

#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH_MASK   (0x7U)
 
#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH_SHIFT   (0U)
 
#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH_MASK)
 
#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_PWRUP_CMPS_MASK   (0x100000U)
 
#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_PWRUP_CMPS_SHIFT   (20U)
 
#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_PWRUP_CMPS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_PWRUP_CMPS_SHIFT)) & USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_PWRUP_CMPS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_SET_DISCHARGE_VBUS_MASK   (0x4000000U)
 
#define USB_ANALOG_VBUS_DETECT_SET_DISCHARGE_VBUS_SHIFT   (26U)
 
#define USB_ANALOG_VBUS_DETECT_SET_DISCHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_SET_DISCHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_SET_DISCHARGE_VBUS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_SET_CHARGE_VBUS_MASK   (0x8000000U)
 
#define USB_ANALOG_VBUS_DETECT_SET_CHARGE_VBUS_SHIFT   (27U)
 
#define USB_ANALOG_VBUS_DETECT_SET_CHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_SET_CHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_SET_CHARGE_VBUS_MASK)
 

VBUS_DETECT_CLR - USB VBUS Detect Register

#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH_MASK   (0x7U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH_SHIFT   (0U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH_MASK)
 
#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_PWRUP_CMPS_MASK   (0x100000U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_PWRUP_CMPS_SHIFT   (20U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_PWRUP_CMPS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_PWRUP_CMPS_SHIFT)) & USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_PWRUP_CMPS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_CLR_DISCHARGE_VBUS_MASK   (0x4000000U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_DISCHARGE_VBUS_SHIFT   (26U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_DISCHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_CLR_DISCHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_CLR_DISCHARGE_VBUS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_CLR_CHARGE_VBUS_MASK   (0x8000000U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_CHARGE_VBUS_SHIFT   (27U)
 
#define USB_ANALOG_VBUS_DETECT_CLR_CHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_CLR_CHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_CLR_CHARGE_VBUS_MASK)
 

VBUS_DETECT_TOG - USB VBUS Detect Register

#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH_MASK   (0x7U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH_SHIFT   (0U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH_MASK)
 
#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_PWRUP_CMPS_MASK   (0x100000U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_PWRUP_CMPS_SHIFT   (20U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_PWRUP_CMPS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_PWRUP_CMPS_SHIFT)) & USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_PWRUP_CMPS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_TOG_DISCHARGE_VBUS_MASK   (0x4000000U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_DISCHARGE_VBUS_SHIFT   (26U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_DISCHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_TOG_DISCHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_TOG_DISCHARGE_VBUS_MASK)
 
#define USB_ANALOG_VBUS_DETECT_TOG_CHARGE_VBUS_MASK   (0x8000000U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_CHARGE_VBUS_SHIFT   (27U)
 
#define USB_ANALOG_VBUS_DETECT_TOG_CHARGE_VBUS(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_TOG_CHARGE_VBUS_SHIFT)) & USB_ANALOG_VBUS_DETECT_TOG_CHARGE_VBUS_MASK)
 

CHRG_DETECT - USB Charger Detect Register

#define USB_ANALOG_CHRG_DETECT_CHK_CONTACT_MASK   (0x40000U)
 
#define USB_ANALOG_CHRG_DETECT_CHK_CONTACT_SHIFT   (18U)
 
#define USB_ANALOG_CHRG_DETECT_CHK_CONTACT(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_CHK_CONTACT_MASK)
 
#define USB_ANALOG_CHRG_DETECT_CHK_CHRG_B_MASK   (0x80000U)
 
#define USB_ANALOG_CHRG_DETECT_CHK_CHRG_B_SHIFT   (19U)
 
#define USB_ANALOG_CHRG_DETECT_CHK_CHRG_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_CHK_CHRG_B_MASK)
 
#define USB_ANALOG_CHRG_DETECT_EN_B_MASK   (0x100000U)
 
#define USB_ANALOG_CHRG_DETECT_EN_B_SHIFT   (20U)
 
#define USB_ANALOG_CHRG_DETECT_EN_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_EN_B_MASK)
 

CHRG_DETECT_SET - USB Charger Detect Register

#define USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT_MASK   (0x40000U)
 
#define USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT_SHIFT   (18U)
 
#define USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT_MASK)
 
#define USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B_MASK   (0x80000U)
 
#define USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B_SHIFT   (19U)
 
#define USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B_MASK)
 
#define USB_ANALOG_CHRG_DETECT_SET_EN_B_MASK   (0x100000U)
 
#define USB_ANALOG_CHRG_DETECT_SET_EN_B_SHIFT   (20U)
 
#define USB_ANALOG_CHRG_DETECT_SET_EN_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_SET_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_SET_EN_B_MASK)
 

CHRG_DETECT_CLR - USB Charger Detect Register

#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT_MASK   (0x40000U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT_SHIFT   (18U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT_MASK)
 
#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B_MASK   (0x80000U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B_SHIFT   (19U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B_MASK)
 
#define USB_ANALOG_CHRG_DETECT_CLR_EN_B_MASK   (0x100000U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_EN_B_SHIFT   (20U)
 
#define USB_ANALOG_CHRG_DETECT_CLR_EN_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CLR_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_CLR_EN_B_MASK)
 

CHRG_DETECT_TOG - USB Charger Detect Register

#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT_MASK   (0x40000U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT_SHIFT   (18U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT_MASK)
 
#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B_MASK   (0x80000U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B_SHIFT   (19U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B_MASK)
 
#define USB_ANALOG_CHRG_DETECT_TOG_EN_B_MASK   (0x100000U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_EN_B_SHIFT   (20U)
 
#define USB_ANALOG_CHRG_DETECT_TOG_EN_B(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_TOG_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_TOG_EN_B_MASK)
 

VBUS_DETECT_STAT - USB VBUS Detect Status Register

#define USB_ANALOG_VBUS_DETECT_STAT_SESSEND_MASK   (0x1U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_SESSEND_SHIFT   (0U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_SESSEND(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_STAT_SESSEND_SHIFT)) & USB_ANALOG_VBUS_DETECT_STAT_SESSEND_MASK)
 
#define USB_ANALOG_VBUS_DETECT_STAT_BVALID_MASK   (0x2U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_BVALID_SHIFT   (1U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_BVALID(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_STAT_BVALID_SHIFT)) & USB_ANALOG_VBUS_DETECT_STAT_BVALID_MASK)
 
#define USB_ANALOG_VBUS_DETECT_STAT_AVALID_MASK   (0x4U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_AVALID_SHIFT   (2U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_AVALID(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_STAT_AVALID_SHIFT)) & USB_ANALOG_VBUS_DETECT_STAT_AVALID_MASK)
 
#define USB_ANALOG_VBUS_DETECT_STAT_VBUS_VALID_MASK   (0x8U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_VBUS_VALID_SHIFT   (3U)
 
#define USB_ANALOG_VBUS_DETECT_STAT_VBUS_VALID(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_STAT_VBUS_VALID_SHIFT)) & USB_ANALOG_VBUS_DETECT_STAT_VBUS_VALID_MASK)
 

CHRG_DETECT_STAT - USB Charger Detect Status Register

#define USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT_MASK   (0x1U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT_SHIFT   (0U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT_MASK)
 
#define USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED_MASK   (0x2U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED_SHIFT   (1U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED_SHIFT)) & USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED_MASK)
 
#define USB_ANALOG_CHRG_DETECT_STAT_DM_STATE_MASK   (0x4U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_DM_STATE_SHIFT   (2U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_DM_STATE(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_STAT_DM_STATE_SHIFT)) & USB_ANALOG_CHRG_DETECT_STAT_DM_STATE_MASK)
 
#define USB_ANALOG_CHRG_DETECT_STAT_DP_STATE_MASK   (0x8U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_DP_STATE_SHIFT   (3U)
 
#define USB_ANALOG_CHRG_DETECT_STAT_DP_STATE(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_STAT_DP_STATE_SHIFT)) & USB_ANALOG_CHRG_DETECT_STAT_DP_STATE_MASK)
 

LOOPBACK - USB Loopback Test Register

#define USB_ANALOG_LOOPBACK_UTMI_TESTSTART_MASK   (0x1U)
 
#define USB_ANALOG_LOOPBACK_UTMI_TESTSTART_SHIFT   (0U)
 
#define USB_ANALOG_LOOPBACK_UTMI_TESTSTART(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_LOOPBACK_UTMI_TESTSTART_SHIFT)) & USB_ANALOG_LOOPBACK_UTMI_TESTSTART_MASK)
 

LOOPBACK_SET - USB Loopback Test Register

#define USB_ANALOG_LOOPBACK_SET_UTMI_TESTSTART_MASK   (0x1U)
 
#define USB_ANALOG_LOOPBACK_SET_UTMI_TESTSTART_SHIFT   (0U)
 
#define USB_ANALOG_LOOPBACK_SET_UTMI_TESTSTART(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_LOOPBACK_SET_UTMI_TESTSTART_SHIFT)) & USB_ANALOG_LOOPBACK_SET_UTMI_TESTSTART_MASK)
 

LOOPBACK_CLR - USB Loopback Test Register

#define USB_ANALOG_LOOPBACK_CLR_UTMI_TESTSTART_MASK   (0x1U)
 
#define USB_ANALOG_LOOPBACK_CLR_UTMI_TESTSTART_SHIFT   (0U)
 
#define USB_ANALOG_LOOPBACK_CLR_UTMI_TESTSTART(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_LOOPBACK_CLR_UTMI_TESTSTART_SHIFT)) & USB_ANALOG_LOOPBACK_CLR_UTMI_TESTSTART_MASK)
 

LOOPBACK_TOG - USB Loopback Test Register

#define USB_ANALOG_LOOPBACK_TOG_UTMI_TESTSTART_MASK   (0x1U)
 
#define USB_ANALOG_LOOPBACK_TOG_UTMI_TESTSTART_SHIFT   (0U)
 
#define USB_ANALOG_LOOPBACK_TOG_UTMI_TESTSTART(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_LOOPBACK_TOG_UTMI_TESTSTART_SHIFT)) & USB_ANALOG_LOOPBACK_TOG_UTMI_TESTSTART_MASK)
 

MISC - USB Misc Register

#define USB_ANALOG_MISC_HS_USE_EXTERNAL_R_MASK   (0x1U)
 
#define USB_ANALOG_MISC_HS_USE_EXTERNAL_R_SHIFT   (0U)
 
#define USB_ANALOG_MISC_HS_USE_EXTERNAL_R(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_HS_USE_EXTERNAL_R_SHIFT)) & USB_ANALOG_MISC_HS_USE_EXTERNAL_R_MASK)
 
#define USB_ANALOG_MISC_EN_DEGLITCH_MASK   (0x2U)
 
#define USB_ANALOG_MISC_EN_DEGLITCH_SHIFT   (1U)
 
#define USB_ANALOG_MISC_EN_DEGLITCH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_EN_DEGLITCH_SHIFT)) & USB_ANALOG_MISC_EN_DEGLITCH_MASK)
 
#define USB_ANALOG_MISC_EN_CLK_UTMI_MASK   (0x40000000U)
 
#define USB_ANALOG_MISC_EN_CLK_UTMI_SHIFT   (30U)
 
#define USB_ANALOG_MISC_EN_CLK_UTMI(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_EN_CLK_UTMI_SHIFT)) & USB_ANALOG_MISC_EN_CLK_UTMI_MASK)
 

MISC_SET - USB Misc Register

#define USB_ANALOG_MISC_SET_HS_USE_EXTERNAL_R_MASK   (0x1U)
 
#define USB_ANALOG_MISC_SET_HS_USE_EXTERNAL_R_SHIFT   (0U)
 
#define USB_ANALOG_MISC_SET_HS_USE_EXTERNAL_R(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_SET_HS_USE_EXTERNAL_R_SHIFT)) & USB_ANALOG_MISC_SET_HS_USE_EXTERNAL_R_MASK)
 
#define USB_ANALOG_MISC_SET_EN_DEGLITCH_MASK   (0x2U)
 
#define USB_ANALOG_MISC_SET_EN_DEGLITCH_SHIFT   (1U)
 
#define USB_ANALOG_MISC_SET_EN_DEGLITCH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_SET_EN_DEGLITCH_SHIFT)) & USB_ANALOG_MISC_SET_EN_DEGLITCH_MASK)
 
#define USB_ANALOG_MISC_SET_EN_CLK_UTMI_MASK   (0x40000000U)
 
#define USB_ANALOG_MISC_SET_EN_CLK_UTMI_SHIFT   (30U)
 
#define USB_ANALOG_MISC_SET_EN_CLK_UTMI(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_SET_EN_CLK_UTMI_SHIFT)) & USB_ANALOG_MISC_SET_EN_CLK_UTMI_MASK)
 

MISC_CLR - USB Misc Register

#define USB_ANALOG_MISC_CLR_HS_USE_EXTERNAL_R_MASK   (0x1U)
 
#define USB_ANALOG_MISC_CLR_HS_USE_EXTERNAL_R_SHIFT   (0U)
 
#define USB_ANALOG_MISC_CLR_HS_USE_EXTERNAL_R(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_CLR_HS_USE_EXTERNAL_R_SHIFT)) & USB_ANALOG_MISC_CLR_HS_USE_EXTERNAL_R_MASK)
 
#define USB_ANALOG_MISC_CLR_EN_DEGLITCH_MASK   (0x2U)
 
#define USB_ANALOG_MISC_CLR_EN_DEGLITCH_SHIFT   (1U)
 
#define USB_ANALOG_MISC_CLR_EN_DEGLITCH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_CLR_EN_DEGLITCH_SHIFT)) & USB_ANALOG_MISC_CLR_EN_DEGLITCH_MASK)
 
#define USB_ANALOG_MISC_CLR_EN_CLK_UTMI_MASK   (0x40000000U)
 
#define USB_ANALOG_MISC_CLR_EN_CLK_UTMI_SHIFT   (30U)
 
#define USB_ANALOG_MISC_CLR_EN_CLK_UTMI(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_CLR_EN_CLK_UTMI_SHIFT)) & USB_ANALOG_MISC_CLR_EN_CLK_UTMI_MASK)
 

MISC_TOG - USB Misc Register

#define USB_ANALOG_MISC_TOG_HS_USE_EXTERNAL_R_MASK   (0x1U)
 
#define USB_ANALOG_MISC_TOG_HS_USE_EXTERNAL_R_SHIFT   (0U)
 
#define USB_ANALOG_MISC_TOG_HS_USE_EXTERNAL_R(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_TOG_HS_USE_EXTERNAL_R_SHIFT)) & USB_ANALOG_MISC_TOG_HS_USE_EXTERNAL_R_MASK)
 
#define USB_ANALOG_MISC_TOG_EN_DEGLITCH_MASK   (0x2U)
 
#define USB_ANALOG_MISC_TOG_EN_DEGLITCH_SHIFT   (1U)
 
#define USB_ANALOG_MISC_TOG_EN_DEGLITCH(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_TOG_EN_DEGLITCH_SHIFT)) & USB_ANALOG_MISC_TOG_EN_DEGLITCH_MASK)
 
#define USB_ANALOG_MISC_TOG_EN_CLK_UTMI_MASK   (0x40000000U)
 
#define USB_ANALOG_MISC_TOG_EN_CLK_UTMI_SHIFT   (30U)
 
#define USB_ANALOG_MISC_TOG_EN_CLK_UTMI(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_MISC_TOG_EN_CLK_UTMI_SHIFT)) & USB_ANALOG_MISC_TOG_EN_CLK_UTMI_MASK)
 

DIGPROG - Chip Silicon Version

#define USB_ANALOG_DIGPROG_SILICON_REVISION_MASK   (0xFFFFFFFFU)
 
#define USB_ANALOG_DIGPROG_SILICON_REVISION_SHIFT   (0U)
 
#define USB_ANALOG_DIGPROG_SILICON_REVISION(x)   (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_DIGPROG_SILICON_REVISION_SHIFT)) & USB_ANALOG_DIGPROG_SILICON_REVISION_MASK)
 

Detailed Description

Macro Definition Documentation

◆ USB_ANALOG_CHRG_DETECT_CHK_CHRG_B

#define USB_ANALOG_CHRG_DETECT_CHK_CHRG_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_CHK_CHRG_B_MASK)

CHK_CHRG_B - Check the charger connection 0b0..Check whether a charger (either a dedicated charger or a host charger) is connected to USB port. 0b1..Do not check whether a charger is connected to the USB port.

◆ USB_ANALOG_CHRG_DETECT_CHK_CONTACT

#define USB_ANALOG_CHRG_DETECT_CHK_CONTACT (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_CHK_CONTACT_MASK)

CHK_CONTACT - Check the contact of USB plug 0b0..Do not check the contact of USB plug. 0b1..Check whether the USB plug has been in contact with each other

◆ USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B

#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_CLR_CHK_CHRG_B_MASK)

CHK_CHRG_B - Check the charger connection 0b0..Check whether a charger (either a dedicated charger or a host charger) is connected to USB port. 0b1..Do not check whether a charger is connected to the USB port.

◆ USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT

#define USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_CLR_CHK_CONTACT_MASK)

CHK_CONTACT - Check the contact of USB plug 0b0..Do not check the contact of USB plug. 0b1..Check whether the USB plug has been in contact with each other

◆ USB_ANALOG_CHRG_DETECT_CLR_EN_B

#define USB_ANALOG_CHRG_DETECT_CLR_EN_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_CLR_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_CLR_EN_B_MASK)

EN_B 0b0..Enable the charger detector. 0b1..Disable the charger detector.

◆ USB_ANALOG_CHRG_DETECT_EN_B

#define USB_ANALOG_CHRG_DETECT_EN_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_EN_B_MASK)

EN_B 0b0..Enable the charger detector. 0b1..Disable the charger detector.

◆ USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B

#define USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_SET_CHK_CHRG_B_MASK)

CHK_CHRG_B - Check the charger connection 0b0..Check whether a charger (either a dedicated charger or a host charger) is connected to USB port. 0b1..Do not check whether a charger is connected to the USB port.

◆ USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT

#define USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_SET_CHK_CONTACT_MASK)

CHK_CONTACT - Check the contact of USB plug 0b0..Do not check the contact of USB plug. 0b1..Check whether the USB plug has been in contact with each other

◆ USB_ANALOG_CHRG_DETECT_SET_EN_B

#define USB_ANALOG_CHRG_DETECT_SET_EN_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_SET_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_SET_EN_B_MASK)

EN_B 0b0..Enable the charger detector. 0b1..Disable the charger detector.

◆ USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED

#define USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED_SHIFT)) & USB_ANALOG_CHRG_DETECT_STAT_CHRG_DETECTED_MASK)

CHRG_DETECTED 0b0..The USB port is not connected to a charger. 0b1..A charger (either a dedicated charger or a host charger) is connected to the USB port.

◆ USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT

#define USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_STAT_PLUG_CONTACT_MASK)

PLUG_CONTACT 0b0..The USB plug has not made contact. 0b1..The USB plug has made good contact.

◆ USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B

#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_TOG_CHK_CHRG_B_MASK)

CHK_CHRG_B - Check the charger connection 0b0..Check whether a charger (either a dedicated charger or a host charger) is connected to USB port. 0b1..Do not check whether a charger is connected to the USB port.

◆ USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT

#define USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT_SHIFT)) & USB_ANALOG_CHRG_DETECT_TOG_CHK_CONTACT_MASK)

CHK_CONTACT - Check the contact of USB plug 0b0..Do not check the contact of USB plug. 0b1..Check whether the USB plug has been in contact with each other

◆ USB_ANALOG_CHRG_DETECT_TOG_EN_B

#define USB_ANALOG_CHRG_DETECT_TOG_EN_B (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_CHRG_DETECT_TOG_EN_B_SHIFT)) & USB_ANALOG_CHRG_DETECT_TOG_EN_B_MASK)

EN_B 0b0..Enable the charger detector. 0b1..Disable the charger detector.

◆ USB_ANALOG_DIGPROG_SILICON_REVISION

#define USB_ANALOG_DIGPROG_SILICON_REVISION (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_DIGPROG_SILICON_REVISION_SHIFT)) & USB_ANALOG_DIGPROG_SILICON_REVISION_MASK)

SILICON_REVISION 0b00000000011010100000000000000001..Silicon revision 1.1

◆ USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH

#define USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_CLR_VBUSVALID_THRESH_MASK)

VBUSVALID_THRESH 0b000..4.0V 0b001..4.1V 0b010..4.2V 0b011..4.3V 0b100..4.4V (default) 0b101..4.5V 0b110..4.6V 0b111..4.7V

◆ USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH

#define USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_SET_VBUSVALID_THRESH_MASK)

VBUSVALID_THRESH 0b000..4.0V 0b001..4.1V 0b010..4.2V 0b011..4.3V 0b100..4.4V (default) 0b101..4.5V 0b110..4.6V 0b111..4.7V

◆ USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH

#define USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_TOG_VBUSVALID_THRESH_MASK)

VBUSVALID_THRESH 0b000..4.0V 0b001..4.1V 0b010..4.2V 0b011..4.3V 0b100..4.4V (default) 0b101..4.5V 0b110..4.6V 0b111..4.7V

◆ USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH

#define USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH (   x)    (((uint32_t)(((uint32_t)(x)) << USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH_SHIFT)) & USB_ANALOG_VBUS_DETECT_VBUSVALID_THRESH_MASK)

VBUSVALID_THRESH 0b000..4.0V 0b001..4.1V 0b010..4.2V 0b011..4.3V 0b100..4.4V (default) 0b101..4.5V 0b110..4.6V 0b111..4.7V