pub struct W(_);
Expand description
Register SDIO_CONF
writer
Implementations§
source§impl W
impl W
sourcepub fn sdio_timer_target(&mut self) -> SDIO_TIMER_TARGET_W<'_, 0>
pub fn sdio_timer_target(&mut self) -> SDIO_TIMER_TARGET_W<'_, 0>
Bits 0:7 - timer count to apply reg_sdio_dcap after sdio power on
sourcepub fn sdio_dthdrv(&mut self) -> SDIO_DTHDRV_W<'_, 9>
pub fn sdio_dthdrv(&mut self) -> SDIO_DTHDRV_W<'_, 9>
Bits 9:10 - Tieh = 1 mode drive ability. Initially set to 0 to limit charge current, set to 3 after several us.
sourcepub fn sdio_dcap(&mut self) -> SDIO_DCAP_W<'_, 11>
pub fn sdio_dcap(&mut self) -> SDIO_DCAP_W<'_, 11>
Bits 11:12 - ability to prevent LDO from overshoot
sourcepub fn sdio_initi(&mut self) -> SDIO_INITI_W<'_, 13>
pub fn sdio_initi(&mut self) -> SDIO_INITI_W<'_, 13>
Bits 13:14 - add resistor from ldo output to ground. 0: no res, 1: 6k,2:4k,3:2k
sourcepub fn sdio_en_initi(&mut self) -> SDIO_EN_INITI_W<'_, 15>
pub fn sdio_en_initi(&mut self) -> SDIO_EN_INITI_W<'_, 15>
Bit 15 - 0 to set init[1:0]=0
sourcepub fn sdio_dcurlim(&mut self) -> SDIO_DCURLIM_W<'_, 16>
pub fn sdio_dcurlim(&mut self) -> SDIO_DCURLIM_W<'_, 16>
Bits 16:18 - tune current limit threshold when tieh = 0. About 800mA/(8+d)
sourcepub fn sdio_modecurlim(&mut self) -> SDIO_MODECURLIM_W<'_, 19>
pub fn sdio_modecurlim(&mut self) -> SDIO_MODECURLIM_W<'_, 19>
Bit 19 - select current limit mode
sourcepub fn sdio_encurlim(&mut self) -> SDIO_ENCURLIM_W<'_, 20>
pub fn sdio_encurlim(&mut self) -> SDIO_ENCURLIM_W<'_, 20>
Bit 20 - enable current limit
sourcepub fn sdio_reg_pd_en(&mut self) -> SDIO_REG_PD_EN_W<'_, 21>
pub fn sdio_reg_pd_en(&mut self) -> SDIO_REG_PD_EN_W<'_, 21>
Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0
sourcepub fn sdio_force(&mut self) -> SDIO_FORCE_W<'_, 22>
pub fn sdio_force(&mut self) -> SDIO_FORCE_W<'_, 22>
Bit 22 - 1: use SW option to control SDIO_REG, 0: use state machine
sourcepub fn sdio_tieh(&mut self) -> SDIO_TIEH_W<'_, 23>
pub fn sdio_tieh(&mut self) -> SDIO_TIEH_W<'_, 23>
Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1
sourcepub fn drefl_sdio(&mut self) -> DREFL_SDIO_W<'_, 25>
pub fn drefl_sdio(&mut self) -> DREFL_SDIO_W<'_, 25>
Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1
sourcepub fn drefm_sdio(&mut self) -> DREFM_SDIO_W<'_, 27>
pub fn drefm_sdio(&mut self) -> DREFM_SDIO_W<'_, 27>
Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1
sourcepub fn drefh_sdio(&mut self) -> DREFH_SDIO_W<'_, 29>
pub fn drefh_sdio(&mut self) -> DREFH_SDIO_W<'_, 29>
Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1
sourcepub fn xpd_sdio(&mut self) -> XPD_SDIO_W<'_, 31>
pub fn xpd_sdio(&mut self) -> XPD_SDIO_W<'_, 31>
Bit 31 - power on flash regulator