pub struct HINF { /* private fields */ }
Expand description
HINF Peripheral
Implementations§
source§impl HINF
impl HINF
sourcepub const PTR: *const RegisterBlock = {0x60016000 as *const hinf::RegisterBlock}
pub const PTR: *const RegisterBlock = {0x60016000 as *const hinf::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 cfg_timing(&self) -> &CFG_TIMING
pub fn cfg_timing(&self) -> &CFG_TIMING
0x08 - Timing configuration registers
sourcepub fn cfg_update(&self) -> &CFG_UPDATE
pub fn cfg_update(&self) -> &CFG_UPDATE
0x0c - update sdio configurations
sourcepub fn cis_conf_w0(&self) -> &CIS_CONF_W0
pub fn cis_conf_w0(&self) -> &CIS_CONF_W0
0x20 - SDIO cis configuration register
sourcepub fn cis_conf_w1(&self) -> &CIS_CONF_W1
pub fn cis_conf_w1(&self) -> &CIS_CONF_W1
0x24 - SDIO cis configuration register
sourcepub fn cis_conf_w2(&self) -> &CIS_CONF_W2
pub fn cis_conf_w2(&self) -> &CIS_CONF_W2
0x28 - SDIO cis configuration register
sourcepub fn cis_conf_w3(&self) -> &CIS_CONF_W3
pub fn cis_conf_w3(&self) -> &CIS_CONF_W3
0x2c - SDIO cis configuration register
sourcepub fn cis_conf_w4(&self) -> &CIS_CONF_W4
pub fn cis_conf_w4(&self) -> &CIS_CONF_W4
0x30 - SDIO cis configuration register
sourcepub fn cis_conf_w5(&self) -> &CIS_CONF_W5
pub fn cis_conf_w5(&self) -> &CIS_CONF_W5
0x34 - SDIO cis configuration register
sourcepub fn cis_conf_w6(&self) -> &CIS_CONF_W6
pub fn cis_conf_w6(&self) -> &CIS_CONF_W6
0x38 - SDIO cis configuration register
sourcepub fn cis_conf_w7(&self) -> &CIS_CONF_W7
pub fn cis_conf_w7(&self) -> &CIS_CONF_W7
0x3c - SDIO cis configuration register
sourcepub fn cfg_data16(&self) -> &CFG_DATA16
pub fn cfg_data16(&self) -> &CFG_DATA16
0x40 - SDIO cis configuration register
sourcepub fn cfg_uhs1_int_mode(&self) -> &CFG_UHS1_INT_MODE
pub fn cfg_uhs1_int_mode(&self) -> &CFG_UHS1_INT_MODE
0x44 - configure int to start and end ahead of time in uhs1 mode
sourcepub fn conf_status(&self) -> &CONF_STATUS
pub fn conf_status(&self) -> &CONF_STATUS
0x54 - func0 config0 status
sourcepub fn sdio_slave_eco_low(&self) -> &SDIO_SLAVE_ECO_LOW
pub fn sdio_slave_eco_low(&self) -> &SDIO_SLAVE_ECO_LOW
0xa4 - sdio_slave redundant control registers
sourcepub fn sdio_slave_eco_high(&self) -> &SDIO_SLAVE_ECO_HIGH
pub fn sdio_slave_eco_high(&self) -> &SDIO_SLAVE_ECO_HIGH
0xa8 - sdio_slave redundant control registers
sourcepub fn sdio_slave_eco_conf(&self) -> &SDIO_SLAVE_ECO_CONF
pub fn sdio_slave_eco_conf(&self) -> &SDIO_SLAVE_ECO_CONF
0xac - sdio_slave redundant control registers
sourcepub fn sdio_slave_ldo_conf(&self) -> &SDIO_SLAVE_LDO_CONF
pub fn sdio_slave_ldo_conf(&self) -> &SDIO_SLAVE_LDO_CONF
0xb0 - sdio slave ldo control register