dac_ll_cw_set_freq() function
Set frequency of cosine wave generator output.
Syntax
static inline void dac_ll_cw_set_freq(uint32_t freq,
uint32_t rtc8m_freq);
Arguments
rtc8m_freq
the calibrated RTC 8M clock frequency
Notes
We know that CLK8M is about 8M, but don't know the actual value. so this freq have limited error.
dac_ll_cw_set_freq() is called by 2 functions:
![]()
dac_ll_cw_set_freq()
dac_ll_cw_set_freq() reads 3 variables and writes 2 variables:
![]()
dac_ll_cw_set_freq()