RTEMS 6.1-rc6
|
USB_OTGn_CTRL - USB OTG1 Control Register..USB OTG2 Control Register | |
#define | USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK (0x80U) |
#define | USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT (7U) |
#define | USBNC_USB_OTGn_CTRL_OVER_CUR_DIS(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT)) & USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK) |
#define | USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK (0x100U) |
#define | USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT (8U) |
#define | USBNC_USB_OTGn_CTRL_OVER_CUR_POL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT)) & USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK) |
#define | USBNC_USB_OTGn_CTRL_PWR_POL_MASK (0x200U) |
#define | USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT (9U) |
#define | USBNC_USB_OTGn_CTRL_PWR_POL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT)) & USBNC_USB_OTGn_CTRL_PWR_POL_MASK) |
#define | USBNC_USB_OTGn_CTRL_WIE_MASK (0x400U) |
#define | USBNC_USB_OTGn_CTRL_WIE_SHIFT (10U) |
#define | USBNC_USB_OTGn_CTRL_WIE(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WIE_SHIFT)) & USBNC_USB_OTGn_CTRL_WIE_MASK) |
#define | USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK (0x4000U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT (14U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_SW_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK) |
#define | USBNC_USB_OTGn_CTRL_WKUP_SW_MASK (0x8000U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT (15U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_SW(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_SW_MASK) |
#define | USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK (0x10000U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT (16U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_ID_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK) |
#define | USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK (0x20000U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT (17U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK) |
#define | USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK (0x20000000U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT (29U) |
#define | USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK) |
#define | USBNC_USB_OTGn_CTRL_WIR_MASK (0x80000000U) |
#define | USBNC_USB_OTGn_CTRL_WIR_SHIFT (31U) |
#define | USBNC_USB_OTGn_CTRL_WIR(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WIR_SHIFT)) & USBNC_USB_OTGn_CTRL_WIR_MASK) |
USB_OTGn_PHY_CTRL_0 - OTG1 UTMI PHY Control 0 Register..OTG2 UTMI PHY Control 0 Register | |
#define | USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_MASK (0x80000000U) |
#define | USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_SHIFT (31U) |
#define | USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD(x) (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_SHIFT)) & USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_MASK) |
CTRL1 - USB OTG Control 1 Register | |
#define | USBNC_CTRL1_OVER_CUR_DIS_MASK (0x80U) |
#define | USBNC_CTRL1_OVER_CUR_DIS_SHIFT (7U) |
#define | USBNC_CTRL1_OVER_CUR_DIS(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_DIS_SHIFT)) & USBNC_CTRL1_OVER_CUR_DIS_MASK) |
#define | USBNC_CTRL1_OVER_CUR_POL_MASK (0x100U) |
#define | USBNC_CTRL1_OVER_CUR_POL_SHIFT (8U) |
#define | USBNC_CTRL1_OVER_CUR_POL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_POL_SHIFT)) & USBNC_CTRL1_OVER_CUR_POL_MASK) |
#define | USBNC_CTRL1_PWR_POL_MASK (0x200U) |
#define | USBNC_CTRL1_PWR_POL_SHIFT (9U) |
#define | USBNC_CTRL1_PWR_POL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_PWR_POL_SHIFT)) & USBNC_CTRL1_PWR_POL_MASK) |
#define | USBNC_CTRL1_WIE_MASK (0x400U) |
#define | USBNC_CTRL1_WIE_SHIFT (10U) |
#define | USBNC_CTRL1_WIE(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIE_SHIFT)) & USBNC_CTRL1_WIE_MASK) |
#define | USBNC_CTRL1_WKUP_SW_EN_MASK (0x4000U) |
#define | USBNC_CTRL1_WKUP_SW_EN_SHIFT (14U) |
#define | USBNC_CTRL1_WKUP_SW_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_EN_SHIFT)) & USBNC_CTRL1_WKUP_SW_EN_MASK) |
#define | USBNC_CTRL1_WKUP_SW_MASK (0x8000U) |
#define | USBNC_CTRL1_WKUP_SW_SHIFT (15U) |
#define | USBNC_CTRL1_WKUP_SW(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_SHIFT)) & USBNC_CTRL1_WKUP_SW_MASK) |
#define | USBNC_CTRL1_WKUP_ID_EN_MASK (0x10000U) |
#define | USBNC_CTRL1_WKUP_ID_EN_SHIFT (16U) |
#define | USBNC_CTRL1_WKUP_ID_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_ID_EN_SHIFT)) & USBNC_CTRL1_WKUP_ID_EN_MASK) |
#define | USBNC_CTRL1_WKUP_VBUS_EN_MASK (0x20000U) |
#define | USBNC_CTRL1_WKUP_VBUS_EN_SHIFT (17U) |
#define | USBNC_CTRL1_WKUP_VBUS_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_VBUS_EN_SHIFT)) & USBNC_CTRL1_WKUP_VBUS_EN_MASK) |
#define | USBNC_CTRL1_WKUP_DPDM_EN_MASK (0x20000000U) |
#define | USBNC_CTRL1_WKUP_DPDM_EN_SHIFT (29U) |
#define | USBNC_CTRL1_WKUP_DPDM_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_DPDM_EN_SHIFT)) & USBNC_CTRL1_WKUP_DPDM_EN_MASK) |
#define | USBNC_CTRL1_WIR_MASK (0x80000000U) |
#define | USBNC_CTRL1_WIR_SHIFT (31U) |
#define | USBNC_CTRL1_WIR(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIR_SHIFT)) & USBNC_CTRL1_WIR_MASK) |
CTRL2 - USB OTG Control 2 Register | |
#define | USBNC_CTRL2_VBUS_SOURCE_SEL_MASK (0x3U) |
#define | USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT (0U) |
#define | USBNC_CTRL2_VBUS_SOURCE_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT)) & USBNC_CTRL2_VBUS_SOURCE_SEL_MASK) |
#define | USBNC_CTRL2_AUTURESUME_EN_MASK (0x4U) |
#define | USBNC_CTRL2_AUTURESUME_EN_SHIFT (2U) |
#define | USBNC_CTRL2_AUTURESUME_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_AUTURESUME_EN_SHIFT)) & USBNC_CTRL2_AUTURESUME_EN_MASK) |
#define | USBNC_CTRL2_LOWSPEED_EN_MASK (0x8U) |
#define | USBNC_CTRL2_LOWSPEED_EN_SHIFT (3U) |
#define | USBNC_CTRL2_LOWSPEED_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_LOWSPEED_EN_SHIFT)) & USBNC_CTRL2_LOWSPEED_EN_MASK) |
#define | USBNC_CTRL2_UTMI_CLK_VLD_MASK (0x80000000U) |
#define | USBNC_CTRL2_UTMI_CLK_VLD_SHIFT (31U) |
#define | USBNC_CTRL2_UTMI_CLK_VLD(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_UTMI_CLK_VLD_SHIFT)) & USBNC_CTRL2_UTMI_CLK_VLD_MASK) |
HSIC_CTRL - USB Host HSIC Control Register | |
#define | USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK (0x800U) |
#define | USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT (11U) |
#define | USBNC_HSIC_CTRL_HSIC_CLK_ON(x) (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT)) & USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK) |
#define | USBNC_HSIC_CTRL_HSIC_EN_MASK (0x1000U) |
#define | USBNC_HSIC_CTRL_HSIC_EN_SHIFT (12U) |
#define | USBNC_HSIC_CTRL_HSIC_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_EN_SHIFT)) & USBNC_HSIC_CTRL_HSIC_EN_MASK) |
#define | USBNC_HSIC_CTRL_CLK_VLD_MASK (0x80000000U) |
#define | USBNC_HSIC_CTRL_CLK_VLD_SHIFT (31U) |
#define | USBNC_HSIC_CTRL_CLK_VLD(x) (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_CLK_VLD_SHIFT)) & USBNC_HSIC_CTRL_CLK_VLD_MASK) |
CTRL1 - USB OTG Control 1 Register | |
#define | USBNC_CTRL1_OVER_CUR_DIS_MASK (0x80U) |
#define | USBNC_CTRL1_OVER_CUR_DIS_SHIFT (7U) |
#define | USBNC_CTRL1_OVER_CUR_DIS(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_DIS_SHIFT)) & USBNC_CTRL1_OVER_CUR_DIS_MASK) |
#define | USBNC_CTRL1_OVER_CUR_POL_MASK (0x100U) |
#define | USBNC_CTRL1_OVER_CUR_POL_SHIFT (8U) |
#define | USBNC_CTRL1_OVER_CUR_POL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_POL_SHIFT)) & USBNC_CTRL1_OVER_CUR_POL_MASK) |
#define | USBNC_CTRL1_PWR_POL_MASK (0x200U) |
#define | USBNC_CTRL1_PWR_POL_SHIFT (9U) |
#define | USBNC_CTRL1_PWR_POL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_PWR_POL_SHIFT)) & USBNC_CTRL1_PWR_POL_MASK) |
#define | USBNC_CTRL1_WIE_MASK (0x400U) |
#define | USBNC_CTRL1_WIE_SHIFT (10U) |
#define | USBNC_CTRL1_WIE(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIE_SHIFT)) & USBNC_CTRL1_WIE_MASK) |
#define | USBNC_CTRL1_WKUP_SW_EN_MASK (0x4000U) |
#define | USBNC_CTRL1_WKUP_SW_EN_SHIFT (14U) |
#define | USBNC_CTRL1_WKUP_SW_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_EN_SHIFT)) & USBNC_CTRL1_WKUP_SW_EN_MASK) |
#define | USBNC_CTRL1_WKUP_SW_MASK (0x8000U) |
#define | USBNC_CTRL1_WKUP_SW_SHIFT (15U) |
#define | USBNC_CTRL1_WKUP_SW(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_SHIFT)) & USBNC_CTRL1_WKUP_SW_MASK) |
#define | USBNC_CTRL1_WKUP_ID_EN_MASK (0x10000U) |
#define | USBNC_CTRL1_WKUP_ID_EN_SHIFT (16U) |
#define | USBNC_CTRL1_WKUP_ID_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_ID_EN_SHIFT)) & USBNC_CTRL1_WKUP_ID_EN_MASK) |
#define | USBNC_CTRL1_WKUP_VBUS_EN_MASK (0x20000U) |
#define | USBNC_CTRL1_WKUP_VBUS_EN_SHIFT (17U) |
#define | USBNC_CTRL1_WKUP_VBUS_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_VBUS_EN_SHIFT)) & USBNC_CTRL1_WKUP_VBUS_EN_MASK) |
#define | USBNC_CTRL1_WKUP_DPDM_EN_MASK (0x20000000U) |
#define | USBNC_CTRL1_WKUP_DPDM_EN_SHIFT (29U) |
#define | USBNC_CTRL1_WKUP_DPDM_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_DPDM_EN_SHIFT)) & USBNC_CTRL1_WKUP_DPDM_EN_MASK) |
#define | USBNC_CTRL1_WIR_MASK (0x80000000U) |
#define | USBNC_CTRL1_WIR_SHIFT (31U) |
#define | USBNC_CTRL1_WIR(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIR_SHIFT)) & USBNC_CTRL1_WIR_MASK) |
CTRL2 - USB OTG Control 2 Register | |
#define | USBNC_CTRL2_VBUS_SOURCE_SEL_MASK (0x3U) |
#define | USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT (0U) |
#define | USBNC_CTRL2_VBUS_SOURCE_SEL(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT)) & USBNC_CTRL2_VBUS_SOURCE_SEL_MASK) |
#define | USBNC_CTRL2_AUTURESUME_EN_MASK (0x4U) |
#define | USBNC_CTRL2_AUTURESUME_EN_SHIFT (2U) |
#define | USBNC_CTRL2_AUTURESUME_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_AUTURESUME_EN_SHIFT)) & USBNC_CTRL2_AUTURESUME_EN_MASK) |
#define | USBNC_CTRL2_LOWSPEED_EN_MASK (0x8U) |
#define | USBNC_CTRL2_LOWSPEED_EN_SHIFT (3U) |
#define | USBNC_CTRL2_LOWSPEED_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_LOWSPEED_EN_SHIFT)) & USBNC_CTRL2_LOWSPEED_EN_MASK) |
#define | USBNC_CTRL2_UTMI_CLK_VLD_MASK (0x80000000U) |
#define | USBNC_CTRL2_UTMI_CLK_VLD_SHIFT (31U) |
#define | USBNC_CTRL2_UTMI_CLK_VLD(x) (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_UTMI_CLK_VLD_SHIFT)) & USBNC_CTRL2_UTMI_CLK_VLD_MASK) |
HSIC_CTRL - USB Host HSIC Control Register | |
#define | USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK (0x800U) |
#define | USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT (11U) |
#define | USBNC_HSIC_CTRL_HSIC_CLK_ON(x) (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT)) & USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK) |
#define | USBNC_HSIC_CTRL_HSIC_EN_MASK (0x1000U) |
#define | USBNC_HSIC_CTRL_HSIC_EN_SHIFT (12U) |
#define | USBNC_HSIC_CTRL_HSIC_EN(x) (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_EN_SHIFT)) & USBNC_HSIC_CTRL_HSIC_EN_MASK) |
#define | USBNC_HSIC_CTRL_CLK_VLD_MASK (0x80000000U) |
#define | USBNC_HSIC_CTRL_CLK_VLD_SHIFT (31U) |
#define | USBNC_HSIC_CTRL_CLK_VLD(x) (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_CLK_VLD_SHIFT)) & USBNC_HSIC_CTRL_CLK_VLD_MASK) |
#define USBNC_CTRL1_OVER_CUR_DIS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_DIS_SHIFT)) & USBNC_CTRL1_OVER_CUR_DIS_MASK) |
OVER_CUR_DIS - OVER_CUR_DIS 0b1..Disables overcurrent detection 0b0..Enables overcurrent detection
#define USBNC_CTRL1_OVER_CUR_DIS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_DIS_SHIFT)) & USBNC_CTRL1_OVER_CUR_DIS_MASK) |
OVER_CUR_DIS - OVER_CUR_DIS 0b1..Disables overcurrent detection 0b0..Enables overcurrent detection
#define USBNC_CTRL1_OVER_CUR_POL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_POL_SHIFT)) & USBNC_CTRL1_OVER_CUR_POL_MASK) |
OVER_CUR_POL - OVER_CUR_POL 0b1..Low active (low on this signal represents an overcurrent condition) 0b0..High active (high on this signal represents an overcurrent condition)
#define USBNC_CTRL1_OVER_CUR_POL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_OVER_CUR_POL_SHIFT)) & USBNC_CTRL1_OVER_CUR_POL_MASK) |
OVER_CUR_POL - OVER_CUR_POL 0b1..Low active (low on this signal represents an overcurrent condition) 0b0..High active (high on this signal represents an overcurrent condition)
#define USBNC_CTRL1_PWR_POL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_PWR_POL_SHIFT)) & USBNC_CTRL1_PWR_POL_MASK) |
PWR_POL - PWR_POL 0b1..PMIC Power Pin is High active. 0b0..PMIC Power Pin is Low active.
#define USBNC_CTRL1_PWR_POL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_PWR_POL_SHIFT)) & USBNC_CTRL1_PWR_POL_MASK) |
PWR_POL - PWR_POL 0b1..PMIC Power Pin is High active. 0b0..PMIC Power Pin is Low active.
#define USBNC_CTRL1_WIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIE_SHIFT)) & USBNC_CTRL1_WIE_MASK) |
WIE - WIE 0b1..Interrupt Enabled 0b0..Interrupt Disabled
#define USBNC_CTRL1_WIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIE_SHIFT)) & USBNC_CTRL1_WIE_MASK) |
WIE - WIE 0b1..Interrupt Enabled 0b0..Interrupt Disabled
#define USBNC_CTRL1_WIR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIR_SHIFT)) & USBNC_CTRL1_WIR_MASK) |
WIR - WIR 0b1..Wake-up Interrupt Request received 0b0..No wake-up interrupt request received
#define USBNC_CTRL1_WIR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WIR_SHIFT)) & USBNC_CTRL1_WIR_MASK) |
WIR - WIR 0b1..Wake-up Interrupt Request received 0b0..No wake-up interrupt request received
#define USBNC_CTRL1_WKUP_DPDM_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_DPDM_EN_SHIFT)) & USBNC_CTRL1_WKUP_DPDM_EN_MASK) |
WKUP_DPDM_EN - Wake-up on DPDM change enable 0b1..(Default) DPDM changes wake-up to be enabled, it is for device only. 0b0..DPDM changes wake-up to be disabled only when VBUS is 0.
#define USBNC_CTRL1_WKUP_DPDM_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_DPDM_EN_SHIFT)) & USBNC_CTRL1_WKUP_DPDM_EN_MASK) |
WKUP_DPDM_EN - Wake-up on DPDM change enable 0b1..(Default) DPDM changes wake-up to be enabled, it is for device only. 0b0..DPDM changes wake-up to be disabled only when VBUS is 0.
#define USBNC_CTRL1_WKUP_ID_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_ID_EN_SHIFT)) & USBNC_CTRL1_WKUP_ID_EN_MASK) |
WKUP_ID_EN - WKUP_ID_EN 0b1..Enable 0b0..Disable
#define USBNC_CTRL1_WKUP_ID_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_ID_EN_SHIFT)) & USBNC_CTRL1_WKUP_ID_EN_MASK) |
WKUP_ID_EN - WKUP_ID_EN 0b1..Enable 0b0..Disable
#define USBNC_CTRL1_WKUP_SW | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_SHIFT)) & USBNC_CTRL1_WKUP_SW_MASK) |
WKUP_SW - WKUP_SW 0b1..Force wake-up 0b0..Inactive
#define USBNC_CTRL1_WKUP_SW | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_SHIFT)) & USBNC_CTRL1_WKUP_SW_MASK) |
WKUP_SW - WKUP_SW 0b1..Force wake-up 0b0..Inactive
#define USBNC_CTRL1_WKUP_SW_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_EN_SHIFT)) & USBNC_CTRL1_WKUP_SW_EN_MASK) |
WKUP_SW_EN - WKUP_SW_EN 0b1..Enable 0b0..Disable
#define USBNC_CTRL1_WKUP_SW_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_SW_EN_SHIFT)) & USBNC_CTRL1_WKUP_SW_EN_MASK) |
WKUP_SW_EN - WKUP_SW_EN 0b1..Enable 0b0..Disable
#define USBNC_CTRL1_WKUP_VBUS_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_VBUS_EN_SHIFT)) & USBNC_CTRL1_WKUP_VBUS_EN_MASK) |
WKUP_VBUS_EN - WKUP_VBUS_EN 0b1..Enable 0b0..Disable
#define USBNC_CTRL1_WKUP_VBUS_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL1_WKUP_VBUS_EN_SHIFT)) & USBNC_CTRL1_WKUP_VBUS_EN_MASK) |
WKUP_VBUS_EN - WKUP_VBUS_EN 0b1..Enable 0b0..Disable
#define USBNC_CTRL2_AUTURESUME_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_AUTURESUME_EN_SHIFT)) & USBNC_CTRL2_AUTURESUME_EN_MASK) |
AUTURESUME_EN - Auto Resume Enable 0b0..Default
#define USBNC_CTRL2_AUTURESUME_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_AUTURESUME_EN_SHIFT)) & USBNC_CTRL2_AUTURESUME_EN_MASK) |
AUTURESUME_EN - Auto Resume Enable 0b0..Default
#define USBNC_CTRL2_LOWSPEED_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_LOWSPEED_EN_SHIFT)) & USBNC_CTRL2_LOWSPEED_EN_MASK) |
LOWSPEED_EN - LOWSPEED_EN 0b0..Default
#define USBNC_CTRL2_LOWSPEED_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_LOWSPEED_EN_SHIFT)) & USBNC_CTRL2_LOWSPEED_EN_MASK) |
LOWSPEED_EN - LOWSPEED_EN 0b0..Default
#define USBNC_CTRL2_UTMI_CLK_VLD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_UTMI_CLK_VLD_SHIFT)) & USBNC_CTRL2_UTMI_CLK_VLD_MASK) |
UTMI_CLK_VLD - UTMI_CLK_VLD 0b0..Default
#define USBNC_CTRL2_UTMI_CLK_VLD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_UTMI_CLK_VLD_SHIFT)) & USBNC_CTRL2_UTMI_CLK_VLD_MASK) |
UTMI_CLK_VLD - UTMI_CLK_VLD 0b0..Default
#define USBNC_CTRL2_VBUS_SOURCE_SEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT)) & USBNC_CTRL2_VBUS_SOURCE_SEL_MASK) |
VBUS_SOURCE_SEL - VBUS_SOURCE_SEL 0b00..vbus_valid 0b01..sess_valid 0b10..sess_valid 0b11..sess_valid
#define USBNC_CTRL2_VBUS_SOURCE_SEL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_CTRL2_VBUS_SOURCE_SEL_SHIFT)) & USBNC_CTRL2_VBUS_SOURCE_SEL_MASK) |
VBUS_SOURCE_SEL - VBUS_SOURCE_SEL 0b00..vbus_valid 0b01..sess_valid 0b10..sess_valid 0b11..sess_valid
#define USBNC_HSIC_CTRL_CLK_VLD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_CLK_VLD_SHIFT)) & USBNC_HSIC_CTRL_CLK_VLD_MASK) |
CLK_VLD - CLK_VLD 0b1..Valid 0b0..Invalid
#define USBNC_HSIC_CTRL_CLK_VLD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_CLK_VLD_SHIFT)) & USBNC_HSIC_CTRL_CLK_VLD_MASK) |
CLK_VLD - CLK_VLD 0b1..Valid 0b0..Invalid
#define USBNC_HSIC_CTRL_HSIC_CLK_ON | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT)) & USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK) |
HSIC_CLK_ON - HSIC_CLK_ON 0b1..Active 0b0..Inactive
#define USBNC_HSIC_CTRL_HSIC_CLK_ON | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_CLK_ON_SHIFT)) & USBNC_HSIC_CTRL_HSIC_CLK_ON_MASK) |
HSIC_CLK_ON - HSIC_CLK_ON 0b1..Active 0b0..Inactive
#define USBNC_HSIC_CTRL_HSIC_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_EN_SHIFT)) & USBNC_HSIC_CTRL_HSIC_EN_MASK) |
HSIC_EN - HSIC_EN 0b1..Enabled 0b0..Disabled
#define USBNC_HSIC_CTRL_HSIC_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_HSIC_CTRL_HSIC_EN_SHIFT)) & USBNC_HSIC_CTRL_HSIC_EN_MASK) |
HSIC_EN - HSIC_EN 0b1..Enabled 0b0..Disabled
#define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT)) & USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK) |
OVER_CUR_DIS 0b1..Disables overcurrent detection 0b0..Enables overcurrent detection
#define USBNC_USB_OTGn_CTRL_OVER_CUR_POL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT)) & USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK) |
OVER_CUR_POL 0b1..Low active (low on this signal represents an overcurrent condition) 0b0..High active (high on this signal represents an overcurrent condition)
#define USBNC_USB_OTGn_CTRL_PWR_POL | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT)) & USBNC_USB_OTGn_CTRL_PWR_POL_MASK) |
PWR_POL 0b1..PMIC Power Pin is High active. 0b0..PMIC Power Pin is Low active.
#define USBNC_USB_OTGn_CTRL_WIE | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WIE_SHIFT)) & USBNC_USB_OTGn_CTRL_WIE_MASK) |
WIE 0b1..Interrupt Enabled 0b0..Interrupt Disabled
#define USBNC_USB_OTGn_CTRL_WIR | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WIR_SHIFT)) & USBNC_USB_OTGn_CTRL_WIR_MASK) |
WIR 0b1..Wake-up Interrupt Request received 0b0..No wake-up interrupt request received
#define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK) |
WKUP_DPDM_EN 0b1..(Default) DPDM changes wake-up to be enabled, it is for device only. 0b0..DPDM changes wake-up to be disabled only when VBUS is 0.
#define USBNC_USB_OTGn_CTRL_WKUP_ID_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK) |
WKUP_ID_EN 0b1..Enable 0b0..Disable
#define USBNC_USB_OTGn_CTRL_WKUP_SW | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_SW_MASK) |
WKUP_SW 0b1..Force wake-up 0b0..Inactive
#define USBNC_USB_OTGn_CTRL_WKUP_SW_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK) |
WKUP_SW_EN 0b1..Enable 0b0..Disable
#define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT)) & USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK) |
WKUP_VBUS_EN 0b1..Enable 0b0..Disable
#define USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD | ( | x | ) | (((uint32_t)(((uint32_t)(x)) << USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_SHIFT)) & USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_MASK) |
UTMI_CLK_VLD 0b1..Valid 0b0..Invalid