pub type VBUSDETECT_R = BitReader<VBUSDETECT_A>;
Expand description
Field VBUSDETECT
reader - VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information)
Aliased Type§
struct VBUSDETECT_R { /* private fields */ }
Implementations§
Source§impl VBUSDETECT_R
impl VBUSDETECT_R
Sourcepub fn variant(&self) -> VBUSDETECT_A
pub fn variant(&self) -> VBUSDETECT_A
Get enumerated values variant
Sourcepub fn is_no_vbus(&self) -> bool
pub fn is_no_vbus(&self) -> bool
Checks if the value of the field is NO_VBUS
Sourcepub fn is_vbus_present(&self) -> bool
pub fn is_vbus_present(&self) -> bool
Checks if the value of the field is VBUS_PRESENT