/******************************************************************************* * Function Name: I2CM_I2CMasterDisableEcAm ****************************************************************************//** * * Disables externally clocked address match to enable master operation * in active mode. * *******************************************************************************/ static void I2CM_I2CMasterDisableEcAm(void) { /* Disables externally clocked address match to enable master operation in active mode. * This applicable only for Multi-Master-Slave with wakeup enabled. Ticket ID#192742 */ if (0u != (I2CM_CTRL_REG & I2CM_CTRL_EC_AM_MODE)) { /* Enable external address match logic */ I2CM_Stop(); I2CM_CTRL_REG &= (uint32) ~I2CM_CTRL_EC_AM_MODE; I2CM_Enable(); } }
/******************************************************************************* * Function Name: I2CM_CyBtldrCommStop ******************************************************************************** * * Summary: * Disables the I2C component. * * Parameters: * None * * Return: * None * *******************************************************************************/ void I2CM_I2CCyBtldrCommStop(void) { I2CM_Stop(); }