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

type R = R<u32, USB1_VBUS_DETECT_SET>;

Reader of register USB1_VBUS_DETECT_SET

Methods

impl R[src]

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

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

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

Bit 20 - Powers up comparators for vbus_valid detector.

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

Bit 26 - USB OTG discharge VBUS.

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

Bit 27 - USB OTG charge VBUS.