pulse modulation added

This commit is contained in:
Ayzen
2026-09-01 18:08:35 +03:00
parent 42795eb899
commit fd95fe3c56
6 changed files with 179 additions and 13 deletions
+4
View File
@@ -305,6 +305,10 @@ typedef struct waveform_config_t {
uint8_t saw_step;
uint8_t pat_period_base;
uint16_t pat_period;
/* Repetition period for custom SRAM patterns in microseconds;
* 0 keeps the legacy back-to-back playback. Kept separate from
* pat_period because that field carries the SAW-mode default (0xFFFF). */
uint16_t custom_pat_period_us;
uint16_t sample_count;
uint8_t hold_cycles;
uint16_t amplitude;