Struct stm32_metapac::otg::Otg
pub struct Otg { /* private fields */ }
Expand description
USB OTG core by Synopsys (more docs at https://www.intel.com/content/www/us/en/programmable/hps/agilex5/index_frames.html)
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 gccfg_v3(self) -> Reg<GccfgV3, RW>
pub const fn gccfg_v3(self) -> Reg<GccfgV3, RW>
General core configuration register, for core_id 0x0000_5xxx
pub const fn hcdma(self, n: usize) -> Reg<Hcdma, RW>
pub const fn hcdma(self, n: usize) -> Reg<Hcdma, RW>
Host channel DMA address register (config for scatter/gather)
pub const fn hcdmab(self, n: usize) -> Reg<u32, RW>
pub const fn hcdmab(self, n: usize) -> Reg<u32, RW>
Host channel DMA address register (address for current transfer; debug)
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 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
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
)