From 675296b85232a6139da384f63bb829f9182029da Mon Sep 17 00:00:00 2001 From: gdisirio Date: Tue, 2 Apr 2013 17:28:18 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5536 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/include/i2c.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'os/hal/include') 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. */ /** @} */ /*===========================================================================*/ -- cgit v1.2.3