ESP32 I2S driver event queue
Posted: Fri Apr 24, 2020 9:12 am
The i2S driver can be installed whilst passing an event queue handle and depth to the install function.
But how is an event put on to that queue? How do I get the handle back from the installed driver? Is it even worth using that queue function? Currently I am passing the handle to a queue to a task dedicated to reading the I2S input and passing just a flag on a queue to tell another task that a packet of data is available.
But how is an event put on to that queue? How do I get the handle back from the installed driver? Is it even worth using that queue function? Currently I am passing the handle to a queue to a task dedicated to reading the I2S input and passing just a flag on a queue to tell another task that a packet of data is available.