pub struct Usbreg { /* private fields */ }
Expand description
USB Regulator 0
Implementations§
Source§impl Usbreg
impl Usbreg
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn events_usbdetected(self) -> Reg<u32, RW>
pub const fn events_usbdetected(self) -> Reg<u32, RW>
Voltage supply detected on VBUS
Sourcepub const fn events_usbremoved(self) -> Reg<u32, RW>
pub const fn events_usbremoved(self) -> Reg<u32, RW>
Voltage supply removed from VBUS
Sourcepub const fn events_usbpwrrdy(self) -> Reg<u32, RW>
pub const fn events_usbpwrrdy(self) -> Reg<u32, RW>
USB 3.3 V supply ready
Sourcepub const fn publish_usbdetected(self) -> Reg<Publish, RW>
pub const fn publish_usbdetected(self) -> Reg<Publish, RW>
Publish configuration for event USBDETECTED
Sourcepub const fn publish_usbremoved(self) -> Reg<Publish, RW>
pub const fn publish_usbremoved(self) -> Reg<Publish, RW>
Publish configuration for event USBREMOVED
Sourcepub const fn publish_usbpwrrdy(self) -> Reg<Publish, RW>
pub const fn publish_usbpwrrdy(self) -> Reg<Publish, RW>
Publish configuration for event USBPWRRDY
Sourcepub const fn usbregstatus(self) -> Reg<Usbregstatus, R>
pub const fn usbregstatus(self) -> Reg<Usbregstatus, R>
USB supply status
Trait Implementations§
impl Copy for Usbreg
impl Eq for Usbreg
impl Send for Usbreg
impl StructuralPartialEq for Usbreg
impl Sync for Usbreg
Auto Trait Implementations§
impl Freeze for Usbreg
impl RefUnwindSafe for Usbreg
impl Unpin for Usbreg
impl UnwindSafe for Usbreg
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)