![]() |
nrfx 4.5.0
|
I2S driver configuration structure. More...
#include <nrfx_i2s.h>
Data Fields | |
| uint32_t | sck_pin |
| SCK pin number. | |
| uint32_t | lrck_pin |
| LRCK pin number. | |
| uint32_t | mck_pin |
| MCK pin number. | |
| uint32_t | sdout_pin |
| SDOUT pin number. | |
| uint32_t | sdin_pin |
| SDIN pin number. | |
| uint8_t | irq_priority |
| Interrupt priority. | |
| nrf_i2s_mode_t | mode |
| Mode of operation (master or slave). | |
| nrf_i2s_format_t | format |
| I2S frame format. | |
| nrf_i2s_align_t | alignment |
| Alignment of sample within a frame. | |
| nrf_i2s_swidth_t | sample_width |
| Sample width. | |
| nrf_i2s_channels_t | channels |
| Enabled channels. | |
| nrfx_i2s_prescalers_t | prescalers |
| Clock prescalers. | |
| nrf_i2s_clksrc_t | clksrc |
| Clock source selection. | |
| bool | skip_gpio_cfg |
| Skip GPIO configuration of pins. | |
| bool | skip_psel_cfg |
| Skip pin selection configuration. | |
I2S driver configuration structure.
| uint32_t nrfx_i2s_config_t::mck_pin |
MCK pin number.
Optional. Use NRF_I2S_PIN_NOT_CONNECTED if this signal is not needed.
| uint32_t nrfx_i2s_config_t::sdin_pin |
SDIN pin number.
Optional. Use NRF_I2S_PIN_NOT_CONNECTED if this signal is not needed.
| uint32_t nrfx_i2s_config_t::sdout_pin |
SDOUT pin number.
Optional. Use NRF_I2S_PIN_NOT_CONNECTED if this signal is not needed.
| bool nrfx_i2s_config_t::skip_gpio_cfg |
Skip GPIO configuration of pins.
When set to true, the driver does not modify any GPIO parameters of the used pins. Those parameters are supposed to be configured externally before the driver is initialized.
| bool nrfx_i2s_config_t::skip_psel_cfg |
Skip pin selection configuration.
When set to true, the driver does not modify pin select registers in the peripheral. Those registers are supposed to be set up externally before the driver is initialized.