pub type R = R<HCON_SPEC>;
Expand description
Register HCON
reader
Aliased Type§
pub 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 .