- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

Functions | Variables
csl_i2c.c File Reference

I2C functional layer API source file. More...

`#include "csl_i2c.h"`

## Functions
CSL_Status | I2C_init (Uint16 instanceNum)
CSL_Status | I2C_config (CSL_I2cConfig *i2cConfig)
CSL_Status | I2C_getConfig (CSL_I2cConfig *i2cgetConfig)
CSL_Status | I2C_setup (CSL_I2cSetup *i2cSetup)
CSL_Status | I2C_write (Uint16 *i2cWrBuf, Uint16 dataLength, Uint16 slaveAddr, Bool masterMode, Uint16 startStopFlag, Uint16 timeout)
CSL_Status | I2C_read (Uint16 *i2cRdBuf, Uint16 dataLength, Uint16 slaveAddr, Bool masterMode, Uint16 startStopFlag, Uint16 timeout, Bool checkBus)
CSL_Status | I2C_eventEnable (CSL_I2cEvent i2cEvent)
CSL_Status | I2C_eventDisable (CSL_I2cEvent i2cEvent)
CSL_Status | I2C_setCallback (CSL_I2cIsrAddr *i2cIsrAddr)
Int16 | I2C_getEventId (void)
## Variables
CSL_I2cObj | gI2cObj [CSL_I2C_PER_CNT]
pI2cHandle | i2cHandle

## Detailed Description

I2C functional layer API source file.

Path: \(CSLPATH)\ src