![]() |
nRF Connect SDK API 3.3.99
|
Tone generator header. More...
#include <stdint.h>#include <stddef.h>Go to the source code of this file.
Functions | |
| int | tone_gen (int16_t *tone, size_t *tone_size, uint16_t tone_freq_hz, uint32_t smpl_freq_hz, float amplitude) |
| Generates one full pulse-code modulation (PCM) period of a tone with the given parameters. | |
| int | tone_gen_size (void *tone, size_t *tone_size, uint16_t tone_freq_hz, uint32_t sample_freq_hz, uint8_t sample_bits, uint8_t carrier_bits, float amplitude) |
| Generates one full pulse-code modulation (PCM) period of a tone with the given parameters. | |
Tone generator header.