Struct nrf52840_hal::target::power::usbregstatus::R
source · pub struct R { /* private fields */ }
Expand description
Value read from the register
Implementations
sourceimpl R
impl R
sourcepub fn vbusdetect(&self) -> VBUSDETECTR
pub fn vbusdetect(&self) -> VBUSDETECTR
Bit 0 - VBUS input detection status (USBDETECTED and USBREMOVED events are derived from this information)
sourcepub fn outputrdy(&self) -> OUTPUTRDYR
pub fn outputrdy(&self) -> OUTPUTRDYR
Bit 1 - USB supply output settling time elapsed
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