- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
CSL_I2cSetup Struct Reference
I2C Data Structures

I2C Setup structure. More...

`#include <csl_i2c.h>`

## Data Fields
CSL_I2cAddrMode | addrMode
| I2C address mode - 7bit/10bit.
CSL_I2cBitCount | bitCount
| Number of bits in each transferred word.
CSL_I2cLoopback | loopBack
| Enables/Disables I2C data loopback mode.
CSL_I2cFreeMode | freeMode
| Enables/Disables I2C free running mode.
CSL_I2cRepeatMode | repeatMode
| Enables/Disables I2C repeat mode.
Uint16 | ownAddr
| I2C own slave address - don't care if master.
Uint32 | sysInputClk
| value of the system clock (In MHz)
Uint32 | i2cBusFreq
| I2C bus frequency in KHz- a number between 10 and 400.

## Detailed Description

I2C Setup structure.

This structure contains the I2C setup parameters. Using this structure individual parameters can be passed

The documentation for this struct was generated from the following file:

- csl_i2c.h