28 #if (HAL_USE_I2S == TRUE) || defined(__DOXYGEN__) 47 #if !defined(PLATFORM_I2S_USE_I2S1) || defined(__DOXYGEN__) 48 #define PLATFORM_I2S_USE_I2S1 FALSE 123 #if (PLATFORM_I2S_USE_I2S1 == TRUE) && !defined(__DOXYGEN__) I2SDriver I2SD1
I2S2 driver identifier.
i2sstate_t
Driver state machine possible states.
void i2s_lld_init(void)
Low level I2S driver initialization.
void i2s_lld_stop(I2SDriver *i2sp)
Deactivates the I2S peripheral.
Driver configuration structure.
void(* i2scallback_t)(I2SDriver *i2sp, size_t offset, size_t n)
I2S notification callback type.
const void * tx_buffer
Transmission buffer pointer.
Structure representing an I2S driver.
i2sstate_t state
Driver state.
void i2s_lld_start_exchange(I2SDriver *i2sp)
Starts a I2S data exchange.
void * rx_buffer
Receive buffer pointer.
i2scallback_t end_cb
Callback function called during streaming.
const I2SConfig * config
Current configuration data.
void i2s_lld_stop_exchange(I2SDriver *i2sp)
Stops the ongoing data exchange.
void i2s_lld_start(I2SDriver *i2sp)
Configures and activates the I2S peripheral.
size_t size
TX and RX buffers size as number of samples.