Struct esp32_hal::peripherals::SDHOST
source · pub struct SDHOST { /* private fields */ }
Implementations§
source§impl SDHOST
impl SDHOST
sourcepub unsafe fn steal() -> SDHOST
pub unsafe fn steal() -> SDHOST
Unsafely create an instance of this peripheral out of thin air.
§Safety
You must ensure that you’re only using one instance of this type at a time.
Methods from Deref<Target = RegisterBlock>§
sourcepub fn clkdiv(&self) -> &Reg<CLKDIV_SPEC>
pub fn clkdiv(&self) -> &Reg<CLKDIV_SPEC>
0x08 - Clock divider configuration register
sourcepub fn clksrc(&self) -> &Reg<CLKSRC_SPEC>
pub fn clksrc(&self) -> &Reg<CLKSRC_SPEC>
0x0c - Clock source selection register
sourcepub fn clkena(&self) -> &Reg<CLKENA_SPEC>
pub fn clkena(&self) -> &Reg<CLKENA_SPEC>
0x10 - Clock enable register
sourcepub fn tmout(&self) -> &Reg<TMOUT_SPEC>
pub fn tmout(&self) -> &Reg<TMOUT_SPEC>
0x14 - Data and response timeout configuration register
sourcepub fn ctype(&self) -> &Reg<CTYPE_SPEC>
pub fn ctype(&self) -> &Reg<CTYPE_SPEC>
0x18 - Card bus width configuration register
sourcepub fn blksiz(&self) -> &Reg<BLKSIZ_SPEC>
pub fn blksiz(&self) -> &Reg<BLKSIZ_SPEC>
0x1c - Card data block size configuration register
sourcepub fn bytcnt(&self) -> &Reg<BYTCNT_SPEC>
pub fn bytcnt(&self) -> &Reg<BYTCNT_SPEC>
0x20 - Data transfer length configuration register
sourcepub fn intmask(&self) -> &Reg<INTMASK_SPEC>
pub fn intmask(&self) -> &Reg<INTMASK_SPEC>
0x24 - SDIO interrupt mask register
sourcepub fn cmdarg(&self) -> &Reg<CMDARG_SPEC>
pub fn cmdarg(&self) -> &Reg<CMDARG_SPEC>
0x28 - Command argument data register
sourcepub fn resp0(&self) -> &Reg<RESP0_SPEC>
pub fn resp0(&self) -> &Reg<RESP0_SPEC>
0x30 - Response data register
sourcepub fn resp1(&self) -> &Reg<RESP1_SPEC>
pub fn resp1(&self) -> &Reg<RESP1_SPEC>
0x34 - Long response data register
sourcepub fn resp2(&self) -> &Reg<RESP2_SPEC>
pub fn resp2(&self) -> &Reg<RESP2_SPEC>
0x38 - Long response data register
sourcepub fn resp3(&self) -> &Reg<RESP3_SPEC>
pub fn resp3(&self) -> &Reg<RESP3_SPEC>
0x3c - Long response data register
sourcepub fn mintsts(&self) -> &Reg<MINTSTS_SPEC>
pub fn mintsts(&self) -> &Reg<MINTSTS_SPEC>
0x40 - Masked interrupt status register
sourcepub fn rintsts(&self) -> &Reg<RINTSTS_SPEC>
pub fn rintsts(&self) -> &Reg<RINTSTS_SPEC>
0x44 - Raw interrupt status register
sourcepub fn status(&self) -> &Reg<STATUS_SPEC>
pub fn status(&self) -> &Reg<STATUS_SPEC>
0x48 - SD/MMC status register
sourcepub fn fifoth(&self) -> &Reg<FIFOTH_SPEC>
pub fn fifoth(&self) -> &Reg<FIFOTH_SPEC>
0x4c - FIFO configuration register
sourcepub fn cdetect(&self) -> &Reg<CDETECT_SPEC>
pub fn cdetect(&self) -> &Reg<CDETECT_SPEC>
0x50 - Card detect register
sourcepub fn wrtprt(&self) -> &Reg<WRTPRT_SPEC>
pub fn wrtprt(&self) -> &Reg<WRTPRT_SPEC>
0x54 - Card write protection (WP) status register
sourcepub fn tcbcnt(&self) -> &Reg<TCBCNT_SPEC>
pub fn tcbcnt(&self) -> &Reg<TCBCNT_SPEC>
0x5c - Transferred byte count register
sourcepub fn tbbcnt(&self) -> &Reg<TBBCNT_SPEC>
pub fn tbbcnt(&self) -> &Reg<TBBCNT_SPEC>
0x60 - Transferred byte count register
sourcepub fn debnce(&self) -> &Reg<DEBNCE_SPEC>
pub fn debnce(&self) -> &Reg<DEBNCE_SPEC>
0x64 - Debounce filter time configuration register
sourcepub fn usrid(&self) -> &Reg<USRID_SPEC>
pub fn usrid(&self) -> &Reg<USRID_SPEC>
0x68 - User ID (scratchpad) register
sourcepub fn verid(&self) -> &Reg<VERID_SPEC>
pub fn verid(&self) -> &Reg<VERID_SPEC>
0x6c - Version ID (scratchpad) register
sourcepub fn rst_n(&self) -> &Reg<RST_N_SPEC>
pub fn rst_n(&self) -> &Reg<RST_N_SPEC>
0x78 - Card reset register
sourcepub fn pldmnd(&self) -> &Reg<PLDMND_SPEC>
pub fn pldmnd(&self) -> &Reg<PLDMND_SPEC>
0x84 - Poll demand configuration register
sourcepub fn dbaddr(&self) -> &Reg<DBADDR_SPEC>
pub fn dbaddr(&self) -> &Reg<DBADDR_SPEC>
0x88 - Descriptor base address register
sourcepub fn idsts(&self) -> &Reg<IDSTS_SPEC>
pub fn idsts(&self) -> &Reg<IDSTS_SPEC>
0x8c - IDMAC status register
sourcepub fn idinten(&self) -> &Reg<IDINTEN_SPEC>
pub fn idinten(&self) -> &Reg<IDINTEN_SPEC>
0x90 - IDMAC interrupt enable register
sourcepub fn dscaddr(&self) -> &Reg<DSCADDR_SPEC>
pub fn dscaddr(&self) -> &Reg<DSCADDR_SPEC>
0x94 - Host descriptor address pointer
sourcepub fn bufaddr(&self) -> &Reg<BUFADDR_SPEC>
pub fn bufaddr(&self) -> &Reg<BUFADDR_SPEC>
0x98 - Host buffer address pointer register
sourcepub fn cardthrctl(&self) -> &Reg<CARDTHRCTL_SPEC>
pub fn cardthrctl(&self) -> &Reg<CARDTHRCTL_SPEC>
0x100 - Card Threshold Control register
sourcepub fn emmcddr(&self) -> &Reg<EMMCDDR_SPEC>
pub fn emmcddr(&self) -> &Reg<EMMCDDR_SPEC>
0x10c - eMMC DDR register
sourcepub fn enshift(&self) -> &Reg<ENSHIFT_SPEC>
pub fn enshift(&self) -> &Reg<ENSHIFT_SPEC>
0x110 - Enable Phase Shift register
sourcepub fn buffifo(&self) -> &Reg<BUFFIFO_SPEC>
pub fn buffifo(&self) -> &Reg<BUFFIFO_SPEC>
0x200 - CPU write and read transmit data by FIFO
sourcepub fn clk_edge_sel(&self) -> &Reg<CLK_EDGE_SEL_SPEC>
pub fn clk_edge_sel(&self) -> &Reg<CLK_EDGE_SEL_SPEC>
0x800 - SDIO control register.