dac_cw_config_t struct
Config the cosine wave generator function in DAC module.
Fields
Enable the cosine wave generator of DAC channel.
Set the amplitude of the cosine wave generator output.
Set the phase of the cosine wave generator output.
Set frequency of cosine wave generator output. Range: 130(130Hz) ~ 55000(100KHz).
Set the voltage value of the DC component of the cosine wave generator output. Note: Unreasonable settings can cause waveform to be oversaturated. Range: -128 ~ 127.
![]()
typedef struct {