pub struct W(_);
Expand description
Register CLKENA
writer
Implementations§
§impl W
impl W
pub fn cclk_enable(
&mut self
) -> FieldWriterRaw<'_, u32, CLKENA_SPEC, u8, u8, Unsafe, 2, 0>
pub fn cclk_enable(
&mut self
) -> FieldWriterRaw<'_, u32, CLKENA_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Clock-enable control for two SD card clocks and one MMC card clock is supported. One bit per card. 0: Clock disabled; 1: Clock enabled.
pub fn lp_enable(
&mut self
) -> FieldWriterRaw<'_, u32, CLKENA_SPEC, u8, u8, Unsafe, 2, 16>
pub fn lp_enable(
&mut self
) -> FieldWriterRaw<'_, u32, CLKENA_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17 - Disable clock when the card is in IDLE state. One bit per card. 0: clock disabled; 1: clock enabled.
Methods from Deref<Target = W<CLKENA_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<CLKENA_SPEC>> for W
impl From<W<CLKENA_SPEC>> for W
§fn from(writer: W<CLKENA_SPEC>) -> W
fn from(writer: W<CLKENA_SPEC>) -> W
Converts to this type from the input type.