Struct nrf52833_hal::pac::power::usbregstatus::VBUSDETECT_R [−][src]
pub struct VBUSDETECT_R(_);
Expand description
Field VBUSDETECT
reader - VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information)
Implementations
Get enumerated values variant
Checks if the value of the field is NOVBUS
Checks if the value of the field is VBUSPRESENT
Methods from Deref<Target = FieldReader<bool, VBUSDETECT_A>>
Returns true
if the bit is clear (0).
Returns true
if the bit is set (1).
Trait Implementations
type Target = FieldReader<bool, VBUSDETECT_A>
type Target = FieldReader<bool, VBUSDETECT_A>
The resulting type after dereferencing.
Dereferences the value.
Auto Trait Implementations
impl RefUnwindSafe for VBUSDETECT_R
impl Send for VBUSDETECT_R
impl Sync for VBUSDETECT_R
impl Unpin for VBUSDETECT_R
impl UnwindSafe for VBUSDETECT_R
Blanket Implementations
Mutably borrows from an owned value. Read more
Casts the value.
Performs the conversion.
Performs the conversion.
Casts the value.
Casts the value.
Casts the value.
Casts the value.