Closed brtchip-gdm closed 9 months ago
We should also add an explanation of the algorithm used to send 24-bit data to the I2Sbus to the header file comments. It expands 24 bit data into padded 32 bit data as it writes to the I2S FIFO.
Additionally the typedef enum of i2s_bclk_div
is missing a _t
at the end of the name.
/** @brief I2S BCLK speed definitions */
typedef enum
{
...
} i2s_bclk_div_t;
@BrtChipDatHoTan please review and close if acceptable. Note deprecated typedef to not break existing API.
I have reviewed it and it looks good
Add a macro in
include/registers/ft900_i2s_registers.h
to indicate the total size of the I2S FIFO buffers.