Struct esp32s3_hal::pac::rtc_cntl::sdio_conf::R
pub struct R(_);
Expand description
Register SDIO_CONF
reader
Implementations§
§impl R
impl R
pub fn sdio_timer_target(&self) -> FieldReaderRaw<u8, u8>
pub fn sdio_timer_target(&self) -> FieldReaderRaw<u8, u8>
Bits 0:7 - timer count to apply reg_sdio_dcap after sdio power on
pub fn sdio_dthdrv(&self) -> FieldReaderRaw<u8, u8>
pub fn sdio_dthdrv(&self) -> FieldReaderRaw<u8, u8>
Bits 9:10 - Tieh = 1 mode drive ability. Initially set to 0 to limit charge current, set to 3 after several us.
pub fn sdio_initi(&self) -> FieldReaderRaw<u8, u8>
pub fn sdio_initi(&self) -> FieldReaderRaw<u8, u8>
Bits 13:14 - add resistor from ldo output to ground. 0: no res, 1: 6k,2:4k,3:2k
pub fn sdio_en_initi(&self) -> BitReaderRaw<bool>
pub fn sdio_en_initi(&self) -> BitReaderRaw<bool>
Bit 15 - 0 to set init[1:0]=0
pub fn sdio_dcurlim(&self) -> FieldReaderRaw<u8, u8>
pub fn sdio_dcurlim(&self) -> FieldReaderRaw<u8, u8>
Bits 16:18 - tune current limit threshold when tieh = 0. About 800mA/(8+d)
pub fn sdio_modecurlim(&self) -> BitReaderRaw<bool>
pub fn sdio_modecurlim(&self) -> BitReaderRaw<bool>
Bit 19 - select current limit mode
pub fn sdio_encurlim(&self) -> BitReaderRaw<bool>
pub fn sdio_encurlim(&self) -> BitReaderRaw<bool>
Bit 20 - enable current limit
pub fn sdio_reg_pd_en(&self) -> BitReaderRaw<bool>
pub fn sdio_reg_pd_en(&self) -> BitReaderRaw<bool>
Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0
pub fn sdio_force(&self) -> BitReaderRaw<bool>
pub fn sdio_force(&self) -> BitReaderRaw<bool>
Bit 22 - 1: use SW option to control SDIO_REG, 0: use state machine
pub fn sdio_tieh(&self) -> BitReaderRaw<bool>
pub fn sdio_tieh(&self) -> BitReaderRaw<bool>
Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1
pub fn reg1p8_ready(&self) -> BitReaderRaw<bool>
pub fn reg1p8_ready(&self) -> BitReaderRaw<bool>
Bit 24 - read only register for REG1P8_READY
pub fn drefl_sdio(&self) -> FieldReaderRaw<u8, u8>
pub fn drefl_sdio(&self) -> FieldReaderRaw<u8, u8>
Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1
pub fn drefm_sdio(&self) -> FieldReaderRaw<u8, u8>
pub fn drefm_sdio(&self) -> FieldReaderRaw<u8, u8>
Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1
pub fn drefh_sdio(&self) -> FieldReaderRaw<u8, u8>
pub fn drefh_sdio(&self) -> FieldReaderRaw<u8, u8>
Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1
Methods from Deref<Target = R<SDIO_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.