Loading...
Searching...
No Matches
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.
 

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_NUMOF

#define DAC_DDS_NUMOF   ARRAY_SIZE(dac_dds_params)

DAC DDS instances.

Definition at line 62 of file dac_dds_params.h.

◆ DAC_DDS_PARAM_DAC

#define DAC_DDS_PARAM_DAC   DAC_LINE(0)

Definition at line 34 of file dac_dds_params.h.

◆ DAC_DDS_PARAM_TIMER

#define DAC_DDS_PARAM_TIMER   (TIMER_NUMOF - 1)

Definition at line 37 of file dac_dds_params.h.

◆ DAC_DDS_PARAM_TIMER_HZ

#define DAC_DDS_PARAM_TIMER_HZ   MHZ(1)

Definition at line 40 of file dac_dds_params.h.

◆ 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 44 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 54 of file dac_dds_params.h.