/* Generates a STOP signal, called by rx and tx routines */
static void imx_send_stop(unsigned int instance)
/* Generates a STOP signal, called by rx and tx routines */
static void imx_send_stop(unsigned int instance)
{
    HW_I2C_I2CR(instance).B.MSTA = 0;
}