U2C_RESULT U2C_GetAck (
HANDLE hDevice
);
The U2C_GetAck function checks for acknowledge from I2C slave device. This function does not finish the I2C bus transaction after transmission, so at the end of I2C transaction U2C_Stop() function has to be called.
- Parameters:
-
| hDevice | Handle to the U2C-12 device |
- Return values:
-
| U2C_SUCCESS | I2C slave device provided acknowledge. |
| U2C_HARDWARE_NOT_FOUND | U2C-12 device referenced by hDevice handle was not found |
| U2C_NO_ACK | I2C slave device did not provide acknowledge. |
|