i2s_channel_obj_t struct
I2S channel object handle, the control unit of the I2S driver
Fields
Parent pointer to controller object.
i2s channel communication mode.
i2s driver state. Ensuring the driver working in a correct sequence.
i2s interrupt priority flags.
Slot, clock and gpio information of each mode.
Whether start by etm tasks.
Whether stop by etm tasks.
Flag of whether APLL enabled.
Mutex semaphore for the channel operations.
Binary semaphore for writing / reading / enabling / disabling.
Power management lock, to avoid apb clock frequency changes while i2s is working.
Message queue handler, used for transporting data between interrupt and read/write task.
The gpio mask that has been reserved by I2S.
User data for callback functions.
Examples
i2s_channel_obj_t is referenced by 8 libraries and example projects: