pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn ct(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CT_A, BitM, 16>
pub fn ct(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CT_A, BitM, 16>
Bit 16 - Current target memory of DMA transfer in double-buffer mode
sourcepub fn dbm(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DBM_A, BitM, 15>
pub fn dbm(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DBM_A, BitM, 15>
Bit 15 - Double-buffer mode
sourcepub fn mem2mem(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, MEM2MEM_A, BitM, 14>
pub fn mem2mem(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, MEM2MEM_A, BitM, 14>
Bit 14 - Memory-to-memory mode
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 - Priority level
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 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 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 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 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 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 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 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 error interrupt enable
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.
Trait Implementations
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more