Struct mcxn947_pac::USBHS1__USBC
source · pub struct USBHS1__USBC { /* private fields */ }
Expand description
USB
Implementations§
source§impl USBHS1__USBC
impl USBHS1__USBC
sourcepub const PTR: *const RegisterBlock = {0x4010b000 as *const usbhs1__usbc::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x4010b000 as *const usbhs1__usbc::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
sourcepub fn gptimer0ctrl(&self) -> &GPTIMER0CTRL
pub fn gptimer0ctrl(&self) -> &GPTIMER0CTRL
0x84 - General Purpose Timer #0 Controller
sourcepub fn gptimer1ld(&self) -> &GPTIMER1LD
pub fn gptimer1ld(&self) -> &GPTIMER1LD
0x88 - General Purpose Timer #1 Load
sourcepub fn gptimer1ctrl(&self) -> &GPTIMER1CTRL
pub fn gptimer1ctrl(&self) -> &GPTIMER1CTRL
0x8c - General Purpose Timer #1 Controller
sourcepub fn hciversion(&self) -> &HCIVERSION
pub fn hciversion(&self) -> &HCIVERSION
0x102 - Host Controller Interface Version
sourcepub fn dciversion(&self) -> &DCIVERSION
pub fn dciversion(&self) -> &DCIVERSION
0x120 - Device Controller Interface Version
sourcepub fn address_modes_periodiclistbase(&self) -> &ADDRESS_MODES_PERIODICLISTBASE
pub fn address_modes_periodiclistbase(&self) -> &ADDRESS_MODES_PERIODICLISTBASE
0x154 - Frame List Base Address
sourcepub fn address_modes_endptlistaddr(&self) -> &ADDRESS_MODES_ENDPTLISTADDR
pub fn address_modes_endptlistaddr(&self) -> &ADDRESS_MODES_ENDPTLISTADDR
0x158 - Endpoint List Address
sourcepub fn address_modes_asynclistaddr(&self) -> &ADDRESS_MODES_ASYNCLISTADDR
pub fn address_modes_asynclistaddr(&self) -> &ADDRESS_MODES_ASYNCLISTADDR
0x158 - Next Asynch. Address
sourcepub fn txfilltuning(&self) -> &TXFILLTUNING
pub fn txfilltuning(&self) -> &TXFILLTUNING
0x164 - TX FIFO Fill Tuning
sourcepub fn endptnaken(&self) -> &ENDPTNAKEN
pub fn endptnaken(&self) -> &ENDPTNAKEN
0x17c - Endpoint NAK Enable
sourcepub fn configflag(&self) -> &CONFIGFLAG
pub fn configflag(&self) -> &CONFIGFLAG
0x180 - Configure Flag Register
sourcepub fn endptsetupstat(&self) -> &ENDPTSETUPSTAT
pub fn endptsetupstat(&self) -> &ENDPTSETUPSTAT
0x1ac - Endpoint Setup Status
sourcepub fn endptprime(&self) -> &ENDPTPRIME
pub fn endptprime(&self) -> &ENDPTPRIME
0x1b0 - Endpoint Prime
sourcepub fn endptflush(&self) -> &ENDPTFLUSH
pub fn endptflush(&self) -> &ENDPTFLUSH
0x1b4 - Endpoint Flush
sourcepub fn endptcomplete(&self) -> &ENDPTCOMPLETE
pub fn endptcomplete(&self) -> &ENDPTCOMPLETE
0x1bc - Endpoint Complete
sourcepub fn endptctrl0(&self) -> &ENDPTCTRL0
pub fn endptctrl0(&self) -> &ENDPTCTRL0
0x1c0 - Endpoint Control0
sourcepub fn endptctrl1(&self) -> &ENDPTCTRL1
pub fn endptctrl1(&self) -> &ENDPTCTRL1
0x1c4 - Endpoint Control 1
sourcepub fn endptctrl2(&self) -> &ENDPTCTRL2
pub fn endptctrl2(&self) -> &ENDPTCTRL2
0x1c8 - Endpoint Control 2
sourcepub fn endptctrl3(&self) -> &ENDPTCTRL3
pub fn endptctrl3(&self) -> &ENDPTCTRL3
0x1cc - Endpoint Control 3
sourcepub fn endptctrl4(&self) -> &ENDPTCTRL4
pub fn endptctrl4(&self) -> &ENDPTCTRL4
0x1d0 - Endpoint Control 4
sourcepub fn endptctrl5(&self) -> &ENDPTCTRL5
pub fn endptctrl5(&self) -> &ENDPTCTRL5
0x1d4 - Endpoint Control 5
sourcepub fn endptctrl6(&self) -> &ENDPTCTRL6
pub fn endptctrl6(&self) -> &ENDPTCTRL6
0x1d8 - Endpoint Control 6
sourcepub fn endptctrl7(&self) -> &ENDPTCTRL7
pub fn endptctrl7(&self) -> &ENDPTCTRL7
0x1dc - Endpoint Control 7