aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/include
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-01 16:16:18 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2013-04-01 16:16:18 +0000
commit356fb1a2a03fa00622580077007622d5c5e62555 (patch)
tree9044349351cd922c62f2343ce377b4e548086e55 /os/hal/include
parent0ebb7959d58256bea8e65b2cbed282e840297880 (diff)
downloadChibiOS-356fb1a2a03fa00622580077007622d5c5e62555.tar.gz
ChibiOS-356fb1a2a03fa00622580077007622d5c5e62555.tar.bz2
ChibiOS-356fb1a2a03fa00622580077007622d5c5e62555.zip
I2Cv2 driver tested on STM32F37x.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@5526 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/include')
-rw-r--r--os/hal/include/i2c.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/os/hal/include/i2c.h b/os/hal/include/i2c.h
index c19ea64cb..b3a9ffdff 100644
--- a/os/hal/include/i2c.h
+++ b/os/hal/include/i2c.h
@@ -45,14 +45,10 @@
*/
#define I2CD_NO_ERROR 0x00 /**< @brief No error. */
#define I2CD_BUS_ERROR 0x01 /**< @brief Bus Error. */
-#define I2CD_ARBITRATION_LOST 0x02 /**< @brief Arbitration Lost
- (master mode). */
+#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_PEC_ERROR 0x10 /**< @brief PEC Error in
- reception. */
-#define I2CD_TIMEOUT 0x20 /**< @brief Hardware timeout. */
-#define I2CD_SMB_ALERT 0x40 /**< @brief SMBus Alert. */
+#define I2CD_TIMEOUT 0x10 /**< @brief Hardware timeout. */
/** @} */
/*===========================================================================*/