[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [5784] breaking I2C
From: |
antoine drouin |
Subject: |
[paparazzi-commits] [5784] breaking I2C |
Date: |
Thu, 02 Sep 2010 14:56:18 +0000 |
Revision: 5784
http://svn.sv.gnu.org/viewvc/?view=rev&root=paparazzi&revision=5784
Author: poine
Date: 2010-09-02 14:56:18 +0000 (Thu, 02 Sep 2010)
Log Message:
-----------
breaking I2C
Modified Paths:
--------------
paparazzi3/trunk/sw/airborne/arm7/i2c_hw.h
Modified: paparazzi3/trunk/sw/airborne/arm7/i2c_hw.h
===================================================================
--- paparazzi3/trunk/sw/airborne/arm7/i2c_hw.h 2010-09-02 14:41:16 UTC (rev
5783)
+++ paparazzi3/trunk/sw/airborne/arm7/i2c_hw.h 2010-09-02 14:56:18 UTC (rev
5784)
@@ -4,6 +4,23 @@
#include "LPC21xx.h"
+
+#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
+
+
+#define I2C_IDLE 0
+#define I2C_BUSY 1
+
+
+
#ifdef USE_I2C0
#ifdef I2C0_STOP_HANDLER
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [paparazzi-commits] [5784] breaking I2C,
antoine drouin <=