dac_dds_params.h File Reference

Default configuration for the DAC DDS driver. More...

Detailed Description

Default configuration for the DAC DDS driver.

Author
Benjamin Valentin benpi.nosp@m.cco@.nosp@m.beuth.nosp@m.-hoc.nosp@m.hschu.nosp@m.le.d.nosp@m.e

Definition in file dac_dds_params.h.

#include "board.h"
#include "macros/units.h"
+ Include dependency graph for dac_dds_params.h:

Go to the source code of this file.

Macros

#define DAC_DDS_NUMOF   ARRAY_SIZE(dac_dds_params)
 DAC DDS instances.
 

Variables

static const dac_dds_params_t dac_dds_params []
 DAC DDS configuration. More...
 

Set default configuration parameters for the DAC DDS driver

#define DAC_DDS_PARAM_DAC   DAC_LINE(0)
 
#define DAC_DDS_PARAM_TIMER   (TIMER_NUMOF - 1)
 
#define DAC_DDS_PARAM_TIMER_HZ   MHZ(1)
 
#define DAC_DDS_PARAMS
 

Macro Definition Documentation

◆ DAC_DDS_PARAMS

#define DAC_DDS_PARAMS
Value:
{ .dac = DAC_DDS_PARAM_DAC, \
.timer = DAC_DDS_PARAM_TIMER, \
.timer_hz = DAC_DDS_PARAM_TIMER_HZ, \
}

Definition at line 45 of file dac_dds_params.h.

Variable Documentation

◆ dac_dds_params

const dac_dds_params_t dac_dds_params[]
static
Initial value:
=
{
DAC_DDS_PARAMS
}

DAC DDS configuration.

Definition at line 55 of file dac_dds_params.h.