Struct nrf52840_pac::power::usbregstatus::R
source · pub struct R(/* private fields */);
Expand description
Register USBREGSTATUS
reader
Implementations§
source§impl 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§
Auto Trait Implementations§
impl Freeze for R
impl RefUnwindSafe for R
impl Send for R
impl Sync for R
impl Unpin for R
impl UnwindSafe for R
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more