/* param base Pointer to FLEXIO_I2S_Type structure. param handle FlexIO I2S handle pointer. param format Pointer to audio data format structure. param srcClock_Hz FlexIO I2S bit clock source frequency in Hz. This parameter should be 0 while in slave mode.  */
void FLEXIO_I2S_TransferSetFormat(FLEXIO_I2S_Type *base, flexio_i2s_handle_t *handle, flexio_i2s_format_t *format, uint32_t srcClock_Hz)
/* param base Pointer to FLEXIO_I2S_Type structure. param handle FlexIO I2S handle pointer. param format Pointer to audio data format structure. param srcClock_Hz FlexIO I2S bit clock source frequency in Hz. This parameter should be 0 while in slave mode.  */
void FLEXIO_I2S_TransferSetFormat(FLEXIO_I2S_Type *base, flexio_i2s_handle_t *handle, flexio_i2s_format_t *format, uint32_t srcClock_Hz)
{
    assert((handle != NULL) && (format != NULL));
    handle->bitWidth = format->bitWidth;
    if (srcClock_Hz != 0UL)
    {
        FLEXIO_I2S_MasterSetFormat(base, format, srcClock_Hz);
    }
    else
    {
        FLEXIO_I2S_SlaveSetFormat(base, format);
    }
}