Struct Usbhs
pub struct Usbhs { /* private fields */ }Expand description
USBHS 0.
Implementations§
§impl Usbhs
impl Usbhs
pub const unsafe fn from_ptr(ptr: *mut ()) -> Usbhs
pub const fn as_ptr(&self) -> *mut ()
pub const fn tasks_start(self) -> Reg<u32, W>
pub const fn tasks_start(self) -> Reg<u32, W>
Start the USB peripheral.
pub const fn tasks_stop(self) -> Reg<u32, W>
pub const fn tasks_stop(self) -> Reg<u32, W>
Stop the USB peripheral.
pub const fn publish_sof(self) -> Reg<Publish, RW>
pub const fn publish_sof(self) -> Reg<Publish, RW>
Publish configuration for SOF event.
Trait Implementations§
impl Copy for Usbhs
impl Eq for Usbhs
impl Send for Usbhs
impl StructuralPartialEq for Usbhs
impl Sync for Usbhs
Auto Trait Implementations§
impl Freeze for Usbhs
impl RefUnwindSafe for Usbhs
impl Unpin for Usbhs
impl UnsafeUnpin for Usbhs
impl UnwindSafe for Usbhs
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