Callisto4Bootloader: USBNC Register Masks

Callisto4Bootloader

USBNC Register Masks
Mapping Information » Edma_request » Iomuxc_pads » Device Peripheral Access Layer » USBNC Peripheral Access Layer

## 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 42956 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK

#define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_MASK (0x80U)

Definition at line 42950 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT

#define USBNC_USB_OTGn_CTRL_OVER_CUR_DIS_SHIFT (7U)

Definition at line 42951 of file MIMXRT1062.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 42963 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK

#define USBNC_USB_OTGn_CTRL_OVER_CUR_POL_MASK (0x100U)

Definition at line 42957 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT

#define USBNC_USB_OTGn_CTRL_OVER_CUR_POL_SHIFT (8U)

Definition at line 42958 of file MIMXRT1062.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 42970 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_PWR_POL_MASK

#define USBNC_USB_OTGn_CTRL_PWR_POL_MASK (0x200U)

Definition at line 42964 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT

#define USBNC_USB_OTGn_CTRL_PWR_POL_SHIFT (9U)

Definition at line 42965 of file MIMXRT1062.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 42977 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WIE_MASK

#define USBNC_USB_OTGn_CTRL_WIE_MASK (0x400U)

Definition at line 42971 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WIE_SHIFT

#define USBNC_USB_OTGn_CTRL_WIE_SHIFT (10U)

Definition at line 42972 of file MIMXRT1062.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 43019 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WIR_MASK

#define USBNC_USB_OTGn_CTRL_WIR_MASK (0x80000000U)

Definition at line 43013 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WIR_SHIFT

#define USBNC_USB_OTGn_CTRL_WIR_SHIFT (31U)

Definition at line 43014 of file MIMXRT1062.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 43012 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_MASK (0x20000000U)

Definition at line 43006 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_DPDM_EN_SHIFT (29U)

Definition at line 43007 of file MIMXRT1062.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 42998 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_ID_EN_MASK (0x10000U)

Definition at line 42992 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_ID_EN_SHIFT (16U)

Definition at line 42993 of file MIMXRT1062.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 42991 of file MIMXRT1062.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 42984 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_SW_EN_MASK (0x4000U)

Definition at line 42978 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_SW_EN_SHIFT (14U)

Definition at line 42979 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_SW_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_SW_MASK (0x8000U)

Definition at line 42985 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_SW_SHIFT (15U)

Definition at line 42986 of file MIMXRT1062.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 43005 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK

#define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_MASK (0x20000U)

Definition at line 42999 of file MIMXRT1062.h.

## ◆ USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT

#define USBNC_USB_OTGn_CTRL_WKUP_VBUS_EN_SHIFT (17U)

Definition at line 43000 of file MIMXRT1062.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 43030 of file MIMXRT1062.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 43024 of file MIMXRT1062.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 43025 of file MIMXRT1062.h.