Struct hpm5361_pac::USB0
source · pub struct USB0 { /* private fields */ }
Expand description
USB0
Implementations§
source§impl USB0
impl USB0
sourcepub const PTR: *const RegisterBlock = {0xf300c000 as *const usb0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0xf300c000 as *const usb0::RegisterBlock}
Pointer to the register block
sourcepub const fn ptr() -> *const RegisterBlock
pub const fn ptr() -> *const RegisterBlock
Return the pointer to the register block
sourcepub unsafe fn steal() -> Self
pub unsafe fn steal() -> Self
Steal an instance of this peripheral
§Safety
Ensure that the new instance of the peripheral cannot be used in a way that may race with any existing instances, for example by only accessing read-only or write-only registers, or by consuming the original peripheral and using critical sections to coordinate access between multiple new instances.
Additionally, other software such as HALs may rely on only one peripheral instance existing to ensure memory safety; ensure no stolen instances are passed to such software.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn gptimer0ld(&self) -> &GPTIMER0LD
pub fn gptimer0ld(&self) -> &GPTIMER0LD
0x80 - General Purpose Timer #0 Load Register
sourcepub fn gptimer0ctrl(&self) -> &GPTIMER0CTRL
pub fn gptimer0ctrl(&self) -> &GPTIMER0CTRL
0x84 - General Purpose Timer #0 Controller Register
sourcepub fn gptimer1ld(&self) -> &GPTIMER1LD
pub fn gptimer1ld(&self) -> &GPTIMER1LD
0x88 - General Purpose Timer #1 Load Register
sourcepub fn gptimer1ctrl(&self) -> &GPTIMER1CTRL
pub fn gptimer1ctrl(&self) -> &GPTIMER1CTRL
0x8c - General Purpose Timer #1 Controller Register
sourcepub fn periodiclistbase(&self) -> &PERIODICLISTBASE
pub fn periodiclistbase(&self) -> &PERIODICLISTBASE
0x154 - Frame List Base Address Register
sourcepub fn deviceaddr(&self) -> &DEVICEADDR
pub fn deviceaddr(&self) -> &DEVICEADDR
0x154 - Device Address Register
sourcepub fn endptlistaddr(&self) -> &ENDPTLISTADDR
pub fn endptlistaddr(&self) -> &ENDPTLISTADDR
0x158 - Endpoint List Address Register
sourcepub fn asynclistaddr(&self) -> &ASYNCLISTADDR
pub fn asynclistaddr(&self) -> &ASYNCLISTADDR
0x158 - Next Asynch. Address Register
sourcepub fn txfilltuning(&self) -> &TXFILLTUNING
pub fn txfilltuning(&self) -> &TXFILLTUNING
0x164 - TX FIFO Fill Tuning Register
sourcepub fn endptnaken(&self) -> &ENDPTNAKEN
pub fn endptnaken(&self) -> &ENDPTNAKEN
0x17c - Endpoint NAK Enable Register
sourcepub fn endptsetupstat(&self) -> &ENDPTSETUPSTAT
pub fn endptsetupstat(&self) -> &ENDPTSETUPSTAT
0x1ac - Endpoint Setup Status Register
sourcepub fn endptprime(&self) -> &ENDPTPRIME
pub fn endptprime(&self) -> &ENDPTPRIME
0x1b0 - Endpoint Prime Register
sourcepub fn endptflush(&self) -> &ENDPTFLUSH
pub fn endptflush(&self) -> &ENDPTFLUSH
0x1b4 - Endpoint Flush Register
sourcepub fn endptcomplete(&self) -> &ENDPTCOMPLETE
pub fn endptcomplete(&self) -> &ENDPTCOMPLETE
0x1bc - Endpoint Complete Register
sourcepub fn endptctrl_iter(&self) -> impl Iterator<Item = &ENDPTCTRL>
pub fn endptctrl_iter(&self) -> impl Iterator<Item = &ENDPTCTRL>
Iterator for array of: 0x1c0..0x1e0 - no description available
sourcepub fn endptctrlendptctrl0(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl0(&self) -> &ENDPTCTRL
0x1c0 - no description available
sourcepub fn endptctrlendptctrl1(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl1(&self) -> &ENDPTCTRL
0x1c4 - no description available
sourcepub fn endptctrlendptctrl2(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl2(&self) -> &ENDPTCTRL
0x1c8 - no description available
sourcepub fn endptctrlendptctrl3(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl3(&self) -> &ENDPTCTRL
0x1cc - no description available
sourcepub fn endptctrlendptctrl4(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl4(&self) -> &ENDPTCTRL
0x1d0 - no description available
sourcepub fn endptctrlendptctrl5(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl5(&self) -> &ENDPTCTRL
0x1d4 - no description available
sourcepub fn endptctrlendptctrl6(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl6(&self) -> &ENDPTCTRL
0x1d8 - no description available
sourcepub fn endptctrlendptctrl7(&self) -> &ENDPTCTRL
pub fn endptctrlendptctrl7(&self) -> &ENDPTCTRL
0x1dc - no description available
sourcepub fn top_status(&self) -> &TOP_STATUS
pub fn top_status(&self) -> &TOP_STATUS
0x220 - No description avaiable
sourcepub fn phy_status(&self) -> &PHY_STATUS
pub fn phy_status(&self) -> &PHY_STATUS
0x224 - No description avaiable