pub struct W(_);
Expand description
Register SDIO_CONF
writer
Implementations§
§impl W
impl W
pub fn sdio_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 21>
pub fn sdio_pd_en(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 21>
Bit 21 - power down SDIO_REG in sleep. Only active when reg_sdio_force = 0
pub fn sdio_force(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 22>
pub fn sdio_force(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 22>
Bit 22 - 1: use SW option to control SDIO_REG 0: use state machine
pub fn sdio_tieh(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 23>
pub fn sdio_tieh(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 23>
Bit 23 - SW option for SDIO_TIEH. Only active when reg_sdio_force = 1
pub fn drefl_sdio(
&mut self
) -> FieldWriterRaw<'_, u32, SDIO_CONF_SPEC, u8, u8, Unsafe, 2, 25>
pub fn drefl_sdio(
&mut self
) -> FieldWriterRaw<'_, u32, SDIO_CONF_SPEC, u8, u8, Unsafe, 2, 25>
Bits 25:26 - SW option for DREFL_SDIO. Only active when reg_sdio_force = 1
pub fn drefm_sdio(
&mut self
) -> FieldWriterRaw<'_, u32, SDIO_CONF_SPEC, u8, u8, Unsafe, 2, 27>
pub fn drefm_sdio(
&mut self
) -> FieldWriterRaw<'_, u32, SDIO_CONF_SPEC, u8, u8, Unsafe, 2, 27>
Bits 27:28 - SW option for DREFM_SDIO. Only active when reg_sdio_force = 1
pub fn drefh_sdio(
&mut self
) -> FieldWriterRaw<'_, u32, SDIO_CONF_SPEC, u8, u8, Unsafe, 2, 29>
pub fn drefh_sdio(
&mut self
) -> FieldWriterRaw<'_, u32, SDIO_CONF_SPEC, u8, u8, Unsafe, 2, 29>
Bits 29:30 - SW option for DREFH_SDIO. Only active when reg_sdio_force = 1
pub fn xpd_sdio(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 31>
pub fn xpd_sdio(
&mut self
) -> BitWriterRaw<'_, u32, SDIO_CONF_SPEC, bool, BitM, 31>
Bit 31 - SW option for XPD_SDIO_REG. Only active when reg_sdio_force = 1
Methods from Deref<Target = W<SDIO_CONF_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations§
§impl From<W<SDIO_CONF_SPEC>> for W
impl From<W<SDIO_CONF_SPEC>> for W
§fn from(writer: W<SDIO_CONF_SPEC>) -> W
fn from(writer: W<SDIO_CONF_SPEC>) -> W
Converts to this type from the input type.