Skip to main contentModule hal
Source - DmaDoubleBuffer
- Double-buffer ping-pong manager for DMA audio streaming.
- DutyBuffer
- In-memory duty buffer for DMA (no hardware attached).
- PwmDutySink
- Driver hook: apply one duty compare value per audio sample tick.
- fill_buffer_into
- Fill
buf via the engine and write each duty to the sink (DMA kick-off helper). - fill_dma_half_buffers
- Double-buffer DMA helper to fill half-buffer callbacks (e.g. Embassy / STM32 DMA ISR).
- tick_into
- Run one engine tick and push duty to the sink.