i2s_channel_enable() function
Enable the I2S channel
Arguments
handle
I2S channel handler - ESP_OK Start successfully - ESP_ERR_INVALID_ARG NULL pointer - ESP_ERR_INVALID_STATE This channel has not initialized or already started
Notes
Only allowed to be called when the channel state is READY, (i.e., channel has been initialized, but not started) the channel will enter RUNNING state once it is enabled successfully. Enable the channel can start the I2S communication on hardware. It will start outputting BCLK and WS signal. For MCLK signal, it will start to output when initialization is finished
i2s_channel_enable() calls 7 functions:
![]()
i2s_channel_enable()
i2s_channel_enable() reads 15 variables and writes 1 variable:
![]()
i2s_channel_enable()