19#ifndef DAC_DDS_PARAMS_H
20#define DAC_DDS_PARAMS_H
33#ifndef DAC_DDS_PARAM_DAC
34#define DAC_DDS_PARAM_DAC DAC_LINE(0)
36#ifndef DAC_DDS_PARAM_TIMER
37#define DAC_DDS_PARAM_TIMER (TIMER_NUMOF - 1)
39#ifndef DAC_DDS_PARAM_TIMER_HZ
40#define DAC_DDS_PARAM_TIMER_HZ MHZ(1)
44#define DAC_DDS_PARAMS { .dac = DAC_DDS_PARAM_DAC, \
45 .timer = DAC_DDS_PARAM_TIMER, \
46 .timer_hz = DAC_DDS_PARAM_TIMER_HZ, \
62#define DAC_DDS_NUMOF ARRAY_SIZE(dac_dds_params)
static const dac_dds_params_t dac_dds_params[]
DAC DDS configuration.
Configuration struct for a DAC DDS channel.