nrf_drv_i2s_config_t

nRF5 SDK v12.1.0

I2S driver configuration structure. More...

#include <nrf_drv_i2s.h>

Data Fields

uint8_t sck_pin
SCK pin number.
uint8_t lrck_pin
LRCK pin number.
uint8_t mck_pin
MCK pin number. More...
uint8_t sdout_pin
SDOUT pin number. More...
uint8_t sdin_pin
SDIN pin number. More...
uint8_t irq_priority
Interrupt priority.
nrf_i2s_mode_t mode
Mode of operation.
nrf_i2s_format_t format
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.
nrf_i2s_mck_t mck_setup
Master clock setup.
nrf_i2s_ratio_t ratio
MCK/LRCK ratio.

Detailed Description

I2S driver configuration structure.

Field Documentation

uint8_t nrf_drv_i2s_config_t::mck_pin

MCK pin number.

Optional. Use NRF_DRV_I2S_PIN_NOT_USED if this signal is not needed.

uint8_t nrf_drv_i2s_config_t::sdin_pin

SDIN pin number.

Optional. Use NRF_DRV_I2S_PIN_NOT_USED if this signal is not needed.

uint8_t nrf_drv_i2s_config_t::sdout_pin

SDOUT pin number.

Optional. Use NRF_DRV_I2S_PIN_NOT_USED if this signal is not needed.

  • components/drivers_nrf/i2s/nrf_drv_i2s.h