#[repr(C)]pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn hcfg(&self) -> &Reg<HCFGrs>
pub const fn hcfg(&self) -> &Reg<HCFGrs>
0x00 - OTG_FS host configuration register (OTG_FS_HCFG)
Sourcepub const fn hfnum(&self) -> &Reg<HFNUMrs>
pub const fn hfnum(&self) -> &Reg<HFNUMrs>
0x08 - OTG_FS host frame number/frame time remaining register (OTG_FS_HFNUM)
Sourcepub const fn hptxsts(&self) -> &Reg<HPTXSTSrs>
pub const fn hptxsts(&self) -> &Reg<HPTXSTSrs>
0x10 - OTG_FS_Host periodic transmit FIFO/queue status register (OTG_FS_HPTXSTS)
Sourcepub const fn haintmsk(&self) -> &Reg<HAINTMSKrs>
pub const fn haintmsk(&self) -> &Reg<HAINTMSKrs>
0x18 - OTG_FS host all channels interrupt mask register
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for RegisterBlock
impl !RefUnwindSafe for RegisterBlock
impl Send for RegisterBlock
impl !Sync for RegisterBlock
impl Unpin for RegisterBlock
impl UnwindSafe for RegisterBlock
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