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