pub struct W(/* private fields */);
Expand description
Register BNDTR
writer
Implementations§
source§impl W
impl W
sourcepub fn bndt(
&mut self
) -> FieldWriterRaw<'_, u32, BNDTR_SPEC, u32, u32, Unsafe, 17, 0>
pub fn bndt( &mut self ) -> FieldWriterRaw<'_, u32, BNDTR_SPEC, u32, u32, Unsafe, 17, 0>
Bits 0:16 - block number of data to transfer
sourcepub fn brsum(&mut self) -> BitWriterRaw<'_, u32, BNDTR_SPEC, bool, BitM, 18>
pub fn brsum(&mut self) -> BitWriterRaw<'_, u32, BNDTR_SPEC, bool, BitM, 18>
Bit 18 - Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0.
sourcepub fn brdum(&mut self) -> BitWriterRaw<'_, u32, BNDTR_SPEC, bool, BitM, 19>
pub fn brdum(&mut self) -> BitWriterRaw<'_, u32, BNDTR_SPEC, bool, BitM, 19>
Bit 19 - Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0.
sourcepub fn brc(
&mut self
) -> FieldWriterRaw<'_, u32, BNDTR_SPEC, u16, u16, Unsafe, 12, 20>
pub fn brc( &mut self ) -> FieldWriterRaw<'_, u32, BNDTR_SPEC, u16, u16, Unsafe, 12, 20>
Bits 20:31 - Block Repeat Count This field contains the number of repetitions of the current block (0 to 4095). When the channel is enabled, this register is read-only, indicating the remaining number of blocks, excluding the current one. This register decrements after each complete block transfer. Once the last block transfer has completed, this register can either stay at zero or be reloaded automatically from memory (in Linked List mode - i.e. Link Address valid). These bits are protected and can be written only if EN is 0.
Methods from Deref<Target = W<BNDTR_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.