Collaboration diagram for USBNC Register Masks:

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)
 

Detailed Description

Macro Definition Documentation

◆ USBNC_USB_OTGn_CTRL_OVER_CUR_DIS

#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

Definition at line 40571 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK

#define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK   (0x80U)

Definition at line 40565 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT

#define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT   (7U)

Definition at line 40566 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_OVER_CUR_POL

#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)

Definition at line 40578 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK

#define USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK   (0x100U)

Definition at line 40572 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT

#define USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT   (8U)

Definition at line 40573 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_PWR_POL

#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.

Definition at line 40585 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_PWR_POL_MASK

#define USBNC_USB_OTGn_CTRL_PWR_POL_MASK   (0x200U)

Definition at line 40579 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT

#define USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT   (9U)

Definition at line 40580 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WIE

#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

Definition at line 40592 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WIE_MASK

#define USBNC_USB_OTGn_CTRL_WIE_MASK   (0x400U)

Definition at line 40586 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WIE_SHIFT

#define USBNC_USB_OTGn_CTRL_WIE_SHIFT   (10U)

Definition at line 40587 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WIR

#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

Definition at line 40634 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WIR_MASK

#define USBNC_USB_OTGn_CTRL_WIR_MASK   (0x80000000U)

Definition at line 40628 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WIR_SHIFT

#define USBNC_USB_OTGn_CTRL_WIR_SHIFT   (31U)

Definition at line 40629 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN

#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.

Definition at line 40627 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK   (0x20000000U)

Definition at line 40621 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT   (29U)

Definition at line 40622 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_ID_EN

#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

Definition at line 40613 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK   (0x10000U)

Definition at line 40607 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT   (16U)

Definition at line 40608 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_SW

#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

Definition at line 40606 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_SW_EN

#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

Definition at line 40599 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK   (0x4000U)

Definition at line 40593 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT   (14U)

Definition at line 40594 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_SW_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_SW_MASK   (0x8000U)

Definition at line 40600 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT   (15U)

Definition at line 40601 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN

#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

Definition at line 40620 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK   (0x20000U)

Definition at line 40614 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT   (17U)

Definition at line 40615 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD

#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

Definition at line 40645 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_MASK

#define USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_MASK   (0x80000000U)

Definition at line 40639 of file MIMXRT1052.h.

◆ USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_SHIFT

#define USBNC_USB_OTGn_PHY_CTRL_0_UTMI_CLK_VLD_SHIFT   (31U)

Definition at line 40640 of file MIMXRT1052.h.



picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:15:11