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