1.3.2.4.12 I2CBB_CALLBACK Typedef
1.3.2.4.12 C
typedef void (* I2CBB_CALLBACK)( uintptr_t context );
1.3.2.4.12 Summary
I2C Bit Bang library callback function pointer.
1.3.2.4.12 Description
This data type defines the I2C callback function pointer.
1.3.2.4.12 Example
void MyI2CCallback(uintptr_t context)
{
// This function will be called when the transfer completes. Note
// that this function executes in the context of the I2C interrupt.
}
I2C_BB_Initialize();
I2C_BB_CallbackRegister(MyI2CCallback, NULL);
1.3.2.4.12 Remarks
None.
