|
|
|
@ -80,14 +80,14 @@
|
|
|
|
* @brief Enables the I2C subsystem.
|
|
|
|
* @brief Enables the I2C subsystem.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
|
|
|
|
#if !defined(HAL_USE_I2C) || defined(__DOXYGEN__)
|
|
|
|
#define HAL_USE_I2C TRUE
|
|
|
|
#define HAL_USE_I2C FALSE
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* @brief Enables the I2S subsystem.
|
|
|
|
* @brief Enables the I2S subsystem.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
|
|
|
|
#if !defined(HAL_USE_I2S) || defined(__DOXYGEN__)
|
|
|
|
#define HAL_USE_I2S TRUE
|
|
|
|
#define HAL_USE_I2S FALSE
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
/**
|
|
|
|
@ -213,7 +213,7 @@
|
|
|
|
* @brief Enables the mutual exclusion APIs on the I2C bus.
|
|
|
|
* @brief Enables the mutual exclusion APIs on the I2C bus.
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
|
|
|
#if !defined(I2C_USE_MUTUAL_EXCLUSION) || defined(__DOXYGEN__)
|
|
|
|
#define I2C_USE_MUTUAL_EXCLUSION TRUE
|
|
|
|
#define I2C_USE_MUTUAL_EXCLUSION FALSE
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/*===========================================================================*/
|
|
|
|
/*===========================================================================*/
|
|
|
|
|