|
oveRTOS C API
Embedded RTOS framework — build system, configuration, and portable C API
|
I2S bus configuration descriptor. More...
#include <i2s.h>
Data Fields | |
| unsigned int | instance |
| uint32_t | sample_rate |
| uint8_t | bit_depth |
| uint8_t | channels |
| ove_i2s_dir_t | direction |
| size_t | dma_buf_samples |
I2S bus configuration descriptor.
| unsigned int ove_i2s_cfg::instance |
I2S / SAI peripheral index (0, 1 ...).
| uint32_t ove_i2s_cfg::sample_rate |
Sample rate in Hz (e.g. 44100, 48000).
| uint8_t ove_i2s_cfg::bit_depth |
Bits per sample: 16, 24, or 32.
| uint8_t ove_i2s_cfg::channels |
Channel count: 1 (mono) or 2 (stereo).
| ove_i2s_dir_t ove_i2s_cfg::direction |
Stream direction.
| size_t ove_i2s_cfg::dma_buf_samples |
Total samples in DMA buffer (both halves).