diff options
author | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-19 20:45:57 +0000 |
---|---|---|
committer | barthess <barthess@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2011-07-19 20:45:57 +0000 |
commit | b569145b24a59d0741a26885767efa04146f78a5 (patch) | |
tree | 0a0b28c584bef6703c71db57efdcbe0d282f9d78 /os/hal/include | |
parent | e02d3607dc1dc88966a78cefc7aadb5eba941908 (diff) | |
download | ChibiOS-b569145b24a59d0741a26885767efa04146f78a5.tar.gz ChibiOS-b569145b24a59d0741a26885767efa04146f78a5.tar.bz2 ChibiOS-b569145b24a59d0741a26885767efa04146f78a5.zip |
I2C. STOP waitings was replaced by GPT callback functions. Need much of testing.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3166 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/i2c.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index 19eab3b35..16d6f77b6 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -79,10 +79,11 @@ */
typedef enum {
/* master part */
- I2C_UNINIT = 0, /**< @brief Not initialized. */
- I2C_STOP = 1, /**< @brief Stopped. */
- I2C_READY = 2, /**< @brief Ready. */
- I2C_ACTIVE = 3, /**< @brief In communication. */
+ I2C_UNINIT = 0, /**< @brief Not initialized. */
+ I2C_STOP = 1, /**< @brief Stopped. */
+ I2C_READY = 2, /**< @brief Ready. */
+ I2C_ACTIVE_TRANSMIT = 3,/**< @brief Transmit in progress. */
+ I2C_ACTIVE_RECEIVE = 4, /**< @brief Receive in progress. */
/* Slave part. Not realized. */
I2C_SACTIVE = 10,
|