www.beck-ipc.com

@CHIP-RTOS C Library V2.00 - I2C Bus API


I2C_transmit_char

Send a single character

int I2C_transmit_char ( unsigned char slave,
                        char char_out );

Parameters

slave

7 bit slave address in B7-B1, B0=Don't care

char_out

Byte to transmit.

Return Value

0: Success
5: Bus allocated
6: Bus arbitration failed
7: Bus error
8: Timeout
9: Slave faulty or not available

Comments

The IPC@CHIP is the I2C bus master.

See Also

RTOS API

This library function invokes a RTOS software interrupt. Refer to this RTOS API function's documentation for more details.


This API List
List of C Libraries
@CHIP-RTOS Main Index


End of document