diff options
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/i2c.h | 5 |
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"
|