[−]Struct feather_f405::pac::otg_hs_global::RegisterBlock
Register block
Fields
gotgctl: Reg<u32, _GOTGCTL>
0x00 - OTG_HS control and status register
gotgint: Reg<u32, _GOTGINT>
0x04 - OTG_HS interrupt register
gahbcfg: Reg<u32, _GAHBCFG>
0x08 - OTG_HS AHB configuration register
gusbcfg: Reg<u32, _GUSBCFG>
0x0c - OTG_HS USB configuration register
grstctl: Reg<u32, _GRSTCTL>
0x10 - OTG_HS reset register
gintsts: Reg<u32, _GINTSTS>
0x14 - OTG_HS core interrupt register
gintmsk: Reg<u32, _GINTMSK>
0x18 - OTG_HS interrupt mask register
grxfsiz: Reg<u32, _GRXFSIZ>
0x24 - OTG_HS Receive FIFO size register
gnptxsts: Reg<u32, _GNPTXSTS>
0x2c - OTG_HS nonperiodic transmit FIFO/queue status register
gccfg: Reg<u32, _GCCFG>
0x38 - OTG_HS general core configuration register
cid: Reg<u32, _CID>
0x3c - OTG_HS core ID register
hptxfsiz: Reg<u32, _HPTXFSIZ>
0x100 - OTG_HS Host periodic transmit FIFO size register
dieptxf1: Reg<u32, _DIEPTXF>
0x104 - OTG_HS device IN endpoint transmit FIFO size register
dieptxf2: Reg<u32, _DIEPTXF>
0x108 - OTG_HS device IN endpoint transmit FIFO size register
dieptxf3: Reg<u32, _DIEPTXF>
0x10c - OTG_HS device IN endpoint transmit FIFO size register
dieptxf4: Reg<u32, _DIEPTXF>
0x110 - OTG_HS device IN endpoint transmit FIFO size register
dieptxf5: Reg<u32, _DIEPTXF>
0x114 - OTG_HS device IN endpoint transmit FIFO size register
Implementations
impl RegisterBlock
pub fn grxstsr_peripheral(&self) -> &Reg<u32, _GRXSTSR_PERIPHERAL>
0x1c - OTG_HS Receive status debug read register (peripheral mode mode)
pub fn grxstsr_peripheral_mut(&self) -> &mut Reg<u32, _GRXSTSR_PERIPHERAL>
0x1c - OTG_HS Receive status debug read register (peripheral mode mode)
pub fn grxstsr_host(&self) -> &Reg<u32, _GRXSTSR_HOST>
0x1c - OTG_HS Receive status debug read register (host mode)
pub fn grxstsr_host_mut(&self) -> &mut Reg<u32, _GRXSTSR_HOST>
0x1c - OTG_HS Receive status debug read register (host mode)
pub fn grxstsp_peripheral(&self) -> &Reg<u32, _GRXSTSP_PERIPHERAL>
0x20 - OTG_HS status read and pop register (peripheral mode)
pub fn grxstsp_peripheral_mut(&self) -> &mut Reg<u32, _GRXSTSP_PERIPHERAL>
0x20 - OTG_HS status read and pop register (peripheral mode)
pub fn grxstsp_host(&self) -> &Reg<u32, _GRXSTSP_HOST>
0x20 - OTG_HS status read and pop register (host mode)
pub fn grxstsp_host_mut(&self) -> &mut Reg<u32, _GRXSTSP_HOST>
0x20 - OTG_HS status read and pop register (host mode)
pub fn tx0fsiz(&self) -> &Reg<u32, _TX0FSIZ>
0x28 - Endpoint 0 transmit FIFO size (peripheral mode)
pub fn tx0fsiz_mut(&self) -> &mut Reg<u32, _TX0FSIZ>
0x28 - Endpoint 0 transmit FIFO size (peripheral mode)
pub fn gnptxfsiz(&self) -> &Reg<u32, _GNPTXFSIZ>
0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)
pub fn gnptxfsiz_mut(&self) -> &mut Reg<u32, _GNPTXFSIZ>
0x28 - OTG_HS nonperiodic transmit FIFO size register (host mode)
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,