I2S Device Mode

group x3ep_I2S_Device_Mode

Defines

I2S_DeviceMode_Master ((uint32_t)0x00)

Configure the device mode as I2S master.

I2S_DeviceMode_Slave ((uint32_t)0x01)

Configure the device mode as I2S slave.

IS_I2S_DEVICE_MODE(DEVICE)                                                      (((DEVICE) == I2S_DeviceMode_Master

) || \

((DEVICE) ==

I2S_DeviceMode_Slave))

Check whether is the I2S device mode.