I2C_ReadSDA Function

Reads I2C SDA line status

Syntax

UBYTE I2C_ReadSDA()

Parameters

None

Return Value

ERRCODE:
- 1 if bus is not available.
- SUCCESS if operation is successful.

Remarks

UBYTE - SDA line status ( 0 or 1)

Requirements

i2c.h

Example

N/A