Struct nrf5340_app_pac::usbregulator_ns::usbregstatus::R
source · [−]pub struct R(_);
Expand description
Register USBREGSTATUS
reader
Implementations
sourceimpl R
impl R
sourcepub fn vbusdetect(&self) -> VBUSDETECT_R
pub fn vbusdetect(&self) -> VBUSDETECT_R
Bit 0 - VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information)
sourcepub fn outputrdy(&self) -> OUTPUTRDY_R
pub fn outputrdy(&self) -> OUTPUTRDY_R
Bit 1 - USB supply output settling time elapsed
Methods from Deref<Target = R<USBREGSTATUS_SPEC>>
Trait Implementations
sourceimpl From<R<USBREGSTATUS_SPEC>> for R
impl From<R<USBREGSTATUS_SPEC>> for R
sourcefn from(reader: R<USBREGSTATUS_SPEC>) -> Self
fn from(reader: R<USBREGSTATUS_SPEC>) -> Self
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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