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