diff options
author | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 17:28:18 +0000 |
---|---|---|
committer | gdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4> | 2013-04-02 17:28:18 +0000 |
commit | 675296b85232a6139da384f63bb829f9182029da (patch) | |
tree | 1e76f98b20021a0f0e4bf365111bc07943046c77 /os/hal/include | |
parent | b8f6224a68c710efb260d8591d59e6247e20ee1a (diff) | |
download | ChibiOS-675296b85232a6139da384f63bb829f9182029da.tar.gz ChibiOS-675296b85232a6139da384f63bb829f9182029da.tar.bz2 ChibiOS-675296b85232a6139da384f63bb829f9182029da.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5536 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r-- | os/hal/include/i2c.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h index b3a9ffdff..2e45450ee 100644 --- a/os/hal/include/i2c.h +++ b/os/hal/include/i2c.h @@ -48,7 +48,10 @@ #define I2CD_ARBITRATION_LOST 0x02 /**< @brief Arbitration Lost. */
#define I2CD_ACK_FAILURE 0x04 /**< @brief Acknowledge Failure. */
#define I2CD_OVERRUN 0x08 /**< @brief Overrun/Underrun. */
-#define I2CD_TIMEOUT 0x10 /**< @brief Hardware timeout. */
+#define I2CD_PEC_ERROR 0x10 /**< @brief PEC Error in
+ reception. */
+#define I2CD_TIMEOUT 0x20 /**< @brief Hardware timeout. */
+#define I2CD_SMB_ALERT 0x40 /**< @brief SMBus Alert. */
/** @} */
/*===========================================================================*/
|