[][src]Type Definition imxrt1062_usbnc1::usb_otg1_ctrl::R

type R = R<u32, USB_OTG1_CTRL>;

Reader of register USB_OTG1_CTRL

Methods

impl R[src]

pub fn over_cur_dis(&self) -> OVER_CUR_DIS_R[src]

Bit 7 - Disable OTG1 Overcurrent Detection

pub fn over_cur_pol(&self) -> OVER_CUR_POL_R[src]

Bit 8 - OTG1 Polarity of Overcurrent The polarity of OTG1 port overcurrent event

pub fn pwr_pol(&self) -> PWR_POL_R[src]

Bit 9 - OTG1 Power Polarity This bit should be set according to PMIC Power Pin polarity.

pub fn wie(&self) -> WIE_R[src]

Bit 10 - OTG1 Wake-up Interrupt Enable This bit enables or disables the OTG1 wake-up interrupt

pub fn wkup_sw_en(&self) -> WKUP_SW_EN_R[src]

Bit 14 - OTG1 Software Wake-up Enable

pub fn wkup_sw(&self) -> WKUP_SW_R[src]

Bit 15 - OTG1 Software Wake-up

pub fn wkup_id_en(&self) -> WKUP_ID_EN_R[src]

Bit 16 - OTG1 Wake-up on ID change enable

pub fn wkup_vbus_en(&self) -> WKUP_VBUS_EN_R[src]

Bit 17 - OTG1 wake-up on VBUS change enable

pub fn wkup_dpdm_en(&self) -> WKUP_DPDM_EN_R[src]

Bit 29 - Wake-up on DPDM change enable

pub fn wir(&self) -> WIR_R[src]

Bit 31 - OTG1 Wake-up Interrupt Request This bit indicates that a wake-up interrupt request is received on the OTG1 port