pub struct Vregusb { /* private fields */ }Expand description
VREGUSB peripheral 0
Implementations§
Source§impl Vregusb
impl Vregusb
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_start(self) -> Reg<u32, W>
pub const fn tasks_start(self) -> Reg<u32, W>
Enable and start VREGUSB so that it can detect VBUS
Sourcepub const fn tasks_stop(self) -> Reg<u32, W>
pub const fn tasks_stop(self) -> Reg<u32, W>
Stop and disable VREGUSB
Sourcepub const fn events_vbusdetected(self) -> Reg<u32, RW>
pub const fn events_vbusdetected(self) -> Reg<u32, RW>
VBUS detected
Sourcepub const fn events_vbusremoved(self) -> Reg<u32, RW>
pub const fn events_vbusremoved(self) -> Reg<u32, RW>
VBUS removed
Trait Implementations§
impl Copy for Vregusb
impl Eq for Vregusb
impl Send for Vregusb
impl StructuralPartialEq for Vregusb
impl Sync for Vregusb
Auto Trait Implementations§
impl Freeze for Vregusb
impl RefUnwindSafe for Vregusb
impl Unpin for Vregusb
impl UnwindSafe for Vregusb
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)