[−][src]Type Definition imxrt1062_usb_analog::usb2_chrg_detect_stat::R
type R = R<u32, USB2_CHRG_DETECT_STAT>;
Reader of register USB2_CHRG_DETECT_STAT
Methods
impl R
[src]
pub fn plug_contact(&self) -> PLUG_CONTACT_R
[src]
Bit 0 - State of the USB plug contact detector.
pub fn chrg_detected(&self) -> CHRG_DETECTED_R
[src]
Bit 1 - State of charger detection. This bit is a read only version of the state of the analog signal.
pub fn dm_state(&self) -> DM_STATE_R
[src]
Bit 2 - DM line state output of the charger detector.
pub fn dp_state(&self) -> DP_STATE_R
[src]
Bit 3 - DP line state output of the charger detector.