Paparazzi UAS  v5.8.2_stable-0-g6260b7c
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
i2c_arch.h File Reference

Handling of I2C hardware for LPC21xx. More...

#include "LPC21xx.h"
+ Include dependency graph for i2c_arch.h:

Go to the source code of this file.

Macros

#define I2C_START   0x08
 
#define I2C_RESTART   0x10
 
#define I2C_MT_SLA_ACK   0x18
 
#define I2C_MT_SLA_NACK   0x20
 
#define I2C_MT_DATA_ACK   0x28
 
#define I2C_MR_SLA_ACK   0x40
 
#define I2C_MR_SLA_NACK   0x48
 
#define I2C_MR_DATA_ACK   0x50
 
#define I2C_MR_DATA_NACK   0x58
 

Detailed Description

Handling of I2C hardware for LPC21xx.

Definition in file i2c_arch.h.

Macro Definition Documentation

#define I2C_MR_DATA_ACK   0x50

Definition at line 44 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_MR_DATA_NACK   0x58

Definition at line 45 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_MR_SLA_ACK   0x40

Definition at line 42 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_MR_SLA_NACK   0x48

Definition at line 43 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_MT_DATA_ACK   0x28

Definition at line 41 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_MT_SLA_ACK   0x18

Definition at line 39 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_MT_SLA_NACK   0x20

Definition at line 40 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_RESTART   0x10

Definition at line 38 of file i2c_arch.h.

Referenced by I2cAutomaton().

#define I2C_START   0x08

Definition at line 37 of file i2c_arch.h.

Referenced by I2cAutomaton().