[−]Struct feather_f405::pac::otg_fs_global::RegisterBlock
Register block
Fields
gotgctl: Reg<u32, _GOTGCTL>
0x00 - OTG_FS control and status register (OTG_FS_GOTGCTL)
gotgint: Reg<u32, _GOTGINT>
0x04 - OTG_FS interrupt register (OTG_FS_GOTGINT)
gahbcfg: Reg<u32, _GAHBCFG>
0x08 - OTG_FS AHB configuration register (OTG_FS_GAHBCFG)
gusbcfg: Reg<u32, _GUSBCFG>
0x0c - OTG_FS USB configuration register (OTG_FS_GUSBCFG)
grstctl: Reg<u32, _GRSTCTL>
0x10 - OTG_FS reset register (OTG_FS_GRSTCTL)
gintsts: Reg<u32, _GINTSTS>
0x14 - OTG_FS core interrupt register (OTG_FS_GINTSTS)
gintmsk: Reg<u32, _GINTMSK>
0x18 - OTG_FS interrupt mask register (OTG_FS_GINTMSK)
grxfsiz: Reg<u32, _GRXFSIZ>
0x24 - OTG_FS Receive FIFO size register (OTG_FS_GRXFSIZ)
gnptxsts: Reg<u32, _GNPTXSTS>
0x2c - OTG_FS non-periodic transmit FIFO/queue status register (OTG_FS_GNPTXSTS)
gccfg: Reg<u32, _GCCFG>
0x38 - OTG_FS general core configuration register (OTG_FS_GCCFG)
cid: Reg<u32, _CID>
0x3c - core ID register
hptxfsiz: Reg<u32, _HPTXFSIZ>
0x100 - OTG_FS Host periodic transmit FIFO size register (OTG_FS_HPTXFSIZ)
dieptxf1: Reg<u32, _DIEPTXF>
0x104 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
dieptxf2: Reg<u32, _DIEPTXF>
0x108 - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
dieptxf3: Reg<u32, _DIEPTXF>
0x10c - OTG_FS device IN endpoint transmit FIFO size register (OTG_FS_DIEPTXF2)
Implementations
impl RegisterBlock
pub fn grxstsr_host(&self) -> &Reg<u32, _GRXSTSR_HOST>
0x1c - OTG_FS Receive status debug read(Host mode)
pub fn grxstsr_host_mut(&self) -> &mut Reg<u32, _GRXSTSR_HOST>
0x1c - OTG_FS Receive status debug read(Host mode)
pub fn grxstsr_device(&self) -> &Reg<u32, _GRXSTSR_DEVICE>
0x1c - OTG_FS Receive status debug read(Device mode)
pub fn grxstsr_device_mut(&self) -> &mut Reg<u32, _GRXSTSR_DEVICE>
0x1c - OTG_FS Receive status debug read(Device mode)
pub fn grxstsp_host(&self) -> &Reg<u32, _GRXSTSP_HOST>
0x20 - OTG status read and pop (host mode)
pub fn grxstsp_host_mut(&self) -> &mut Reg<u32, _GRXSTSP_HOST>
0x20 - OTG status read and pop (host mode)
pub fn grxstsp_device(&self) -> &Reg<u32, _GRXSTSP_DEVICE>
0x20 - OTG status read and pop (device mode)
pub fn grxstsp_device_mut(&self) -> &mut Reg<u32, _GRXSTSP_DEVICE>
0x20 - OTG status read and pop (device mode)
pub fn hnptxfsiz(&self) -> &Reg<u32, _HNPTXFSIZ>
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
pub fn hnptxfsiz_mut(&self) -> &mut Reg<u32, _HNPTXFSIZ>
0x28 - OTG_FS non-periodic transmit FIFO size register (Host mode)
pub fn dieptxf0(&self) -> &Reg<u32, _DIEPTXF0>
0x28 - OTG_FS non-periodic transmit FIFO size register (Device mode)
pub fn dieptxf0_mut(&self) -> &mut Reg<u32, _DIEPTXF0>
0x28 - OTG_FS non-periodic transmit FIFO size register (Device 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>,