i2s_channel_reconfig_std_gpio() function
Reconfigure the I2S GPIO for standard mode
Arguments
handle
I2S channel handler
gpio_cfg
Standard mode GPIO configuration, specified by user
Return value
- ESP_OK Set clock successfully - ESP_ERR_INVALID_ARG NULL pointer, invalid configuration or not standard mode - ESP_ERR_INVALID_STATE This channel is not initialized or not stopped
Notes
Only allowed to be called when the channel state is READY, i.e., channel has been initialized, but not started this function won't change the state. `i2s_channel_disable` should be called before calling this function if I2S has started. The input channel handle has to be initialized to standard mode, i.e., `i2s_channel_init_std_mode` has been called before reconfiguring
i2s_channel_reconfig_std_gpio() calls 6 functions:
![]()
i2s_channel_reconfig_std_gpio()
i2s_channel_reconfig_std_gpio() reads 12 variables:
![]()
i2s_channel_reconfig_std_gpio()