Skip to main content

fill_buffer_into

Function fill_buffer_into 

Source
pub fn fill_buffer_into<S: PwmDutySink, const N: usize>(
    engine: &mut AudioEngine<'_, N>,
    buf: &mut [u16],
    sink: &mut S,
) -> usize
Expand description

Fill buf via the engine and write each duty to the sink (DMA kick-off helper).