pub struct W(/* private fields */);
Expand description
Register CR
writer
Implementations§
Source§impl W
impl W
Sourcepub fn chsel(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Safe, 3, 25>
pub fn chsel(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Safe, 3, 25>
Bits 25:27 - Channel selection
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
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§
impl Freeze for W
impl RefUnwindSafe for W
impl Send for W
impl Sync for W
impl Unpin for W
impl UnwindSafe for W
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more