DMA auto-restart configuration. More...
#include <dma.h>
Data Fields | |
| bool | enable_auto_restart |
| bool | infinite_restart |
| uint16_t | restart_count |
DMA auto-restart configuration.
Controls automatic restart behavior when a DMA command completes. Works in conjunction with register reload settings to enable continuous operation without CPU intervention.
Auto-restart sequence:
Use cases:
Note: Auto-restart interacts with:
Auto-restart behavior:
| bool dma_auto_restart_config_t::enable_auto_restart |
Enable automatic restart after command completion
| bool dma_auto_restart_config_t::infinite_restart |
true = restart infinitely, false = use restart_count
| uint16_t dma_auto_restart_config_t::restart_count |
Number of restarts (when infinite_restart = false)