Type Definition stm32_hal2::pac::mdma::ch::bndtr::BRC_W

source · []
pub type BRC_W<'a, const O: u8> = FieldWriterRaw<'a, u32, BNDTR_SPEC, u16, u16, Unsafe, 12, O>;
Expand description

Field BRC writer - 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.