1.3.2.4.6 I2C_BB_ErrorGet Function
C
I2CBB_ERROR I2C_BB_ErrorGet(void)
Summary
Returns the error occurred during transfer.
Description
This function returns the error during transfer.
Precondition
I2C_BB_Initialize must have been called for the associated I2C instance.
Parameters
None.
Returns
Returns a I2CBB_ERROR type of status identifying the error that has occurred.
Example
if(I2C_BB_ErrorGet() == I2CBB_ERROR_NONE) { //I2C transfer is completed, go to next state. }
Remarks
None.