pub type R = R<HCON_SPEC>;
Expand description
Register HCON
reader
Aliased Type§
struct R { /* private fields */ }
Implementations§
source§impl R
impl R
sourcepub fn card_type(&self) -> CARD_TYPE_R
pub fn card_type(&self) -> CARD_TYPE_R
Bit 0 - Hardware support SDIO and MMC.
sourcepub fn card_num(&self) -> CARD_NUM_R
pub fn card_num(&self) -> CARD_NUM_R
Bits 1:5 - Support card number is 2.
sourcepub fn bus_type(&self) -> BUS_TYPE_R
pub fn bus_type(&self) -> BUS_TYPE_R
Bit 6 - Register config is APB bus.
sourcepub fn data_width(&self) -> DATA_WIDTH_R
pub fn data_width(&self) -> DATA_WIDTH_R
Bits 7:9 - Regisger data widht is 32.
sourcepub fn addr_width(&self) -> ADDR_WIDTH_R
pub fn addr_width(&self) -> ADDR_WIDTH_R
Bits 10:15 - Register address width is 32.
sourcepub fn dma_width(&self) -> DMA_WIDTH_R
pub fn dma_width(&self) -> DMA_WIDTH_R
Bits 18:20 - DMA data witdth is 32.
sourcepub fn ram_indise(&self) -> RAM_INDISE_R
pub fn ram_indise(&self) -> RAM_INDISE_R
Bit 21 - Inside RAM in SDMMC module.
sourcepub fn num_clk_div(&self) -> NUM_CLK_DIV_R
pub fn num_clk_div(&self) -> NUM_CLK_DIV_R
Bits 24:25 - Have 4 clk divider in design .