[][src]Type Definition imxrt1062_usb_analog::usb1_chrg_detect_set::R

type R = R<u32, USB1_CHRG_DETECT_SET>;

Reader of register USB1_CHRG_DETECT_SET

Methods

impl R[src]

pub fn chk_contact(&self) -> CHK_CONTACT_R[src]

Bit 18 - Check the contact of USB plug

pub fn chk_chrg_b(&self) -> CHK_CHRG_B_R[src]

Bit 19 - Check the charger connection

pub fn en_b(&self) -> EN_B_R[src]

Bit 20 - Control the charger detector.