Struct 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 gi2cctl(self) -> Reg<Gi2cctl, RW>
pub const fn gi2cctl(self) -> Reg<Gi2cctl, RW>
OTG I2C access register (only listed in the RM0033/RM0090 OTG_HS register map, fields undocumented by ST)
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 (F1/F2/F4 OTG_FS and OTG_HS)
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_[234]xxx and 0x0000_5100 (OTG_FS of F4x2/F4x6/F7/L4/L4+/H7/U5, H7Rx/Sx, H5E/H5F; MP1 OTG_HS)
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_5000, 0x0000_61xx and 0x0000_62xx (OTG_HS of U5, H7Rx/Sx, N6, WBA6, H5E/H5F)
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 deachintmsk(self) -> Reg<Deachintmsk, RW>
pub const fn deachintmsk(self) -> Reg<Deachintmsk, RW>
Device each endpoint interrupt mask register
pub const fn diepeachmsk1(self) -> Reg<Diepmsk, RW>
pub const fn diepeachmsk1(self) -> Reg<Diepmsk, RW>
Device each IN endpoint-1 interrupt mask register
pub const fn doepeachmsk1(self) -> Reg<Doepmsk, RW>
pub const fn doepeachmsk1(self) -> Reg<Doepmsk, RW>
Device each OUT endpoint-1 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