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

type R = R<u32, OTGSC>;

Reader of register OTGSC

Methods

impl R[src]

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

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

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

Bit 1 - VBUS Charge - Read/Write

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

Bit 3 - OTG Termination - Read/Write

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

Bit 4 - Data Pulsing - Read/Write

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

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

pub fn id(&self) -> ID_R[src]

Bit 8 - USB ID - Read Only. 0 = A device, 1 = B device

pub fn avv(&self) -> AVV_R[src]

Bit 9 - A VBus Valid - Read Only. Indicates VBus is above the A VBus valid threshold.

pub fn asv(&self) -> ASV_R[src]

Bit 10 - A Session Valid - Read Only. Indicates VBus is above the A session valid threshold.

pub fn bsv(&self) -> BSV_R[src]

Bit 11 - B Session Valid - Read Only. Indicates VBus is above the B session valid threshold.

pub fn bse(&self) -> BSE_R[src]

Bit 12 - B Session End - Read Only. Indicates VBus is below the B session end threshold.

pub fn tog_1ms(&self) -> TOG_1MS_R[src]

Bit 13 - 1 millisecond timer toggle - Read Only. This bit toggles once per millisecond.

pub fn dps(&self) -> DPS_R[src]

Bit 14 - Data Bus Pulsing Status - Read Only

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

Bit 16 - USB ID Interrupt Status - Read/Write

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Bit 30 - Data Pulse Interrupt Enable