pub struct W(_);
Expand description
Register CR
writer
Implementations§
source§impl W
impl W
sourcepub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TCIE_A, BitM, 1>
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TCIE_A, BitM, 1>
Bit 1 - Transfer complete interrupt enable
sourcepub fn htie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HTIE_A, BitM, 2>
pub fn htie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HTIE_A, BitM, 2>
Bit 2 - Half Transfer interrupt enable
sourcepub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TEIE_A, BitM, 3>
pub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TEIE_A, BitM, 3>
Bit 3 - Transfer error interrupt enable
sourcepub fn dir(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DIR_A, BitM, 4>
pub fn dir(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DIR_A, BitM, 4>
Bit 4 - Data transfer direction
sourcepub fn circ(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CIRC_A, BitM, 5>
pub fn circ(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CIRC_A, BitM, 5>
Bit 5 - Circular mode
sourcepub fn pinc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 6>
pub fn pinc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 6>
Bit 6 - Peripheral increment mode
sourcepub fn minc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 7>
pub fn minc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 7>
Bit 7 - Memory increment mode
sourcepub fn psize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 8>
pub fn psize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 8>
Bits 8:9 - Peripheral size
sourcepub fn msize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 10>
pub fn msize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 10>
Bits 10:11 - Memory size
sourcepub fn pl(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PL_A, Safe, 2, 12>
pub fn pl(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PL_A, Safe, 2, 12>
Bits 12:13 - Channel Priority level
Methods from Deref<Target = W<CR_SPEC>>§
sourcepub 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.