Struct SYN_DDS¶
DDS Generator State Instance.
#include <syn_dds.h>
Public Attributes¶
| Type | Name |
|---|---|
| q16_t | amplitude |
| uint16_t | duty_q16 |
| q16_t | offset |
| uint32_t | phase |
| uint32_t | phase_step |
| uint32_t | rand_state |
| SYN_DDS_Waveform | type |
Public Attributes Documentation¶
variable amplitude¶
Q16.16 Peak Amplitude (e.g. 1.0)
variable duty_q16¶
PWM Duty cycle (0 to 65536 for 0-100%)
variable offset¶
Q16.16 DC Offset
variable phase¶
32-bit Phase accumulator (0 to 2^32-1)
variable phase_step¶
Phase increment per sample step
variable rand_state¶
PRNG state for noise generator
variable type¶
Waveform type
The documentation for this class was generated from the following file src/syntropic/dsp/syn_dds.h