aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-06 19:05:13 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2012-01-06 19:05:13 +0000
commit54c975bed0b0fbfbf6fdd1a5024c258150c4c5dc (patch)
treeb18a96788fbc46c774c9c926a60e6a19bd955bfd /os/hal/include
parentdcbb613f6d74018abc0c977b351dbd9334d1454f (diff)
downloadChibiOS-54c975bed0b0fbfbf6fdd1a5024c258150c4c5dc.tar.gz
ChibiOS-54c975bed0b0fbfbf6fdd1a5024c258150c4c5dc.tar.bz2
ChibiOS-54c975bed0b0fbfbf6fdd1a5024c258150c4c5dc.zip
I2C driver state diagram modified, documentation improvements.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@3751 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/i2c.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index ac11718bc..88b2a73c8 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -89,8 +89,9 @@ typedef enum {
I2C_UNINIT = 0, /**< Not initialized. */
I2C_STOP = 1, /**< Stopped. */
I2C_READY = 2, /**< Ready. */
- I2C_ACTIVE_TRANSMIT = 3, /**< Transmitting. */
- I2C_ACTIVE_RECEIVE = 4, /**< Receiving. */
+ I2C_ACTIVE_TX = 3, /**< Transmitting. */
+ I2C_ACTIVE_RX = 4, /**< Receiving. */
+ I2C_LOCKED = 5 /**> Bus or driver locked. */
} i2cstate_t;
#include "i2c_lld.h"