SRD Standelone programmation box: i2c_common.h File Reference

| SRD Standelone programmation box 2.0 (16/11/15 10:00:00) Documentation of the SRD standelone programmation box

- Main Page
- Data Structures
- Files

- File List
- Globals

All Data Structures Files Functions Variables Enumerations Enumerator Macros Pages
Enumerations
i2c_common.h File Reference

Headerfile for common I2C peripheral definition. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

## Enumerations

enum | tI2CDataDir { I2C_DATADIR_RECEIVE = 0, I2C_DATADIR_TRANSMIT = 1 }
| Define the I2C direction. More...
enum | tI2CAck { I2C_ACK = 0, I2C_NACK = 1 }
| Define the I2C acknowledge. More...

## Detailed Description

Headerfile for common I2C peripheral definition.

Author
  Thibaut LALUQUE 3D-Ouest

Date
  26/09/2014

Version
  1.0

supported device : MKL16Z256VLH4 All Right Reserved.

Definition in file i2c_common.h.

## Enumeration Type Documentation

enum tI2CAck

Define the I2C acknowledge.

Enumerator
I2C_ACK |
I2C_NACK |

Definition at line 67 of file i2c_common.h.

67 {
68 I2C_ACK = 0,
69 I2C_NACK = 1
70 }tI2CAck;
I2C_ACK
Definition: i2c_common.h:68
I2C_NACK
Definition: i2c_common.h:69
tI2CAck
tI2CAck
Define the I2C acknowledge.
Definition: i2c_common.h:67

enum tI2CDataDir

Define the I2C direction.

Enumerator
I2C_DATADIR_RECEIVE |
I2C_DATADIR_TRANSMIT |

Definition at line 56 of file i2c_common.h.

56 {
57 I2C_DATADIR_RECEIVE = 0,
58 I2C_DATADIR_TRANSMIT = 1
59 }tI2CDataDir;
I2C_DATADIR_TRANSMIT
Definition: i2c_common.h:58
I2C_DATADIR_RECEIVE
Definition: i2c_common.h:57
tI2CDataDir
tI2CDataDir
Define the I2C direction.
Definition: i2c_common.h:56