Struct stm32_metapac::otg::Otg
pub struct Otg { /* private fields */ }
Expand description
USB on the go
Implementations§
§impl Otg
impl Otg
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
pub const fn hnptxsts(self) -> Reg<Hnptxsts, R>
pub const fn hnptxsts(self) -> Reg<Hnptxsts, R>
Non-periodic transmit FIFO/queue status register (host mode)
pub const fn gccfg_v1(self) -> Reg<GccfgV1, RW>
pub const fn gccfg_v1(self) -> Reg<GccfgV1, RW>
General core configuration register, for core_id 0x0000_1xxx
pub const fn gccfg_v2(self) -> Reg<GccfgV2, RW>
pub const fn gccfg_v2(self) -> Reg<GccfgV2, RW>
General core configuration register, for core_id 0x0000_[23]xxx
pub const fn dvbuspulse(self) -> Reg<Dvbuspulse, RW>
pub const fn dvbuspulse(self) -> Reg<Dvbuspulse, RW>
Device VBUS pulsing time register
pub const fn diepempmsk(self) -> Reg<Diepempmsk, RW>
pub const fn diepempmsk(self) -> Reg<Diepempmsk, RW>
Device IN endpoint FIFO empty interrupt mask register
pub const fn dtxfsts(self, n: usize) -> Reg<Dtxfsts, R>
pub const fn dtxfsts(self, n: usize) -> Reg<Dtxfsts, R>
Device IN endpoint transmit FIFO status register
Trait Implementations§
impl Copy for Otg
impl Eq for Otg
impl Send for Otg
impl StructuralEq for Otg
impl StructuralPartialEq for Otg
impl Sync for Otg
Auto Trait Implementations§
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