[][src]Type Definition imxrt1062_usb1::otgsc::W

type W = W<u32, OTGSC>;

Writer for register OTGSC

Methods

impl W[src]

pub fn vd(&mut self) -> VD_W[src]

Bit 0 - VBUS_Discharge - Read/Write. Setting this bit causes VBus to discharge through a resistor.

pub fn vc(&mut self) -> VC_W[src]

Bit 1 - VBUS Charge - Read/Write

pub fn ot(&mut self) -> OT_W[src]

Bit 3 - OTG Termination - Read/Write

pub fn dp(&mut self) -> DP_W[src]

Bit 4 - Data Pulsing - Read/Write

pub fn idpu(&mut self) -> IDPU_W[src]

Bit 5 - ID Pullup - Read/Write This bit provide control over the ID pull-up resistor; 0 = off, 1 = on [default]

pub fn idis(&mut self) -> IDIS_W[src]

Bit 16 - USB ID Interrupt Status - Read/Write

pub fn avvis(&mut self) -> AVVIS_W[src]

Bit 17 - A VBus Valid Interrupt Status - Read/Write to Clear

pub fn asvis(&mut self) -> ASVIS_W[src]

Bit 18 - A Session Valid Interrupt Status - Read/Write to Clear

pub fn bsvis(&mut self) -> BSVIS_W[src]

Bit 19 - B Session Valid Interrupt Status - Read/Write to Clear

pub fn bseis(&mut self) -> BSEIS_W[src]

Bit 20 - B Session End Interrupt Status - Read/Write to Clear

pub fn status_1ms(&mut self) -> STATUS_1MS_W[src]

Bit 21 - 1 millisecond timer Interrupt Status - Read/Write to Clear

pub fn dpis(&mut self) -> DPIS_W[src]

Bit 22 - Data Pulse Interrupt Status - Read/Write to Clear

pub fn idie(&mut self) -> IDIE_W[src]

Bit 24 - USB ID Interrupt Enable - Read/Write. Setting this bit enables the USB ID interrupt.

pub fn avvie(&mut self) -> AVVIE_W[src]

Bit 25 - A VBus Valid Interrupt Enable - Read/Write. Setting this bit enables the A VBus valid interrupt.

pub fn asvie(&mut self) -> ASVIE_W[src]

Bit 26 - A Session Valid Interrupt Enable - Read/Write

pub fn bsvie(&mut self) -> BSVIE_W[src]

Bit 27 - B Session Valid Interrupt Enable - Read/Write

pub fn bseie(&mut self) -> BSEIE_W[src]

Bit 28 - B Session End Interrupt Enable - Read/Write. Setting this bit enables the B session end interrupt.

pub fn en_1ms(&mut self) -> EN_1MS_W[src]

Bit 29 - 1 millisecond timer Interrupt Enable - Read/Write

pub fn dpie(&mut self) -> DPIE_W[src]

Bit 30 - Data Pulse Interrupt Enable