sam3n: fix confusion between interrupt numbers and peripheral ids.
[bertos.git] / bertos / cpu / cortex-m3 / io / lm3s_i2c.h
index 844ce1151415ea82e832a5001450f707921899fc..711e996fce6790a1af06b74308b42a09444b2ae0 100644 (file)
 
 
 
-#define I2C_MASTER_CMD_SINGLE_SEND                                            \
-                                0x00000007
-#define I2C_MASTER_CMD_SINGLE_RECEIVE                                         \
-                                0x00000007
-#define I2C_MASTER_CMD_BURST_SEND_START                                       \
-                                0x00000003
-#define I2C_MASTER_CMD_BURST_SEND_CONT                                        \
-                                0x00000001
-#define I2C_MASTER_CMD_BURST_SEND_FINISH                                      \
-                                0x00000005
-#define I2C_MASTER_CMD_BURST_SEND_ERROR_STOP                                  \
-                                0x00000004
-#define I2C_MASTER_CMD_BURST_RECEIVE_START                                    \
-                                0x0000000b
-#define I2C_MASTER_CMD_BURST_RECEIVE_CONT                                     \
-                                0x00000009
-#define I2C_MASTER_CMD_BURST_RECEIVE_FINISH                                   \
-                                0x00000005
-#define I2C_MASTER_CMD_BURST_RECEIVE_ERROR_STOP                               \
-                                0x00000004
+#define I2C_MASTER_CMD_SINGLE_SEND                     0x00000007
+#define I2C_MASTER_CMD_SINGLE_RECEIVE                  0x00000007
+
+#define I2C_MASTER_CMD_BURST_SEND_START                0x00000003
+#define I2C_MASTER_CMD_BURST_SEND_CONT                 0x00000001
+#define I2C_MASTER_CMD_BURST_SEND_FINISH               0x00000005
+#define I2C_MASTER_CMD_BURST_SEND_ERROR_STOP           0x00000004
+
+#define I2C_MASTER_CMD_BURST_RECEIVE_START             0x0000000b
+#define I2C_MASTER_CMD_BURST_RECEIVE_CONT              0x00000009
+#define I2C_MASTER_CMD_BURST_RECEIVE_FINISH            0x00000005
+#define I2C_MASTER_CMD_BURST_RECEIVE_ERROR_STOP        0x00000004
 
 
 /* The following definitions are deprecated. */