pub struct R(_);
Expand description
Register USB1_VBUS_DETECT_SET
reader
Implementations
sourceimpl R
impl R
sourcepub fn vbusvalid_thresh(&self) -> VBUSVALID_THRESH_R
pub fn vbusvalid_thresh(&self) -> VBUSVALID_THRESH_R
Bits 0:2 - Sets the threshold for the VBUSVALID comparator
sourcepub fn vbus_override_en(&self) -> VBUS_OVERRIDE_EN_R
pub fn vbus_override_en(&self) -> VBUS_OVERRIDE_EN_R
Bit 3 - VBUS detect signal override enable
sourcepub fn sessend_override(&self) -> SESSEND_OVERRIDE_R
pub fn sessend_override(&self) -> SESSEND_OVERRIDE_R
Bit 4 - Override value for SESSEND The bit field provides the value for USB1_VBUS_DET_STAT[0] if USB_VBUS_DETECT[3] is set to value 1’b1
sourcepub fn bvalid_override(&self) -> BVALID_OVERRIDE_R
pub fn bvalid_override(&self) -> BVALID_OVERRIDE_R
Bit 5 - Override value for B-Device Session Valid The bit field provides the value for USB1_VBUS_DET_STAT[1] if USB_VBUS_DETECT[3] is set to value 1’b1
sourcepub fn avalid_override(&self) -> AVALID_OVERRIDE_R
pub fn avalid_override(&self) -> AVALID_OVERRIDE_R
Bit 6 - Override value for A-Device Session Valid The bit field provides the value for USB1_VBUS_DET_STAT[2] if USB_VBUS_DETECT[3] is set to value 1’b1
sourcepub fn vbusvalid_override(&self) -> VBUSVALID_OVERRIDE_R
pub fn vbusvalid_override(&self) -> VBUSVALID_OVERRIDE_R
Bit 7 - Override value for VBUS_VALID signal sent to USB controller The bit field provides the value for VBUS_VALID reported to the USB controller if the value of USB1_VBUS_DETECT[3] is set to 1’b1
sourcepub fn vbusvalid_sel(&self) -> VBUSVALID_SEL_R
pub fn vbusvalid_sel(&self) -> VBUSVALID_SEL_R
Bit 8 - Selects the source of the VBUS_VALID signal reported to the USB controller This is one of the bit fields that selects the source of the VBUS_VALID signal reported to the USB controller
sourcepub fn vbus_source_sel(&self) -> VBUS_SOURCE_SEL_R
pub fn vbus_source_sel(&self) -> VBUS_SOURCE_SEL_R
Bits 9:10 - Selects the source of the VBUS_VALID signal reported to the USB controller This is one of the bit fields that selects the source of the VBUS_VALID signal reported to the USB controller
sourcepub fn id_override_en(&self) -> ID_OVERRIDE_EN_R
pub fn id_override_en(&self) -> ID_OVERRIDE_EN_R
Bit 11 - Enable ID override using the register field. This bit is only used if EXT_ID_OVERRIDE_EN = 1’b0.
sourcepub fn id_override(&self) -> ID_OVERRIDE_R
pub fn id_override(&self) -> ID_OVERRIDE_R
Bit 12 - ID override value.
sourcepub fn ext_id_override_en(&self) -> EXT_ID_OVERRIDE_EN_R
pub fn ext_id_override_en(&self) -> EXT_ID_OVERRIDE_EN_R
Bit 13 - Enable ID override using the pinmuxed value:
sourcepub fn ext_vbus_override_en(&self) -> EXT_VBUS_OVERRIDE_EN_R
pub fn ext_vbus_override_en(&self) -> EXT_VBUS_OVERRIDE_EN_R
Bit 14 - Enable VBUS override using the pinmuxed value.
sourcepub fn vbusvalid_to_sessvalid(&self) -> VBUSVALID_TO_SESSVALID_R
pub fn vbusvalid_to_sessvalid(&self) -> VBUSVALID_TO_SESSVALID_R
Bit 18 - Selects the comparator used for VBUS_VALID This bit field controls the comparator used to report the VBUS_VALID results in USB1_VBUS_DETECT[3] between the VBUS_VALID comparator and the Session Valid comparator
sourcepub fn vbusvalid_5vdetect(&self) -> VBUSVALID_5VDETECT_R
pub fn vbusvalid_5vdetect(&self) -> VBUSVALID_5VDETECT_R
Bit 19 - no description available
sourcepub fn pwrup_cmps(&self) -> PWRUP_CMPS_R
pub fn pwrup_cmps(&self) -> PWRUP_CMPS_R
Bits 20:22 - Enables the VBUS_VALID comparator: Powers up the comparator used for the VBUS_VALID detector
sourcepub fn discharge_vbus(&self) -> DISCHARGE_VBUS_R
pub fn discharge_vbus(&self) -> DISCHARGE_VBUS_R
Bit 26 - Controls VBUS discharge resistor This bit field controls a nominal 22kohm resistor between the USB1_VBUS pin and ground
Methods from Deref<Target = R<USB1_VBUS_DETECT_SET_SPEC>>
Trait Implementations
sourceimpl From<R<USB1_VBUS_DETECT_SET_SPEC>> for R
impl From<R<USB1_VBUS_DETECT_SET_SPEC>> for R
sourcefn from(reader: R<USB1_VBUS_DETECT_SET_SPEC>) -> Self
fn from(reader: R<USB1_VBUS_DETECT_SET_SPEC>) -> Self
Performs the conversion.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more