- Main Page
- Modules
- Data Structures
- Files

Typedefs | Enumerations
I2C Enumerated Data Types
I2C

## Typedefs
typedef enum CSL_I2cEvent | CSL_I2cEvent
| Enum for I2C events.
typedef enum CSL_I2cAddrMode | CSL_I2cAddrMode
| Enum for I2C Address mode.
typedef enum CSL_I2cBitCount | CSL_I2cBitCount
| Enum for I2C bit count value.
typedef enum CSL_I2cLoopback | CSL_I2cLoopback
| Enum for I2C loopback mode bit.
typedef enum CSL_I2cFreeMode | CSL_I2cFreeMode
| Enum for I2C free mode bit.
typedef enum CSL_I2cMasterMode | CSL_I2cMasterMode
| Enum for I2C master mode bit.
typedef enum CSL_I2cRepeatMode | CSL_I2cRepeatMode
| Enum for I2C repeat mode bit.
## Enumerations
enum | CSL_I2cEvent { CSL_I2C_EVENT_AL, CSL_I2C_EVENT_NACK, CSL_I2C_EVENT_ARDY, CSL_I2C_EVENT_ICRRDY, CSL_I2C_EVENT_ICXRDY, CSL_I2C_EVENT_SCD, CSL_I2C_EVENT_AAS }
| Enum for I2C events. More...
enum | CSL_I2cAddrMode { CSL_I2C_ADDR_7BIT = 0, CSL_I2C_ADDR_10BIT }
| Enum for I2C Address mode. More...
enum | CSL_I2cBitCount { CSL_I2C_BC_8BITS = 0, CSL_I2C_BC_RSVD, CSL_I2C_BC_2BITS, CSL_I2C_BC_3BITS, CSL_I2C_BC_4BITS, CSL_I2C_BC_5BITS, CSL_I2C_BC_6BITS, CSL_I2C_BC_7BITS }
| Enum for I2C bit count value. More...
enum | CSL_I2cLoopback { CSL_I2C_LOOPBACK_DISABLE = 0, CSL_I2C_LOOPBACK_ENABLE }
| Enum for I2C loopback mode bit. More...
enum | CSL_I2cFreeMode { CSL_I2C_FREEMODE_DISABLE = 0, CSL_I2C_FREEMODE_ENABLE }
| Enum for I2C free mode bit. More...
enum | CSL_I2cMasterMode { CSL_I2C_MASTERMODE_DISABLE = 0, CSL_I2C_MASTERMODE_ENABLE }
| Enum for I2C master mode bit. More...
enum | CSL_I2cRepeatMode { CSL_I2C_REPEATMODE_DISABLE = 0, CSL_I2C_REPEATMODE_ENABLE }
| Enum for I2C repeat mode bit. More...

## Enumeration Type Documentation

enum CSL_I2cAddrMode

Enum for I2C Address mode.

Enumerator:

  CSL_I2C_ADDR_7BIT | I2C operates in 7 - bit addressing mode
  CSL_I2C_ADDR_10BIT | I2C operates in 10 - bit addressing mode

enum CSL_I2cBitCount

Enum for I2C bit count value.

Enumerator:

  CSL_I2C_BC_8BITS | I2C Reads/Writes 8 bits in each data word transferred
  CSL_I2C_BC_RSVD | This is reserved value - CANNOT BE USED
  CSL_I2C_BC_2BITS | I2C Reads/Writes 2 bits in each data word transferred
  CSL_I2C_BC_3BITS | I2C Reads/Writes 3 bits in each data word transferred
  CSL_I2C_BC_4BITS | I2C Reads/Writes 4 bits in each data word transferred
  CSL_I2C_BC_5BITS | I2C Reads/Writes 5 bits in each data word transferred
  CSL_I2C_BC_6BITS | I2C Reads/Writes 6 bits in each data word transferred
  CSL_I2C_BC_7BITS | I2C Reads/Writes 7 bits in each data word transferred

enum CSL_I2cEvent

Enum for I2C events.

Enumerator:

  CSL_I2C_EVENT_AL | Arbitration Loss event
  CSL_I2C_EVENT_NACK | No ACKnowledgement event
  CSL_I2C_EVENT_ARDY | register Access ReaDY event
  CSL_I2C_EVENT_ICRRDY | I2C Receive ReaDY event
  CSL_I2C_EVENT_ICXRDY | I2C tX ReaDY event
  CSL_I2C_EVENT_SCD | Stop Condition Detected event
  CSL_I2C_EVENT_AAS | Address As Slave event

enum CSL_I2cFreeMode

Enum for I2C free mode bit.

Enumerator:

  CSL_I2C_FREEMODE_DISABLE | I2C free running mode disabled
  CSL_I2C_FREEMODE_ENABLE | I2C free running mode enabled

enum CSL_I2cLoopback

Enum for I2C loopback mode bit.

Enumerator:

  CSL_I2C_LOOPBACK_DISABLE | I2C loopback mode disabled
  CSL_I2C_LOOPBACK_ENABLE | I2C loopback mode enabled

enum CSL_I2cMasterMode

Enum for I2C master mode bit.

Enumerator:

  CSL_I2C_MASTERMODE_DISABLE | I2C master mode disabled
  CSL_I2C_MASTERMODE_ENABLE | I2C master mode enabled

enum CSL_I2cRepeatMode

Enum for I2C repeat mode bit.

Enumerator:

  CSL_I2C_REPEATMODE_DISABLE | I2C repeat mode disabled
  CSL_I2C_REPEATMODE_ENABLE | I2C repeat mode enabled