@CHIP-RTOS C Library V2.06 - I2C Bus API
I2C_slave_sendbyte
Send a byte to I2C bus as slave void I2C_slave_sendbyte ( unsigned char data, unsigend char next ); Parameters
data
- Byte to write
next
- 1: Signal that more bytes are available
0: Signal that this is the last byte that can be transfered
Return Value
- -- none --
Comments
- This function should be used inside the I2C interrupt handler,
if the I2C slave interface is used and the return state signals that
the master wants to read a byte.
See Also
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V0.90 |
Supported by @CHIP-RTOS C Library since version
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|