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

type W = W<u32, USB1_CHRG_DETECT_SET>;

Writer for register USB1_CHRG_DETECT_SET

Methods

impl W[src]

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

Bit 18 - Check the contact of USB plug

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

Bit 19 - Check the charger connection

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

Bit 20 - Control the charger detector.