diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-10 17:21:20 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-02-10 17:21:20 +0000 |
commit | 12778b0075823d399f0ac911bc9725fe8c8312c1 (patch) | |
tree | 346cb205953913f66628d455532dd3911d3204f4 /os/hal/include/i2c.h | |
parent | eafaa7d6cfafb767ddf58caba640d63f418c5af6 (diff) | |
download | ChibiOS-12778b0075823d399f0ac911bc9725fe8c8312c1.tar.gz ChibiOS-12778b0075823d399f0ac911bc9725fe8c8312c1.tar.bz2 ChibiOS-12778b0075823d399f0ac911bc9725fe8c8312c1.zip |
I2C. Cleanups.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@2730 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include/i2c.h')
-rw-r--r-- | os/hal/include/i2c.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 5f4b2cc6f..8b057f527 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -80,7 +80,12 @@ typedef enum { I2C_MTRANSMIT = 6, /**< Master transmitting. */
I2C_MRECEIVE = 7, /**< Master receiving. */
I2C_MWAIT_TF = 8, /**< Master wait Transmission Finished */
- I2C_MERROR = 9 /**< Error condition. */
+ I2C_MERROR = 9, /**< Error condition. */
+
+ // slave part
+ I2C_SACTIVE = 10,
+ I2C_STRANSMIT = 11,
+ I2C_SRECEIVE = 12,
} i2cstate_t;
#include "i2c_lld.h"
|