Struct Bndtr
#[repr(transparent)]pub struct Bndtr(pub u32);Expand description
MDMA Channel x block number of data register.
Tuple Fields§
§0: u32Implementations§
§impl Bndtr
impl Bndtr
pub const fn brsum(&self) -> Updatemode
pub const fn brsum(&self) -> Updatemode
Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0.
pub fn set_brsum(&mut self, val: Updatemode)
pub fn set_brsum(&mut self, val: Updatemode)
Block Repeat Source address Update Mode These bits are protected and can be written only if EN is 0.
pub const fn brdum(&self) -> Updatemode
pub const fn brdum(&self) -> Updatemode
Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0.
pub fn set_brdum(&mut self, val: Updatemode)
pub fn set_brdum(&mut self, val: Updatemode)
Block Repeat Destination address Update Mode These bits are protected and can be written only if EN is 0.
pub const fn brc(&self) -> u16
pub const fn brc(&self) -> u16
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.
pub fn set_brc(&mut self, val: u16)
pub fn set_brc(&mut self, val: u16)
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.