/* param base Pointer to FLEXIO_I2C_Type structure. param rxBuff The buffer to store the received bytes. param rxSize The number of data bytes to be received.  */
void FLEXIO_I2C_MasterReadBlocking(FLEXIO_I2C_Type *base, uint8_t *rxBuff, uint8_t rxSize)
/* param base Pointer to FLEXIO_I2C_Type structure. param rxBuff The buffer to store the received bytes. param rxSize The number of data bytes to be received.  */
void FLEXIO_I2C_MasterReadBlocking(FLEXIO_I2C_Type *base, uint8_t *rxBuff, uint8_t rxSize)
{
    assert(rxBuff);
    assert(rxSize);
    while (rxSize--)
    {
        while (!(FLEXIO_I2C_MasterGetStatusFlags(base) & kFLEXIO_I2C_RxFullFlag))
        {
        }
        *rxBuff++ = FLEXIO_I2C_MasterReadByte(base);
    }
}