[][src]Type Definition mk66f18::usbphy::usb1_vbus_detect_tog::R

type R = R<u32, USB1_VBUS_DETECT_TOG>;

Reader of register USB1_VBUS_DETECT_TOG

Methods

impl R[src]

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

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

pub fn vbus_override_en(&self) -> VBUS_OVERRIDE_EN_R[src]

Bit 3 - VBUS detect signal override enable

pub fn sessend_override(&self) -> SESSEND_OVERRIDE_R[src]

Bit 4 - Override value for SESSEND

pub fn bvalid_override(&self) -> BVALID_OVERRIDE_R[src]

Bit 5 - Override value for B-Device Session Valid

pub fn avalid_override(&self) -> AVALID_OVERRIDE_R[src]

Bit 6 - Override value for A-Device Session Valid

pub fn vbusvalid_override(&self) -> VBUSVALID_OVERRIDE_R[src]

Bit 7 - Override value for VBUS_VALID signal sent to USB controller

pub fn vbusvalid_sel(&self) -> VBUSVALID_SEL_R[src]

Bit 8 - Selects the source of the VBUS_VALID signal reported to the USB controller

pub fn vbus_source_sel(&self) -> VBUS_SOURCE_SEL_R[src]

Bits 9:10 - Selects the source of the VBUS_VALID signal reported to the USB controller

pub fn vbusvalid_to_sessvalid(&self) -> VBUSVALID_TO_SESSVALID_R[src]

Bit 18 - Selects the comparator used for VBUS_VALID

pub fn pwrup_cmps(&self) -> PWRUP_CMPS_R[src]

Bit 20 - Enables the VBUS_VALID comparator

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

Bit 26 - Controls VBUS discharge resistor

pub fn en_charger_resistor(&self) -> EN_CHARGER_RESISTOR_R[src]

Bit 31 - Enables resistors used for an older method of resistive battery charger detection