I2S Data Width

group x3ep_I2S_Data_Width

Defines

I2S_Data_Width_16Bits ((uint32_t)0x00)

Configure the data width as 16 bits.

I2S_Data_Width_20Bits ((uint32_t)0x01)

Configure the data width as 20 bits.

I2S_Data_Width_24Bits ((uint32_t)0x02)

Configure the data width as 24 bits.

I2S_Data_Width_8Bits ((uint32_t)0x03)

Configure the data width as 8 bits.

I2S_Data_Width_32Bits ((uint32_t)0x04)

Configure the data width as 32 bits.

IS_I2S_DATA_WIDTH(WIDTH)                                                      (((WIDTH) == I2S_Data_Width_16Bits

) || \

((WIDTH) ==

I2S_Data_Width_24Bits

) || \

((WIDTH) ==

I2S_Data_Width_8Bits

)  || \

((WIDTH) ==

I2S_Data_Width_20Bits

) || \

((WIDTH) ==

I2S_Data_Width_32Bits))

Check whether is the I2S data width.