I2C. Added forgotten I2C3 interface

git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/i2c_dev@3555 35acf78f-673a-0410-8e92-d51de3d6d3f4
master
barthess 2011-12-06 07:13:26 +00:00
parent e05d85d2bd
commit 23d0cbc3b5
1 changed files with 17 additions and 0 deletions

View File

@ -61,6 +61,15 @@
#define STM32_I2C_USE_I2C2 TRUE
#endif
/**
* @brief I2C3 driver enable switch.
* @details If set to @p TRUE the support for I2C3 is included.
* @note The default is @p TRUE.
*/
#if !defined(STM32_I2C_USE_I2C3) || defined(__DOXYGEN__)
#define STM32_I2C_USE_I2C3 TRUE
#endif
/**
* @brief I2C1 interrupt priority level setting.
* @note @p BASEPRI_KERNEL >= @p STM32_I2C_I2C1_IRQ_PRIORITY > @p PRIORITY_PENDSV.
@ -76,6 +85,14 @@
#if !defined(STM32_I2C_I2C2_IRQ_PRIORITY) || defined(__DOXYGEN__)
#define STM32_I2C_I2C2_IRQ_PRIORITY 0xA0
#endif
/**
* @brief I2C2 interrupt priority level setting.
* @note @p BASEPRI_KERNEL >= @p STM32_I2C_I2C2_IRQ_PRIORITY > @p PRIORITY_PENDSV.
*/
#if !defined(STM32_I2C_I2C3_IRQ_PRIORITY) || defined(__DOXYGEN__)
#define STM32_I2C_I2C3_IRQ_PRIORITY 0xA0
#endif
/** @} */
/*===========================================================================*/