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

type W = W<u32, USB1_VBUS_DETECT_CLR>;

Writer for register USB1_VBUS_DETECT_CLR

Methods

impl W[src]

pub fn vbusvalid_thresh(&mut self) -> VBUSVALID_THRESH_W[src]

Bits 0:2 - Set the threshold for the VBUSVALID comparator

pub fn vbusvalid_pwrup_cmps(&mut self) -> VBUSVALID_PWRUP_CMPS_W[src]

Bit 20 - Powers up comparators for vbus_valid detector.

pub fn discharge_vbus(&mut self) -> DISCHARGE_VBUS_W[src]

Bit 26 - USB OTG discharge VBUS.

pub fn charge_vbus(&mut self) -> CHARGE_VBUS_W[src]

Bit 27 - USB OTG charge VBUS.