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

type R = R<u32, USB2_CHRG_DETECT_TOG>;

Reader of register USB2_CHRG_DETECT_TOG

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.