Add some missign register defines. Reformat.
[bertos.git] / bertos / cpu / cortex-m3 / io / lm3s_i2c.h
index 6e4eb03a0e7c60c5b35f5dcb306e49f84ccdb5a4..711e996fce6790a1af06b74308b42a09444b2ae0 100644 (file)
 
 
 
-#define I2C_MASTER_CMD_SINGLE_SEND                                            \\r
-                                0x00000007\r
-#define I2C_MASTER_CMD_SINGLE_RECEIVE                                         \\r
-                                0x00000007\r
-#define I2C_MASTER_CMD_BURST_SEND_START                                       \\r
-                                0x00000003\r
-#define I2C_MASTER_CMD_BURST_SEND_CONT                                        \\r
-                                0x00000001\r
-#define I2C_MASTER_CMD_BURST_SEND_FINISH                                      \\r
-                                0x00000005\r
-#define I2C_MASTER_CMD_BURST_SEND_ERROR_STOP                                  \\r
-                                0x00000004\r
-#define I2C_MASTER_CMD_BURST_RECEIVE_START                                    \\r
-                                0x0000000b\r
-#define I2C_MASTER_CMD_BURST_RECEIVE_CONT                                     \\r
-                                0x00000009\r
-#define I2C_MASTER_CMD_BURST_RECEIVE_FINISH                                   \\r
-                                0x00000005\r
-#define I2C_MASTER_CMD_BURST_RECEIVE_ERROR_STOP                               \\r
-                                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. */