pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn mburst(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PBURST_A, Safe, 2, 23>
pub fn mburst(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PBURST_A, Safe, 2, 23>
Bits 23:24 - Memory burst transfer configuration
sourcepub fn pburst(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PBURST_A, Safe, 2, 21>
pub fn pburst(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PBURST_A, Safe, 2, 21>
Bits 21:22 - Peripheral burst transfer configuration
sourcepub fn ct(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CT_A, BitM, 19>
pub fn ct(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CT_A, BitM, 19>
Bit 19 - Current target (only in double buffer mode)
sourcepub fn dbm(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DBM_A, BitM, 18>
pub fn dbm(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DBM_A, BitM, 18>
Bit 18 - Double buffer mode
sourcepub fn pl(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PL_A, Safe, 2, 16>
pub fn pl(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PL_A, Safe, 2, 16>
Bits 16:17 - Priority level
sourcepub fn pincos(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINCOS_A, BitM, 15>
pub fn pincos(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINCOS_A, BitM, 15>
Bit 15 - Peripheral increment offset size
sourcepub fn msize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 13>
pub fn msize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 13>
Bits 13:14 - Memory data size
sourcepub fn psize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 11>
pub fn psize(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, PSIZE_A, Unsafe, 2, 11>
Bits 11:12 - Peripheral data size
sourcepub fn minc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 10>
pub fn minc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 10>
Bit 10 - Memory increment mode
sourcepub fn pinc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 9>
pub fn pinc(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PINC_A, BitM, 9>
Bit 9 - Peripheral increment mode
sourcepub fn circ(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CIRC_A, BitM, 8>
pub fn circ(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, CIRC_A, BitM, 8>
Bit 8 - Circular mode
sourcepub fn dir(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, DIR_A, Unsafe, 2, 6>
pub fn dir(
&mut self
) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, DIR_A, Unsafe, 2, 6>
Bits 6:7 - Data transfer direction
sourcepub fn pfctrl(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PFCTRL_A, BitM, 5>
pub fn pfctrl(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, PFCTRL_A, BitM, 5>
Bit 5 - Peripheral flow controller
sourcepub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TCIE_A, BitM, 4>
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TCIE_A, BitM, 4>
Bit 4 - Transfer complete interrupt enable
sourcepub fn htie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HTIE_A, BitM, 3>
pub fn htie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, HTIE_A, BitM, 3>
Bit 3 - Half transfer interrupt enable
sourcepub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TEIE_A, BitM, 2>
pub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, TEIE_A, BitM, 2>
Bit 2 - Transfer error interrupt enable
sourcepub fn dmeie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DMEIE_A, BitM, 1>
pub fn dmeie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, DMEIE_A, BitM, 1>
Bit 1 - Direct mode error interrupt enable
sourcepub fn en(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, EN_A, BitM, 0>
pub fn en(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, EN_A, BitM, 0>
Bit 0 - Stream enable / flag stream ready when read low
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