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

type R = R<u32, USB2_VBUS_DETECT_TOG>;

Reader of register USB2_VBUS_DETECT_TOG

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.