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

type W = W<u32, USB_OTG1_CTRL>;

Writer for register USB_OTG1_CTRL

Methods

impl W[src]

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

Bit 7 - Disable OTG1 Overcurrent Detection

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

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

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

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

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

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

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

Bit 14 - OTG1 Software Wake-up Enable

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

Bit 15 - OTG1 Software Wake-up

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

Bit 16 - OTG1 Wake-up on ID change enable

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

Bit 17 - OTG1 wake-up on VBUS change enable

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

Bit 29 - Wake-up on DPDM change enable