<< Previous | Next >> | |
|
Description
- Sends 8 bits to slave. Checks if slave pulls data low for ACK on clock pulse. Allows for clocks stretching on SCL going high.
Parameters
- d
- Character to send
Return value
0
: Success.
-1
: Clock stretching timeout.
1
: NAK sent from slave.Library
- I2C.LIB
See also
- Technical Note 215, Using the I2C Bus with a Rabbit Microprocessor.
Dynamic C Functions | << Previous | Next >> | rabbit.com |