www.beck-ipc.com

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


I2C_init

Initialize the I2C Bus

void I2C_init ( void );

Parameters

-- none --

Return Value

-- none --

Comments

This function configures two of the programmable I/O (PIO) pins for usage as I2C bus data and clock signals.

The user can specify which two PIO are used for I2C clock and data.   After calling this initialization function, these two pins will no longer be available as PIO pins unless the PFE Enable function is called for these pins following this function call.

See Also

RTOS API

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

Related Topics

PFE: Enable Programmable I/O Pins

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


End of document