pub struct RegisterBlock { /* private fields */ }Expand description
Register block
Implementations§
Source§impl RegisterBlock
impl RegisterBlock
Sourcepub const fn smhc_clkdiv(&self) -> &SMHC_CLKDIV
pub const fn smhc_clkdiv(&self) -> &SMHC_CLKDIV
0x04 - Clock Control Register
Sourcepub const fn smhc_tmout(&self) -> &SMHC_TMOUT
pub const fn smhc_tmout(&self) -> &SMHC_TMOUT
0x08 - Time Out Register
Sourcepub const fn smhc_ctype(&self) -> &SMHC_CTYPE
pub const fn smhc_ctype(&self) -> &SMHC_CTYPE
0x0c - Bus Width Register
Sourcepub const fn smhc_blksiz(&self) -> &SMHC_BLKSIZ
pub const fn smhc_blksiz(&self) -> &SMHC_BLKSIZ
0x10 - Block Size Register
Sourcepub const fn smhc_bytcnt(&self) -> &SMHC_BYTCNT
pub const fn smhc_bytcnt(&self) -> &SMHC_BYTCNT
0x14 - Byte Count Register
Sourcepub const fn smhc_cmdarg(&self) -> &SMHC_CMDARG
pub const fn smhc_cmdarg(&self) -> &SMHC_CMDARG
0x1c - Command Argument Register
Sourcepub const fn smhc_resp0(&self) -> &SMHC_RESP0
pub const fn smhc_resp0(&self) -> &SMHC_RESP0
0x20 - Response 0 Register
Sourcepub const fn smhc_resp1(&self) -> &SMHC_RESP1
pub const fn smhc_resp1(&self) -> &SMHC_RESP1
0x24 - Response 1 Register
Sourcepub const fn smhc_resp2(&self) -> &SMHC_RESP2
pub const fn smhc_resp2(&self) -> &SMHC_RESP2
0x28 - Response 2 Register
Sourcepub const fn smhc_resp3(&self) -> &SMHC_RESP3
pub const fn smhc_resp3(&self) -> &SMHC_RESP3
0x2c - Response 3 Register
Sourcepub const fn smhc_intmask(&self) -> &SMHC_INTMASK
pub const fn smhc_intmask(&self) -> &SMHC_INTMASK
0x30 - Interrupt Mask Register
Sourcepub const fn smhc_mintsts(&self) -> &SMHC_MINTSTS
pub const fn smhc_mintsts(&self) -> &SMHC_MINTSTS
0x34 - Masked Interrupt Status Register
Sourcepub const fn smhc_rintsts(&self) -> &SMHC_RINTSTS
pub const fn smhc_rintsts(&self) -> &SMHC_RINTSTS
0x38 - Raw Interrupt Status Register
Sourcepub const fn smhc_status(&self) -> &SMHC_STATUS
pub const fn smhc_status(&self) -> &SMHC_STATUS
0x3c - Status Register
Sourcepub const fn smhc_fifoth(&self) -> &SMHC_FIFOTH
pub const fn smhc_fifoth(&self) -> &SMHC_FIFOTH
0x40 - FIFO Water Level Register
Sourcepub const fn smhc_tbc0(&self) -> &SMHC_TBC0
pub const fn smhc_tbc0(&self) -> &SMHC_TBC0
0x48 - Transferred Byte Count between Controller and Card
Sourcepub const fn smhc_tbc1(&self) -> &SMHC_TBC1
pub const fn smhc_tbc1(&self) -> &SMHC_TBC1
0x4c - Transferred Byte Count between Host Memory and Internal FIFO
Sourcepub const fn smhc_hwrst(&self) -> &SMHC_HWRST
pub const fn smhc_hwrst(&self) -> &SMHC_HWRST
0x78 - Hardware Reset Register
Sourcepub const fn smhc_idmac(&self) -> &SMHC_IDMAC
pub const fn smhc_idmac(&self) -> &SMHC_IDMAC
0x80 - IDMAC Control Register
Sourcepub const fn emmc_ddr_sbit_det(&self) -> &EMMC_DDR_SBIT_DET
pub const fn emmc_ddr_sbit_det(&self) -> &EMMC_DDR_SBIT_DET
0x10c - eMMC4.5 DDR Start Bit Detection Control Register
Sourcepub const fn smhc_ext_cmd(&self) -> &SMHC_EXT_CMD
pub const fn smhc_ext_cmd(&self) -> &SMHC_EXT_CMD
0x138 - Extended Command Register
Sourcepub const fn smhc_ext_resp(&self) -> &SMHC_EXT_RESP
pub const fn smhc_ext_resp(&self) -> &SMHC_EXT_RESP
0x13c - Extended Response Register
Sourcepub const fn smhc_drv_dl(&self) -> &SMHC_DRV_DL
pub const fn smhc_drv_dl(&self) -> &SMHC_DRV_DL
0x140 - Drive Delay Control Register
Sourcepub const fn smhc_smap_dl(&self) -> &SMHC_SMAP_DL
pub const fn smhc_smap_dl(&self) -> &SMHC_SMAP_DL
0x144 - Sample Delay Control Register
Sourcepub const fn smhc_ds_dl(&self) -> &SMHC_DS_DL
pub const fn smhc_ds_dl(&self) -> &SMHC_DS_DL
0x148 - Data Strobe Delay Control Register
Sourcepub const fn smhc_hs400_dl(&self) -> &SMHC_HS400_DL
pub const fn smhc_hs400_dl(&self) -> &SMHC_HS400_DL
0x14c - HS400 Delay Control Register