mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Merge branch 'feature/support_i2s_on_h2' into 'master'
i2s: support i2s on esp32h2 Closes IDF-6219 and IDF-6700 See merge request espressif/esp-idf!21948
This commit is contained in:
@@ -936,6 +936,8 @@ static inline uint32_t i2s_ll_tx_get_pdm_fs(i2s_dev_t *hw)
|
||||
*/
|
||||
static inline void i2s_ll_rx_enable_pdm(i2s_dev_t *hw, bool pdm_enable)
|
||||
{
|
||||
// Due to the lack of `PDM to PCM` module on ESP32-H4, PDM RX is not available
|
||||
HAL_ASSERT(!pdm_enable);
|
||||
hw->rx_conf.rx_pdm_en = pdm_enable;
|
||||
hw->rx_conf.rx_tdm_en = !pdm_enable;
|
||||
}
|
||||
|
Reference in New Issue
Block a user