mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-01 18:50:34 +03:00
feat(i2s): support to lazy constitute full-duplex mode
This commit is contained in:
@@ -296,6 +296,8 @@ typedef struct {
|
||||
* @brief Initialize I2S channel to standard mode
|
||||
* @note Only allowed to be called when the channel state is REGISTERED, (i.e., channel has been allocated, but not initialized)
|
||||
* and the state will be updated to READY if initialization success, otherwise the state will return to REGISTERED.
|
||||
* @note When initialize the STD mode with a same configuration as another channel on a same port,
|
||||
* these two channels can constitude as full-duplex mode automatically
|
||||
*
|
||||
* @param[in] handle I2S channel handler
|
||||
* @param[in] std_cfg Configurations for standard mode, including clock, slot and GPIO
|
||||
|
||||
@@ -196,6 +196,8 @@ typedef struct {
|
||||
* @brief Initialize I2S channel to TDM mode
|
||||
* @note Only allowed to be called when the channel state is REGISTERED, (i.e., channel has been allocated, but not initialized)
|
||||
* and the state will be updated to READY if initialization success, otherwise the state will return to REGISTERED.
|
||||
* @note When initialize the TDM mode with a same configuration as another channel on a same port,
|
||||
* these two channels can constitude as full-duplex mode automatically
|
||||
*
|
||||
* @param[in] handle I2S channel handler
|
||||
* @param[in] tdm_cfg Configurations for TDM mode, including clock, slot and GPIO
|
||||
|
||||
Reference in New Issue
Block a user