HAL
Select one of the symbols to view example projects that use it.
 
Outline
#define __STM32F4xx_HAL_I2C_EX_H
Includes
#include "stm32f4xx_hal_def.h"
Exported constants
#define I2C_ANALOGFILTER_ENABLE
#define I2C_ANALOGFILTER_DISABLE
Exported functions
HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *, uint32_t);
HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *, uint32_t);
Private constants
#define IS_I2C_DIGITAL_FILTER
Files
loading...
SourceVuSTM32 Libraries and SamplesHALInc/stm32f4xx_hal_i2c_ex.h
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
/** ****************************************************************************** * @file stm32f4xx_hal_i2c_ex.h * @author MCD Application Team * @brief Header file of I2C HAL Extension module. ****************************************************************************** * @attention * * Copyright (c) 2016 STMicroelectronics. * All rights reserved. * * This software is licensed under terms that can be found in the LICENSE file * in the root directory of this software component. * If no LICENSE file comes with this software, it is provided AS-IS. * ****************************************************************************** *//* ... */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __STM32F4xx_HAL_I2C_EX_H #define __STM32F4xx_HAL_I2C_EX_H #ifdef __cplusplus extern "C" { #endif #if defined(I2C_FLTR_ANOFF)&&defined(I2C_FLTR_DNF) /* Includes ------------------------------------------------------------------*/ #include "stm32f4xx_hal_def.h" /** @addtogroup STM32F4xx_HAL_Driver * @{ *//* ... */ /** @addtogroup I2CEx * @{ *//* ... */ Includes /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /** @defgroup I2CEx_Exported_Constants I2C Exported Constants * @{ *//* ... */ /** @defgroup I2CEx_Analog_Filter I2C Analog Filter * @{ *//* ... */ #define I2C_ANALOGFILTER_ENABLE 0x00000000U #define I2C_ANALOGFILTER_DISABLE I2C_FLTR_ANOFF /** * @} *//* ... */ /** * @} *//* ... */ Exported constants /* Exported macro ------------------------------------------------------------*/ /* Exported functions --------------------------------------------------------*/ /** @addtogroup I2CEx_Exported_Functions * @{ *//* ... */ /** @addtogroup I2CEx_Exported_Functions_Group1 * @{ *//* ... */ /* Peripheral Control functions ************************************************/ HAL_StatusTypeDef HAL_I2CEx_ConfigAnalogFilter(I2C_HandleTypeDef *hi2c, uint32_t AnalogFilter); HAL_StatusTypeDef HAL_I2CEx_ConfigDigitalFilter(I2C_HandleTypeDef *hi2c, uint32_t DigitalFilter); /** * @} *//* ... */ /** * @} *//* ... */ Exported functions/* Private types -------------------------------------------------------------*/ /* Private variables ---------------------------------------------------------*/ /* Private constants ---------------------------------------------------------*/ /** @defgroup I2CEx_Private_Constants I2C Private Constants * @{ *//* ... */ /** * @} *//* ... */ Private constants /* Private macros ------------------------------------------------------------*/ /** @defgroup I2CEx_Private_Macros I2C Private Macros * @{ *//* ... */ #define IS_I2C_ANALOG_FILTER(FILTER) (((FILTER) == I2C_ANALOGFILTER_ENABLE) || \ ((FILTER) == I2C_ANALOGFILTER_DISABLE))... #define IS_I2C_DIGITAL_FILTER(FILTER) ((FILTER) <= 0x0000000FU) /** * @} *//* ... */ /** * @} *//* ... */ /** * @} *//* ... */ /* ... */ #endif #ifdef __cplusplus }extern "C" { ... } #endif /* ... */ #endif /* __STM32F4xx_HAL_I2C_EX_H */
Details