4#include "stm32h7xx_hal.h"
DAC handle for Built-in DAC Peripheral.
Definition dac.h:22
BitDepth
Definition dac.h:57
Result Start(uint16_t *buffer_1, uint16_t *buffer_2, size_t size, DacCallback cb)
DacHandle()
Definition dac.h:84
BufferState
Definition dac.h:64
Channel
Definition dac.h:33
Result Start(uint16_t *buffer, size_t size, DacCallback cb)
Result
Definition dac.h:26
const Config & GetConfig() const
Result Init(const Config &config)
DacHandle(const DacHandle &other)=default
DacHandle & operator=(const DacHandle &other)=default
Result WriteValue(Channel chn, uint16_t val)
void(* DacCallback)(uint16_t **out, size_t size)
Definition dac.h:96
Definition leddriver.h:33
Hardware defines and helpers for daisy field platform.
Definition index.h:2
BitDepth bitdepth
Definition dac.h:80
Mode mode
Definition dac.h:79
BufferState buff_state
Definition dac.h:81
Channel chn
Definition dac.h:78
uint32_t target_samplerate
Definition dac.h:76