Struct mcxn947_pac::USDHC0
source · pub struct USDHC0 { /* private fields */ }
Expand description
uSDHC
Implementations§
source§impl USDHC0
impl USDHC0
sourcepub const PTR: *const RegisterBlock = {0x40109000 as *const usdhc0::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x40109000 as *const usdhc0::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 cmd_xfr_typ(&self) -> &CMD_XFR_TYP
pub fn cmd_xfr_typ(&self) -> &CMD_XFR_TYP
0x0c - Command Transfer Type
sourcepub fn data_buff_acc_port(&self) -> &DATA_BUFF_ACC_PORT
pub fn data_buff_acc_port(&self) -> &DATA_BUFF_ACC_PORT
0x20 - Data Buffer Access Port
sourcepub fn pres_state(&self) -> &PRES_STATE
pub fn pres_state(&self) -> &PRES_STATE
0x24 - Present State
sourcepub fn int_status(&self) -> &INT_STATUS
pub fn int_status(&self) -> &INT_STATUS
0x30 - Interrupt Status
sourcepub fn int_status_en(&self) -> &INT_STATUS_EN
pub fn int_status_en(&self) -> &INT_STATUS_EN
0x34 - Interrupt Status Enable
sourcepub fn int_signal_en(&self) -> &INT_SIGNAL_EN
pub fn int_signal_en(&self) -> &INT_SIGNAL_EN
0x38 - Interrupt Signal Enable
sourcepub fn autocmd12_err_status(&self) -> &AUTOCMD12_ERR_STATUS
pub fn autocmd12_err_status(&self) -> &AUTOCMD12_ERR_STATUS
0x3c - Auto CMD12 Error Status
sourcepub fn host_ctrl_cap(&self) -> &HOST_CTRL_CAP
pub fn host_ctrl_cap(&self) -> &HOST_CTRL_CAP
0x40 - Host Controller Capabilities
sourcepub fn force_event(&self) -> &FORCE_EVENT
pub fn force_event(&self) -> &FORCE_EVENT
0x50 - Force Event
sourcepub fn adma_err_status(&self) -> &ADMA_ERR_STATUS
pub fn adma_err_status(&self) -> &ADMA_ERR_STATUS
0x54 - ADMA Error Status
sourcepub fn adma_sys_addr(&self) -> &ADMA_SYS_ADDR
pub fn adma_sys_addr(&self) -> &ADMA_SYS_ADDR
0x58 - ADMA System Address
sourcepub fn dll_status(&self) -> &DLL_STATUS
pub fn dll_status(&self) -> &DLL_STATUS
0x64 - DLL Status
sourcepub fn clk_tune_ctrl_status(&self) -> &CLK_TUNE_CTRL_STATUS
pub fn clk_tune_ctrl_status(&self) -> &CLK_TUNE_CTRL_STATUS
0x68 - CLK Tuning Control and Status
sourcepub fn vend_spec2(&self) -> &VEND_SPEC2
pub fn vend_spec2(&self) -> &VEND_SPEC2
0xc8 - Vendor Specific 2 Register
sourcepub fn tuning_ctrl(&self) -> &TUNING_CTRL
pub fn tuning_ctrl(&self) -> &TUNING_CTRL
0xcc - Tuning Control