Struct esp32_hal::pac::sdmmc::cardthrctl::W
pub struct W(_);
Expand description
Register CARDTHRCTL
writer
Implementations§
§impl W
impl W
pub fn cardrdthren(
&mut self
) -> BitWriterRaw<'_, u32, CARDTHRCTL_SPEC, bool, BitM, 0>
pub fn cardrdthren(
&mut self
) -> BitWriterRaw<'_, u32, CARDTHRCTL_SPEC, bool, BitM, 0>
Bit 0 - Card read threshold enable. 1’b0-Card read threshold disabled. 1’b1-Card read threshold enabled.
pub fn cardclrinten(
&mut self
) -> BitWriterRaw<'_, u32, CARDTHRCTL_SPEC, bool, BitM, 1>
pub fn cardclrinten(
&mut self
) -> BitWriterRaw<'_, u32, CARDTHRCTL_SPEC, bool, BitM, 1>
Bit 1 - Busy clear interrupt generation: 1’b0-Busy clear interrypt disabled. 1’b1-Busy clear interrypt enabled.
pub fn cardwrthren(
&mut self
) -> BitWriterRaw<'_, u32, CARDTHRCTL_SPEC, bool, BitM, 2>
pub fn cardwrthren(
&mut self
) -> BitWriterRaw<'_, u32, CARDTHRCTL_SPEC, bool, BitM, 2>
Bit 2 - Applicable when HS400 mode is enabled. 1’b0-Card write Threshold disabled. 1’b1-Card write Threshold enabled.
pub fn cardthreshold(
&mut self
) -> FieldWriterRaw<'_, u32, CARDTHRCTL_SPEC, u16, u16, Unsafe, 16, 16>
pub fn cardthreshold(
&mut self
) -> FieldWriterRaw<'_, u32, CARDTHRCTL_SPEC, u16, u16, Unsafe, 16, 16>
Bits 16:31 - The inside FIFO size is 512,This register is applicable when SDHOST_CARDERTHREN_REG is set to 1 or SDHOST_CARDRDTHREN_REG set to 1.
Methods from Deref<Target = W<CARDTHRCTL_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<CARDTHRCTL_SPEC>> for W
impl From<W<CARDTHRCTL_SPEC>> for W
§fn from(writer: W<CARDTHRCTL_SPEC>) -> W
fn from(writer: W<CARDTHRCTL_SPEC>) -> W
Converts to this type from the input type.