I've got some code running based off hello example and wanted to add in the I2C funtionality that's used in the qs-logger example to read data from the MPU9150 motion sensor chip.
In the qs-logger example, the ISR table in startup_ccs.c points I2C3 interrupts to a routine called MPU9150I2CIntHandler that's in acquire.c but this routine seems to just pass the interrupt onto the I2CMIntHandler...
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);
}
When I copied this stiff across into my code (creating a hello-acquire.c and hello-acquire.h), it chokes on the symbol I2CMIntHandler which is unresolved.
My hello-acquire.c routine has an #include "sensorlib/i2cm_drv.h" statement but the code I really need is in C:\ti\TivaWare_C_Series-2.0.1.11577\sensorlib\i2cm_drv.c but I can't see where that is included in the original qs-logger routine.
Any light anyone can shed on this is much appreciated.
