//*****************************************************************************
//
// Called by the NVIC as a result of I2C3 Interrupt. I2C3 is the I2C connection
// to the MPU9150.
//
//*****************************************************************************
void MPU9150I2CIntHandler(void) {
	//
	// Pass through to the I2CM interrupt handler provided by sensor library.
	// This is required to be at application level so that I2CMIntHandler can
	// receive the instance structure pointer as an argument.
	//
	I2CMIntHandler(&g_sI2CInst);
}
Esempio n. 2
0
/********************
 * Interrupt Handler : Assign to I2C1 Module.
 ********************
 *
 * Interrupt handler function for the I2C module.
 * Calls the I2CModule Application designed by TI.
 *
 * Input:
 *  none
 * Returns:
 *  none
 */
void bmp085I2CIntHandler(void){
    I2CMIntHandler(&bmpI2cModuleInstance);
}