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 const fn dieptxf0(self) -> Reg<Fsiz, RW>
pub const fn dieptxf0(self) -> Reg<Fsiz, RW>
Endpoint 0 transmit FIFO size register (device mode)
Sourcepub const fn hnptxfsiz(self) -> Reg<Fsiz, RW>
pub const fn hnptxfsiz(self) -> Reg<Fsiz, RW>
Non-periodic transmit FIFO size register (host mode)
Sourcepub const fn hnptxsts(self) -> Reg<Hnptxsts, R>
pub const fn hnptxsts(self) -> Reg<Hnptxsts, R>
Non-periodic transmit FIFO/queue status register (host mode)
Sourcepub 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
Sourcepub 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
Sourcepub const fn gccfg_v3(self) -> Reg<GccfgV3, RW>
pub const fn gccfg_v3(self) -> Reg<GccfgV3, RW>
General core configuration register, for core_id 0x0000_5xxx
Sourcepub const fn dieptxf(self, n: usize) -> Reg<Fsiz, RW>
pub const fn dieptxf(self, n: usize) -> Reg<Fsiz, RW>
Device IN endpoint transmit FIFO size register
Sourcepub const fn diepmsk(self) -> Reg<Diepmsk, RW>
pub const fn diepmsk(self) -> Reg<Diepmsk, RW>
Device IN endpoint common interrupt mask register
Sourcepub const fn doepmsk(self) -> Reg<Doepmsk, RW>
pub const fn doepmsk(self) -> Reg<Doepmsk, RW>
Device OUT endpoint common interrupt mask register
Sourcepub const fn dvbuspulse(self) -> Reg<Dvbuspulse, RW>
pub const fn dvbuspulse(self) -> Reg<Dvbuspulse, RW>
Device VBUS pulsing time register
Sourcepub const fn diepempmsk(self) -> Reg<Diepempmsk, RW>
pub const fn diepempmsk(self) -> Reg<Diepempmsk, RW>
Device IN endpoint FIFO empty interrupt mask register
Sourcepub const fn dieptsiz(self, n: usize) -> Reg<Dieptsiz, RW>
pub const fn dieptsiz(self, n: usize) -> Reg<Dieptsiz, RW>
Device IN endpoint transfer size register
Sourcepub 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
Sourcepub const fn doepint(self, n: usize) -> Reg<Doepint, RW>
pub const fn doepint(self, n: usize) -> Reg<Doepint, RW>
Device OUT endpoint interrupt register
Sourcepub const fn doeptsiz(self, n: usize) -> Reg<Doeptsiz, RW>
pub const fn doeptsiz(self, n: usize) -> Reg<Doeptsiz, RW>
Device OUT endpoint transfer size 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
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)
clone_to_uninit
)