Type Definition stm32h7::stm32h747cm7::bdma::ch::ndtr::NDT_W

source · []
pub type NDT_W<'a, const O: u8> = FieldWriterSafe<'a, u32, NDTR_SPEC, u16, u16, 16, O>;
Expand description

Field NDT writer - Number of data to transfer Number of data to be transferred (0 up to 65535). This register can only be written when the channel is disabled. Once the channel is enabled, this register is read-only, indicating the remaining bytes to be transmitted. This register decrements after each DMA transfer. Once the transfer is completed, this register can either stay at zero or be reloaded automatically by the value previously programmed if the channel is configured in auto-reload mode. If this register is zero, no transaction can be served whether the channel is enabled or not.