pub struct W(_);
Expand description
Register CLKSRC
writer
Implementations§
§impl W
impl W
pub fn clksrc(
&mut self
) -> FieldWriterRaw<'_, u32, CLKSRC_SPEC, u8, u8, Unsafe, 4, 0>
pub fn clksrc(
&mut self
) -> FieldWriterRaw<'_, u32, CLKSRC_SPEC, u8, u8, Unsafe, 4, 0>
Bits 0:3 - Clock divider source for two SD cards is supported. Each card has two bits assigned to it. For example, bit[1:0] are assigned for card 0, bit[3:2] are assigned for card 1. Card 0 maps and internally routes clock divider[0:3] outputs to cclk_out[1:0] pins, depending on bit value. 00 : Clock divider 0; 01 : Clock divider 1; 10 : Clock divider 2; 11 : Clock divider 3.
Methods from Deref<Target = W<CLKSRC_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<CLKSRC_SPEC>> for W
impl From<W<CLKSRC_SPEC>> for W
§fn from(writer: W<CLKSRC_SPEC>) -> W
fn from(writer: W<CLKSRC_SPEC>) -> W
Converts to this type from the input type.