Type Alias esp32::sdhost::hcon::R

source ·
pub type R = R<HCON_SPEC>;
Expand description

Register HCON reader

Aliased Type§

struct R { /* private fields */ }

Implementations§

source§

impl R

source

pub fn card_type(&self) -> CARD_TYPE_R

Bit 0 - Hardware support SDIO and MMC.

source

pub fn card_num(&self) -> CARD_NUM_R

Bits 1:5 - Support card number is 2.

source

pub fn bus_type(&self) -> BUS_TYPE_R

Bit 6 - Register config is APB bus.

source

pub fn data_width(&self) -> DATA_WIDTH_R

Bits 7:9 - Regisger data widht is 32.

source

pub fn addr_width(&self) -> ADDR_WIDTH_R

Bits 10:15 - Register address width is 32.

source

pub fn dma_width(&self) -> DMA_WIDTH_R

Bits 18:20 - DMA data witdth is 32.

source

pub fn ram_indise(&self) -> RAM_INDISE_R

Bit 21 - Inside RAM in SDMMC module.

source

pub fn hold(&self) -> HOLD_R

Bit 22 - Have a hold regiser in data path .

source

pub fn num_clk_div(&self) -> NUM_CLK_DIV_R

Bits 24:25 - Have 4 clk divider in design .