pub struct W(_);
Expand description
Register CR
writer
Implementations
sourceimpl W
impl W
sourcepub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 1>
pub fn teie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 1>
Bit 1 - Transfer error interrupt enable This bit is set and cleared by software.
sourcepub fn ctcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
pub fn ctcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 2>
Bit 2 - Channel Transfer Complete interrupt enable This bit is set and cleared by software.
sourcepub fn brtie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 3>
pub fn brtie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 3>
Bit 3 - Block Repeat transfer interrupt enable This bit is set and cleared by software.
sourcepub fn btie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
pub fn btie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 4>
Bit 4 - Block Transfer interrupt enable This bit is set and cleared by software.
sourcepub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
pub fn tcie(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 5>
Bit 5 - buffer Transfer Complete interrupt enable This bit is set and cleared by software.
sourcepub fn pl(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 6>
pub fn pl(&mut self) -> FieldWriterRaw<'_, u32, CR_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7 - Priority level These bits are set and cleared by software. These bits are protected and can be written only if EN is 0.
sourcepub fn bex(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 12>
pub fn bex(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 12>
Bit 12 - byte Endianness exchange
sourcepub fn hex(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 13>
pub fn hex(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 13>
Bit 13 - Half word Endianes exchange
sourcepub fn wex(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 14>
pub fn wex(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 14>
Bit 14 - Word Endianness exchange
sourcepub fn swrq(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 16>
pub fn swrq(&mut self) -> BitWriterRaw<'_, u32, CR_SPEC, bool, BitM, 16>
Bit 16 - SW ReQuest Writing a 1 into this bit sets the CRQAx in MDMA_ISRy register, activating the request on Channel x Note: Either the whole CxCR register or the 8-bit/16-bit register @ Address offset: 0x4E + 0x40 chn may be used for SWRQ activation. In case of a SW request, acknowledge is not generated (neither HW signal, nor CxMAR write access).
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.