Write i2s.h (and i2s.c) to enable basic I2S communication on ESP32. The goal is to send commands and data to LCD peripheral. So focus on the TX direction and the LCD mode.
- Provide access to I2S controller (I2S0 and I2S1) registers (
gsI2S0, gsI2S1);
- Create inline functions for basic configuration register (CONF, CONF1, CONF2) settings;
- Write example application that sends command and data to ST7789V LCD.
Write
i2s.h(andi2s.c) to enable basic I2S communication on ESP32. The goal is to send commands and data to LCD peripheral. So focus on the TX direction and the LCD mode.gsI2S0,gsI2S1);