提交 | 用户 | age
|
bfc108
|
1 |
/**
|
Q |
2 |
******************************************************************************
|
|
3 |
* @file stm32_hal_legacy.h
|
|
4 |
* @author MCD Application Team
|
|
5 |
* @version V1.8.1
|
|
6 |
* @date 14-April-2017
|
|
7 |
* @brief This file contains aliases definition for the STM32Cube HAL constants
|
|
8 |
* macros and functions maintained for legacy purpose.
|
|
9 |
******************************************************************************
|
|
10 |
* @attention
|
|
11 |
*
|
|
12 |
* <h2><center>© COPYRIGHT(c) 2016 STMicroelectronics</center></h2>
|
|
13 |
*
|
|
14 |
* Redistribution and use in source and binary forms, with or without modification,
|
|
15 |
* are permitted provided that the following conditions are met:
|
|
16 |
* 1. Redistributions of source code must retain the above copyright notice,
|
|
17 |
* this list of conditions and the following disclaimer.
|
|
18 |
* 2. Redistributions in binary form must reproduce the above copyright notice,
|
|
19 |
* this list of conditions and the following disclaimer in the documentation
|
|
20 |
* and/or other materials provided with the distribution.
|
|
21 |
* 3. Neither the name of STMicroelectronics nor the names of its contributors
|
|
22 |
* may be used to endorse or promote products derived from this software
|
|
23 |
* without specific prior written permission.
|
|
24 |
*
|
|
25 |
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
26 |
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
27 |
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
28 |
* DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
29 |
* FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
30 |
* DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
31 |
* SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
32 |
* CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
33 |
* OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
34 |
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
35 |
*
|
|
36 |
******************************************************************************
|
|
37 |
*/
|
|
38 |
|
|
39 |
/* Define to prevent recursive inclusion -------------------------------------*/
|
|
40 |
#ifndef __STM32_HAL_LEGACY
|
|
41 |
#define __STM32_HAL_LEGACY
|
|
42 |
|
|
43 |
#ifdef __cplusplus
|
|
44 |
extern "C" {
|
|
45 |
#endif
|
|
46 |
|
|
47 |
/* Includes ------------------------------------------------------------------*/
|
|
48 |
/* Exported types ------------------------------------------------------------*/
|
|
49 |
/* Exported constants --------------------------------------------------------*/
|
|
50 |
|
|
51 |
/** @defgroup HAL_AES_Aliased_Defines HAL CRYP Aliased Defines maintained for legacy purpose
|
|
52 |
* @{
|
|
53 |
*/
|
|
54 |
#define AES_FLAG_RDERR CRYP_FLAG_RDERR
|
|
55 |
#define AES_FLAG_WRERR CRYP_FLAG_WRERR
|
|
56 |
#define AES_CLEARFLAG_CCF CRYP_CLEARFLAG_CCF
|
|
57 |
#define AES_CLEARFLAG_RDERR CRYP_CLEARFLAG_RDERR
|
|
58 |
#define AES_CLEARFLAG_WRERR CRYP_CLEARFLAG_WRERR
|
|
59 |
|
|
60 |
/**
|
|
61 |
* @}
|
|
62 |
*/
|
|
63 |
|
|
64 |
/** @defgroup HAL_ADC_Aliased_Defines HAL ADC Aliased Defines maintained for legacy purpose
|
|
65 |
* @{
|
|
66 |
*/
|
|
67 |
#define ADC_RESOLUTION12b ADC_RESOLUTION_12B
|
|
68 |
#define ADC_RESOLUTION10b ADC_RESOLUTION_10B
|
|
69 |
#define ADC_RESOLUTION8b ADC_RESOLUTION_8B
|
|
70 |
#define ADC_RESOLUTION6b ADC_RESOLUTION_6B
|
|
71 |
#define OVR_DATA_OVERWRITTEN ADC_OVR_DATA_OVERWRITTEN
|
|
72 |
#define OVR_DATA_PRESERVED ADC_OVR_DATA_PRESERVED
|
|
73 |
#define EOC_SINGLE_CONV ADC_EOC_SINGLE_CONV
|
|
74 |
#define EOC_SEQ_CONV ADC_EOC_SEQ_CONV
|
|
75 |
#define EOC_SINGLE_SEQ_CONV ADC_EOC_SINGLE_SEQ_CONV
|
|
76 |
#define REGULAR_GROUP ADC_REGULAR_GROUP
|
|
77 |
#define INJECTED_GROUP ADC_INJECTED_GROUP
|
|
78 |
#define REGULAR_INJECTED_GROUP ADC_REGULAR_INJECTED_GROUP
|
|
79 |
#define AWD_EVENT ADC_AWD_EVENT
|
|
80 |
#define AWD1_EVENT ADC_AWD1_EVENT
|
|
81 |
#define AWD2_EVENT ADC_AWD2_EVENT
|
|
82 |
#define AWD3_EVENT ADC_AWD3_EVENT
|
|
83 |
#define OVR_EVENT ADC_OVR_EVENT
|
|
84 |
#define JQOVF_EVENT ADC_JQOVF_EVENT
|
|
85 |
#define ALL_CHANNELS ADC_ALL_CHANNELS
|
|
86 |
#define REGULAR_CHANNELS ADC_REGULAR_CHANNELS
|
|
87 |
#define INJECTED_CHANNELS ADC_INJECTED_CHANNELS
|
|
88 |
#define SYSCFG_FLAG_SENSOR_ADC ADC_FLAG_SENSOR
|
|
89 |
#define SYSCFG_FLAG_VREF_ADC ADC_FLAG_VREFINT
|
|
90 |
#define ADC_CLOCKPRESCALER_PCLK_DIV1 ADC_CLOCK_SYNC_PCLK_DIV1
|
|
91 |
#define ADC_CLOCKPRESCALER_PCLK_DIV2 ADC_CLOCK_SYNC_PCLK_DIV2
|
|
92 |
#define ADC_CLOCKPRESCALER_PCLK_DIV4 ADC_CLOCK_SYNC_PCLK_DIV4
|
|
93 |
#define ADC_CLOCKPRESCALER_PCLK_DIV6 ADC_CLOCK_SYNC_PCLK_DIV6
|
|
94 |
#define ADC_CLOCKPRESCALER_PCLK_DIV8 ADC_CLOCK_SYNC_PCLK_DIV8
|
|
95 |
#define ADC_EXTERNALTRIG0_T6_TRGO ADC_EXTERNALTRIGCONV_T6_TRGO
|
|
96 |
#define ADC_EXTERNALTRIG1_T21_CC2 ADC_EXTERNALTRIGCONV_T21_CC2
|
|
97 |
#define ADC_EXTERNALTRIG2_T2_TRGO ADC_EXTERNALTRIGCONV_T2_TRGO
|
|
98 |
#define ADC_EXTERNALTRIG3_T2_CC4 ADC_EXTERNALTRIGCONV_T2_CC4
|
|
99 |
#define ADC_EXTERNALTRIG4_T22_TRGO ADC_EXTERNALTRIGCONV_T22_TRGO
|
|
100 |
#define ADC_EXTERNALTRIG7_EXT_IT11 ADC_EXTERNALTRIGCONV_EXT_IT11
|
|
101 |
#define ADC_CLOCK_ASYNC ADC_CLOCK_ASYNC_DIV1
|
|
102 |
#define ADC_EXTERNALTRIG_EDGE_NONE ADC_EXTERNALTRIGCONVEDGE_NONE
|
|
103 |
#define ADC_EXTERNALTRIG_EDGE_RISING ADC_EXTERNALTRIGCONVEDGE_RISING
|
|
104 |
#define ADC_EXTERNALTRIG_EDGE_FALLING ADC_EXTERNALTRIGCONVEDGE_FALLING
|
|
105 |
#define ADC_EXTERNALTRIG_EDGE_RISINGFALLING ADC_EXTERNALTRIGCONVEDGE_RISINGFALLING
|
|
106 |
#define ADC_SAMPLETIME_2CYCLE_5 ADC_SAMPLETIME_2CYCLES_5
|
|
107 |
|
|
108 |
#define HAL_ADC_STATE_BUSY_REG HAL_ADC_STATE_REG_BUSY
|
|
109 |
#define HAL_ADC_STATE_BUSY_INJ HAL_ADC_STATE_INJ_BUSY
|
|
110 |
#define HAL_ADC_STATE_EOC_REG HAL_ADC_STATE_REG_EOC
|
|
111 |
#define HAL_ADC_STATE_EOC_INJ HAL_ADC_STATE_INJ_EOC
|
|
112 |
#define HAL_ADC_STATE_ERROR HAL_ADC_STATE_ERROR_INTERNAL
|
|
113 |
#define HAL_ADC_STATE_BUSY HAL_ADC_STATE_BUSY_INTERNAL
|
|
114 |
#define HAL_ADC_STATE_AWD HAL_ADC_STATE_AWD1
|
|
115 |
/**
|
|
116 |
* @}
|
|
117 |
*/
|
|
118 |
|
|
119 |
/** @defgroup HAL_CEC_Aliased_Defines HAL CEC Aliased Defines maintained for legacy purpose
|
|
120 |
* @{
|
|
121 |
*/
|
|
122 |
|
|
123 |
#define __HAL_CEC_GET_IT __HAL_CEC_GET_FLAG
|
|
124 |
|
|
125 |
/**
|
|
126 |
* @}
|
|
127 |
*/
|
|
128 |
|
|
129 |
/** @defgroup HAL_COMP_Aliased_Defines HAL COMP Aliased Defines maintained for legacy purpose
|
|
130 |
* @{
|
|
131 |
*/
|
|
132 |
#define COMP_WINDOWMODE_DISABLED COMP_WINDOWMODE_DISABLE
|
|
133 |
#define COMP_WINDOWMODE_ENABLED COMP_WINDOWMODE_ENABLE
|
|
134 |
#define COMP_EXTI_LINE_COMP1_EVENT COMP_EXTI_LINE_COMP1
|
|
135 |
#define COMP_EXTI_LINE_COMP2_EVENT COMP_EXTI_LINE_COMP2
|
|
136 |
#define COMP_EXTI_LINE_COMP3_EVENT COMP_EXTI_LINE_COMP3
|
|
137 |
#define COMP_EXTI_LINE_COMP4_EVENT COMP_EXTI_LINE_COMP4
|
|
138 |
#define COMP_EXTI_LINE_COMP5_EVENT COMP_EXTI_LINE_COMP5
|
|
139 |
#define COMP_EXTI_LINE_COMP6_EVENT COMP_EXTI_LINE_COMP6
|
|
140 |
#define COMP_EXTI_LINE_COMP7_EVENT COMP_EXTI_LINE_COMP7
|
|
141 |
#if defined(STM32L0)
|
|
142 |
#define COMP_LPTIMCONNECTION_ENABLED ((uint32_t)0x00000003U) /*!< COMPX output generic naming: connected to LPTIM input 1 for COMP1, LPTIM input 2 for COMP2 */
|
|
143 |
#endif
|
|
144 |
#define COMP_OUTPUT_COMP6TIM2OCREFCLR COMP_OUTPUT_COMP6_TIM2OCREFCLR
|
|
145 |
#if defined(STM32F373xC) || defined(STM32F378xx)
|
|
146 |
#define COMP_OUTPUT_TIM3IC1 COMP_OUTPUT_COMP1_TIM3IC1
|
|
147 |
#define COMP_OUTPUT_TIM3OCREFCLR COMP_OUTPUT_COMP1_TIM3OCREFCLR
|
|
148 |
#endif /* STM32F373xC || STM32F378xx */
|
|
149 |
|
|
150 |
#if defined(STM32L0) || defined(STM32L4)
|
|
151 |
#define COMP_WINDOWMODE_ENABLE COMP_WINDOWMODE_COMP1_INPUT_PLUS_COMMON
|
|
152 |
|
|
153 |
#define COMP_NONINVERTINGINPUT_IO1 COMP_INPUT_PLUS_IO1
|
|
154 |
#define COMP_NONINVERTINGINPUT_IO2 COMP_INPUT_PLUS_IO2
|
|
155 |
#define COMP_NONINVERTINGINPUT_IO3 COMP_INPUT_PLUS_IO3
|
|
156 |
#define COMP_NONINVERTINGINPUT_IO4 COMP_INPUT_PLUS_IO4
|
|
157 |
#define COMP_NONINVERTINGINPUT_IO5 COMP_INPUT_PLUS_IO5
|
|
158 |
#define COMP_NONINVERTINGINPUT_IO6 COMP_INPUT_PLUS_IO6
|
|
159 |
|
|
160 |
#define COMP_INVERTINGINPUT_1_4VREFINT COMP_INPUT_MINUS_1_4VREFINT
|
|
161 |
#define COMP_INVERTINGINPUT_1_2VREFINT COMP_INPUT_MINUS_1_2VREFINT
|
|
162 |
#define COMP_INVERTINGINPUT_3_4VREFINT COMP_INPUT_MINUS_3_4VREFINT
|
|
163 |
#define COMP_INVERTINGINPUT_VREFINT COMP_INPUT_MINUS_VREFINT
|
|
164 |
#define COMP_INVERTINGINPUT_DAC1_CH1 COMP_INPUT_MINUS_DAC1_CH1
|
|
165 |
#define COMP_INVERTINGINPUT_DAC1_CH2 COMP_INPUT_MINUS_DAC1_CH2
|
|
166 |
#define COMP_INVERTINGINPUT_DAC1 COMP_INPUT_MINUS_DAC1_CH1
|
|
167 |
#define COMP_INVERTINGINPUT_DAC2 COMP_INPUT_MINUS_DAC1_CH2
|
|
168 |
#define COMP_INVERTINGINPUT_IO1 COMP_INPUT_MINUS_IO1
|
|
169 |
#if defined(STM32L0)
|
|
170 |
/* Issue fixed on STM32L0 COMP driver: only 2 dedicated IO (IO1 and IO2), */
|
|
171 |
/* IO2 was wrongly assigned to IO shared with DAC and IO3 was corresponding */
|
|
172 |
/* to the second dedicated IO (only for COMP2). */
|
|
173 |
#define COMP_INVERTINGINPUT_IO2 COMP_INPUT_MINUS_DAC1_CH2
|
|
174 |
#define COMP_INVERTINGINPUT_IO3 COMP_INPUT_MINUS_IO2
|
|
175 |
#else
|
|
176 |
#define COMP_INVERTINGINPUT_IO2 COMP_INPUT_MINUS_IO2
|
|
177 |
#define COMP_INVERTINGINPUT_IO3 COMP_INPUT_MINUS_IO3
|
|
178 |
#endif
|
|
179 |
#define COMP_INVERTINGINPUT_IO4 COMP_INPUT_MINUS_IO4
|
|
180 |
#define COMP_INVERTINGINPUT_IO5 COMP_INPUT_MINUS_IO5
|
|
181 |
|
|
182 |
#define COMP_OUTPUTLEVEL_LOW COMP_OUTPUT_LEVEL_LOW
|
|
183 |
#define COMP_OUTPUTLEVEL_HIGH COMP_OUTPUT_LEVEL_HIGH
|
|
184 |
|
|
185 |
/* Note: Literal "COMP_FLAG_LOCK" kept for legacy purpose. */
|
|
186 |
/* To check COMP lock state, use macro "__HAL_COMP_IS_LOCKED()". */
|
|
187 |
#if defined(COMP_CSR_LOCK)
|
|
188 |
#define COMP_FLAG_LOCK COMP_CSR_LOCK
|
|
189 |
#elif defined(COMP_CSR_COMP1LOCK)
|
|
190 |
#define COMP_FLAG_LOCK COMP_CSR_COMP1LOCK
|
|
191 |
#elif defined(COMP_CSR_COMPxLOCK)
|
|
192 |
#define COMP_FLAG_LOCK COMP_CSR_COMPxLOCK
|
|
193 |
#endif
|
|
194 |
|
|
195 |
#if defined(STM32L4)
|
|
196 |
#define COMP_BLANKINGSRCE_TIM1OC5 COMP_BLANKINGSRC_TIM1_OC5_COMP1
|
|
197 |
#define COMP_BLANKINGSRCE_TIM2OC3 COMP_BLANKINGSRC_TIM2_OC3_COMP1
|
|
198 |
#define COMP_BLANKINGSRCE_TIM3OC3 COMP_BLANKINGSRC_TIM3_OC3_COMP1
|
|
199 |
#define COMP_BLANKINGSRCE_TIM3OC4 COMP_BLANKINGSRC_TIM3_OC4_COMP2
|
|
200 |
#define COMP_BLANKINGSRCE_TIM8OC5 COMP_BLANKINGSRC_TIM8_OC5_COMP2
|
|
201 |
#define COMP_BLANKINGSRCE_TIM15OC1 COMP_BLANKINGSRC_TIM15_OC1_COMP2
|
|
202 |
#define COMP_BLANKINGSRCE_NONE COMP_BLANKINGSRC_NONE
|
|
203 |
#endif
|
|
204 |
|
|
205 |
#if defined(STM32L0)
|
|
206 |
#define COMP_MODE_HIGHSPEED COMP_POWERMODE_MEDIUMSPEED
|
|
207 |
#define COMP_MODE_LOWSPEED COMP_POWERMODE_ULTRALOWPOWER
|
|
208 |
#else
|
|
209 |
#define COMP_MODE_HIGHSPEED COMP_POWERMODE_HIGHSPEED
|
|
210 |
#define COMP_MODE_MEDIUMSPEED COMP_POWERMODE_MEDIUMSPEED
|
|
211 |
#define COMP_MODE_LOWPOWER COMP_POWERMODE_LOWPOWER
|
|
212 |
#define COMP_MODE_ULTRALOWPOWER COMP_POWERMODE_ULTRALOWPOWER
|
|
213 |
#endif
|
|
214 |
|
|
215 |
#endif
|
|
216 |
/**
|
|
217 |
* @}
|
|
218 |
*/
|
|
219 |
|
|
220 |
/** @defgroup HAL_CORTEX_Aliased_Defines HAL CORTEX Aliased Defines maintained for legacy purpose
|
|
221 |
* @{
|
|
222 |
*/
|
|
223 |
#define __HAL_CORTEX_SYSTICKCLK_CONFIG HAL_SYSTICK_CLKSourceConfig
|
|
224 |
/**
|
|
225 |
* @}
|
|
226 |
*/
|
|
227 |
|
|
228 |
/** @defgroup HAL_CRC_Aliased_Defines HAL CRC Aliased Defines maintained for legacy purpose
|
|
229 |
* @{
|
|
230 |
*/
|
|
231 |
|
|
232 |
#define CRC_OUTPUTDATA_INVERSION_DISABLED CRC_OUTPUTDATA_INVERSION_DISABLE
|
|
233 |
#define CRC_OUTPUTDATA_INVERSION_ENABLED CRC_OUTPUTDATA_INVERSION_ENABLE
|
|
234 |
|
|
235 |
/**
|
|
236 |
* @}
|
|
237 |
*/
|
|
238 |
|
|
239 |
/** @defgroup HAL_DAC_Aliased_Defines HAL DAC Aliased Defines maintained for legacy purpose
|
|
240 |
* @{
|
|
241 |
*/
|
|
242 |
|
|
243 |
#define DAC1_CHANNEL_1 DAC_CHANNEL_1
|
|
244 |
#define DAC1_CHANNEL_2 DAC_CHANNEL_2
|
|
245 |
#define DAC2_CHANNEL_1 DAC_CHANNEL_1
|
|
246 |
#define DAC_WAVE_NONE ((uint32_t)0x00000000U)
|
|
247 |
#define DAC_WAVE_NOISE ((uint32_t)DAC_CR_WAVE1_0)
|
|
248 |
#define DAC_WAVE_TRIANGLE ((uint32_t)DAC_CR_WAVE1_1)
|
|
249 |
#define DAC_WAVEGENERATION_NONE DAC_WAVE_NONE
|
|
250 |
#define DAC_WAVEGENERATION_NOISE DAC_WAVE_NOISE
|
|
251 |
#define DAC_WAVEGENERATION_TRIANGLE DAC_WAVE_TRIANGLE
|
|
252 |
|
|
253 |
/**
|
|
254 |
* @}
|
|
255 |
*/
|
|
256 |
|
|
257 |
/** @defgroup HAL_DMA_Aliased_Defines HAL DMA Aliased Defines maintained for legacy purpose
|
|
258 |
* @{
|
|
259 |
*/
|
|
260 |
#define HAL_REMAPDMA_ADC_DMA_CH2 DMA_REMAP_ADC_DMA_CH2
|
|
261 |
#define HAL_REMAPDMA_USART1_TX_DMA_CH4 DMA_REMAP_USART1_TX_DMA_CH4
|
|
262 |
#define HAL_REMAPDMA_USART1_RX_DMA_CH5 DMA_REMAP_USART1_RX_DMA_CH5
|
|
263 |
#define HAL_REMAPDMA_TIM16_DMA_CH4 DMA_REMAP_TIM16_DMA_CH4
|
|
264 |
#define HAL_REMAPDMA_TIM17_DMA_CH2 DMA_REMAP_TIM17_DMA_CH2
|
|
265 |
#define HAL_REMAPDMA_USART3_DMA_CH32 DMA_REMAP_USART3_DMA_CH32
|
|
266 |
#define HAL_REMAPDMA_TIM16_DMA_CH6 DMA_REMAP_TIM16_DMA_CH6
|
|
267 |
#define HAL_REMAPDMA_TIM17_DMA_CH7 DMA_REMAP_TIM17_DMA_CH7
|
|
268 |
#define HAL_REMAPDMA_SPI2_DMA_CH67 DMA_REMAP_SPI2_DMA_CH67
|
|
269 |
#define HAL_REMAPDMA_USART2_DMA_CH67 DMA_REMAP_USART2_DMA_CH67
|
|
270 |
#define HAL_REMAPDMA_I2C1_DMA_CH76 DMA_REMAP_I2C1_DMA_CH76
|
|
271 |
#define HAL_REMAPDMA_TIM1_DMA_CH6 DMA_REMAP_TIM1_DMA_CH6
|
|
272 |
#define HAL_REMAPDMA_TIM2_DMA_CH7 DMA_REMAP_TIM2_DMA_CH7
|
|
273 |
#define HAL_REMAPDMA_TIM3_DMA_CH6 DMA_REMAP_TIM3_DMA_CH6
|
|
274 |
|
|
275 |
#define IS_HAL_REMAPDMA IS_DMA_REMAP
|
|
276 |
#define __HAL_REMAPDMA_CHANNEL_ENABLE __HAL_DMA_REMAP_CHANNEL_ENABLE
|
|
277 |
#define __HAL_REMAPDMA_CHANNEL_DISABLE __HAL_DMA_REMAP_CHANNEL_DISABLE
|
|
278 |
|
|
279 |
|
|
280 |
|
|
281 |
/**
|
|
282 |
* @}
|
|
283 |
*/
|
|
284 |
|
|
285 |
/** @defgroup HAL_FLASH_Aliased_Defines HAL FLASH Aliased Defines maintained for legacy purpose
|
|
286 |
* @{
|
|
287 |
*/
|
|
288 |
|
|
289 |
#define TYPEPROGRAM_BYTE FLASH_TYPEPROGRAM_BYTE
|
|
290 |
#define TYPEPROGRAM_HALFWORD FLASH_TYPEPROGRAM_HALFWORD
|
|
291 |
#define TYPEPROGRAM_WORD FLASH_TYPEPROGRAM_WORD
|
|
292 |
#define TYPEPROGRAM_DOUBLEWORD FLASH_TYPEPROGRAM_DOUBLEWORD
|
|
293 |
#define TYPEERASE_SECTORS FLASH_TYPEERASE_SECTORS
|
|
294 |
#define TYPEERASE_PAGES FLASH_TYPEERASE_PAGES
|
|
295 |
#define TYPEERASE_PAGEERASE FLASH_TYPEERASE_PAGES
|
|
296 |
#define TYPEERASE_MASSERASE FLASH_TYPEERASE_MASSERASE
|
|
297 |
#define WRPSTATE_DISABLE OB_WRPSTATE_DISABLE
|
|
298 |
#define WRPSTATE_ENABLE OB_WRPSTATE_ENABLE
|
|
299 |
#define HAL_FLASH_TIMEOUT_VALUE FLASH_TIMEOUT_VALUE
|
|
300 |
#define OBEX_PCROP OPTIONBYTE_PCROP
|
|
301 |
#define OBEX_BOOTCONFIG OPTIONBYTE_BOOTCONFIG
|
|
302 |
#define PCROPSTATE_DISABLE OB_PCROP_STATE_DISABLE
|
|
303 |
#define PCROPSTATE_ENABLE OB_PCROP_STATE_ENABLE
|
|
304 |
#define TYPEERASEDATA_BYTE FLASH_TYPEERASEDATA_BYTE
|
|
305 |
#define TYPEERASEDATA_HALFWORD FLASH_TYPEERASEDATA_HALFWORD
|
|
306 |
#define TYPEERASEDATA_WORD FLASH_TYPEERASEDATA_WORD
|
|
307 |
#define TYPEPROGRAMDATA_BYTE FLASH_TYPEPROGRAMDATA_BYTE
|
|
308 |
#define TYPEPROGRAMDATA_HALFWORD FLASH_TYPEPROGRAMDATA_HALFWORD
|
|
309 |
#define TYPEPROGRAMDATA_WORD FLASH_TYPEPROGRAMDATA_WORD
|
|
310 |
#define TYPEPROGRAMDATA_FASTBYTE FLASH_TYPEPROGRAMDATA_FASTBYTE
|
|
311 |
#define TYPEPROGRAMDATA_FASTHALFWORD FLASH_TYPEPROGRAMDATA_FASTHALFWORD
|
|
312 |
#define TYPEPROGRAMDATA_FASTWORD FLASH_TYPEPROGRAMDATA_FASTWORD
|
|
313 |
#define PAGESIZE FLASH_PAGE_SIZE
|
|
314 |
#define TYPEPROGRAM_FASTBYTE FLASH_TYPEPROGRAM_BYTE
|
|
315 |
#define TYPEPROGRAM_FASTHALFWORD FLASH_TYPEPROGRAM_HALFWORD
|
|
316 |
#define TYPEPROGRAM_FASTWORD FLASH_TYPEPROGRAM_WORD
|
|
317 |
#define VOLTAGE_RANGE_1 FLASH_VOLTAGE_RANGE_1
|
|
318 |
#define VOLTAGE_RANGE_2 FLASH_VOLTAGE_RANGE_2
|
|
319 |
#define VOLTAGE_RANGE_3 FLASH_VOLTAGE_RANGE_3
|
|
320 |
#define VOLTAGE_RANGE_4 FLASH_VOLTAGE_RANGE_4
|
|
321 |
#define TYPEPROGRAM_FAST FLASH_TYPEPROGRAM_FAST
|
|
322 |
#define TYPEPROGRAM_FAST_AND_LAST FLASH_TYPEPROGRAM_FAST_AND_LAST
|
|
323 |
#define WRPAREA_BANK1_AREAA OB_WRPAREA_BANK1_AREAA
|
|
324 |
#define WRPAREA_BANK1_AREAB OB_WRPAREA_BANK1_AREAB
|
|
325 |
#define WRPAREA_BANK2_AREAA OB_WRPAREA_BANK2_AREAA
|
|
326 |
#define WRPAREA_BANK2_AREAB OB_WRPAREA_BANK2_AREAB
|
|
327 |
#define IWDG_STDBY_FREEZE OB_IWDG_STDBY_FREEZE
|
|
328 |
#define IWDG_STDBY_ACTIVE OB_IWDG_STDBY_RUN
|
|
329 |
#define IWDG_STOP_FREEZE OB_IWDG_STOP_FREEZE
|
|
330 |
#define IWDG_STOP_ACTIVE OB_IWDG_STOP_RUN
|
|
331 |
#define FLASH_ERROR_NONE HAL_FLASH_ERROR_NONE
|
|
332 |
#define FLASH_ERROR_RD HAL_FLASH_ERROR_RD
|
|
333 |
#define FLASH_ERROR_PG HAL_FLASH_ERROR_PROG
|
|
334 |
#define FLASH_ERROR_PGP HAL_FLASH_ERROR_PGS
|
|
335 |
#define FLASH_ERROR_WRP HAL_FLASH_ERROR_WRP
|
|
336 |
#define FLASH_ERROR_OPTV HAL_FLASH_ERROR_OPTV
|
|
337 |
#define FLASH_ERROR_OPTVUSR HAL_FLASH_ERROR_OPTVUSR
|
|
338 |
#define FLASH_ERROR_PROG HAL_FLASH_ERROR_PROG
|
|
339 |
#define FLASH_ERROR_OP HAL_FLASH_ERROR_OPERATION
|
|
340 |
#define FLASH_ERROR_PGA HAL_FLASH_ERROR_PGA
|
|
341 |
#define FLASH_ERROR_SIZE HAL_FLASH_ERROR_SIZE
|
|
342 |
#define FLASH_ERROR_SIZ HAL_FLASH_ERROR_SIZE
|
|
343 |
#define FLASH_ERROR_PGS HAL_FLASH_ERROR_PGS
|
|
344 |
#define FLASH_ERROR_MIS HAL_FLASH_ERROR_MIS
|
|
345 |
#define FLASH_ERROR_FAST HAL_FLASH_ERROR_FAST
|
|
346 |
#define FLASH_ERROR_FWWERR HAL_FLASH_ERROR_FWWERR
|
|
347 |
#define FLASH_ERROR_NOTZERO HAL_FLASH_ERROR_NOTZERO
|
|
348 |
#define FLASH_ERROR_OPERATION HAL_FLASH_ERROR_OPERATION
|
|
349 |
#define FLASH_ERROR_ERS HAL_FLASH_ERROR_ERS
|
|
350 |
#define OB_WDG_SW OB_IWDG_SW
|
|
351 |
#define OB_WDG_HW OB_IWDG_HW
|
|
352 |
#define OB_SDADC12_VDD_MONITOR_SET OB_SDACD_VDD_MONITOR_SET
|
|
353 |
#define OB_SDADC12_VDD_MONITOR_RESET OB_SDACD_VDD_MONITOR_RESET
|
|
354 |
#define OB_RAM_PARITY_CHECK_SET OB_SRAM_PARITY_SET
|
|
355 |
#define OB_RAM_PARITY_CHECK_RESET OB_SRAM_PARITY_RESET
|
|
356 |
#define IS_OB_SDADC12_VDD_MONITOR IS_OB_SDACD_VDD_MONITOR
|
|
357 |
#define OB_RDP_LEVEL0 OB_RDP_LEVEL_0
|
|
358 |
#define OB_RDP_LEVEL1 OB_RDP_LEVEL_1
|
|
359 |
#define OB_RDP_LEVEL2 OB_RDP_LEVEL_2
|
|
360 |
|
|
361 |
/**
|
|
362 |
* @}
|
|
363 |
*/
|
|
364 |
|
|
365 |
/** @defgroup HAL_SYSCFG_Aliased_Defines HAL SYSCFG Aliased Defines maintained for legacy purpose
|
|
366 |
* @{
|
|
367 |
*/
|
|
368 |
|
|
369 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C_PA9 I2C_FASTMODEPLUS_PA9
|
|
370 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C_PA10 I2C_FASTMODEPLUS_PA10
|
|
371 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C_PB6 I2C_FASTMODEPLUS_PB6
|
|
372 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C_PB7 I2C_FASTMODEPLUS_PB7
|
|
373 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C_PB8 I2C_FASTMODEPLUS_PB8
|
|
374 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C_PB9 I2C_FASTMODEPLUS_PB9
|
|
375 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C1 I2C_FASTMODEPLUS_I2C1
|
|
376 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C2 I2C_FASTMODEPLUS_I2C2
|
|
377 |
#define HAL_SYSCFG_FASTMODEPLUS_I2C3 I2C_FASTMODEPLUS_I2C3
|
|
378 |
/**
|
|
379 |
* @}
|
|
380 |
*/
|
|
381 |
|
|
382 |
|
|
383 |
/** @defgroup LL_FMC_Aliased_Defines LL FMC Aliased Defines maintained for compatibility purpose
|
|
384 |
* @{
|
|
385 |
*/
|
|
386 |
#if defined(STM32L4) || defined(STM32F7)
|
|
387 |
#define FMC_NAND_PCC_WAIT_FEATURE_DISABLE FMC_NAND_WAIT_FEATURE_DISABLE
|
|
388 |
#define FMC_NAND_PCC_WAIT_FEATURE_ENABLE FMC_NAND_WAIT_FEATURE_ENABLE
|
|
389 |
#define FMC_NAND_PCC_MEM_BUS_WIDTH_8 FMC_NAND_MEM_BUS_WIDTH_8
|
|
390 |
#define FMC_NAND_PCC_MEM_BUS_WIDTH_16 FMC_NAND_MEM_BUS_WIDTH_16
|
|
391 |
#else
|
|
392 |
#define FMC_NAND_WAIT_FEATURE_DISABLE FMC_NAND_PCC_WAIT_FEATURE_DISABLE
|
|
393 |
#define FMC_NAND_WAIT_FEATURE_ENABLE FMC_NAND_PCC_WAIT_FEATURE_ENABLE
|
|
394 |
#define FMC_NAND_MEM_BUS_WIDTH_8 FMC_NAND_PCC_MEM_BUS_WIDTH_8
|
|
395 |
#define FMC_NAND_MEM_BUS_WIDTH_16 FMC_NAND_PCC_MEM_BUS_WIDTH_16
|
|
396 |
#endif
|
|
397 |
/**
|
|
398 |
* @}
|
|
399 |
*/
|
|
400 |
|
|
401 |
/** @defgroup LL_FSMC_Aliased_Defines LL FSMC Aliased Defines maintained for legacy purpose
|
|
402 |
* @{
|
|
403 |
*/
|
|
404 |
|
|
405 |
#define FSMC_NORSRAM_TYPEDEF FSMC_NORSRAM_TypeDef
|
|
406 |
#define FSMC_NORSRAM_EXTENDED_TYPEDEF FSMC_NORSRAM_EXTENDED_TypeDef
|
|
407 |
/**
|
|
408 |
* @}
|
|
409 |
*/
|
|
410 |
|
|
411 |
/** @defgroup HAL_GPIO_Aliased_Macros HAL GPIO Aliased Macros maintained for legacy purpose
|
|
412 |
* @{
|
|
413 |
*/
|
|
414 |
#define GET_GPIO_SOURCE GPIO_GET_INDEX
|
|
415 |
#define GET_GPIO_INDEX GPIO_GET_INDEX
|
|
416 |
|
|
417 |
#if defined(STM32F4)
|
|
418 |
#define GPIO_AF12_SDMMC GPIO_AF12_SDIO
|
|
419 |
#define GPIO_AF12_SDMMC1 GPIO_AF12_SDIO
|
|
420 |
#endif
|
|
421 |
|
|
422 |
#if defined(STM32F7)
|
|
423 |
#define GPIO_AF12_SDIO GPIO_AF12_SDMMC1
|
|
424 |
#define GPIO_AF12_SDMMC GPIO_AF12_SDMMC1
|
|
425 |
#endif
|
|
426 |
|
|
427 |
#if defined(STM32L4)
|
|
428 |
#define GPIO_AF12_SDIO GPIO_AF12_SDMMC1
|
|
429 |
#define GPIO_AF12_SDMMC GPIO_AF12_SDMMC1
|
|
430 |
#endif
|
|
431 |
|
|
432 |
#define GPIO_AF0_LPTIM GPIO_AF0_LPTIM1
|
|
433 |
#define GPIO_AF1_LPTIM GPIO_AF1_LPTIM1
|
|
434 |
#define GPIO_AF2_LPTIM GPIO_AF2_LPTIM1
|
|
435 |
|
|
436 |
#if defined(STM32L0) || defined(STM32L4) || defined(STM32F4) || defined(STM32F2) || defined(STM32F7)
|
|
437 |
#define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW
|
|
438 |
#define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM
|
|
439 |
#define GPIO_SPEED_FAST GPIO_SPEED_FREQ_HIGH
|
|
440 |
#define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH
|
|
441 |
#endif /* STM32L0 || STM32L4 || STM32F4 || STM32F2 || STM32F7 */
|
|
442 |
|
|
443 |
#if defined(STM32L1)
|
|
444 |
#define GPIO_SPEED_VERY_LOW GPIO_SPEED_FREQ_LOW
|
|
445 |
#define GPIO_SPEED_LOW GPIO_SPEED_FREQ_MEDIUM
|
|
446 |
#define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_HIGH
|
|
447 |
#define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_VERY_HIGH
|
|
448 |
#endif /* STM32L1 */
|
|
449 |
|
|
450 |
#if defined(STM32F0) || defined(STM32F3) || defined(STM32F1)
|
|
451 |
#define GPIO_SPEED_LOW GPIO_SPEED_FREQ_LOW
|
|
452 |
#define GPIO_SPEED_MEDIUM GPIO_SPEED_FREQ_MEDIUM
|
|
453 |
#define GPIO_SPEED_HIGH GPIO_SPEED_FREQ_HIGH
|
|
454 |
#endif /* STM32F0 || STM32F3 || STM32F1 */
|
|
455 |
|
|
456 |
#define GPIO_AF6_DFSDM GPIO_AF6_DFSDM1
|
|
457 |
/**
|
|
458 |
* @}
|
|
459 |
*/
|
|
460 |
|
|
461 |
/** @defgroup HAL_JPEG_Aliased_Macros HAL JPEG Aliased Macros maintained for legacy purpose
|
|
462 |
* @{
|
|
463 |
*/
|
|
464 |
|
|
465 |
#if defined(STM32H7)
|
|
466 |
#define __HAL_RCC_JPEG_CLK_ENABLE __HAL_RCC_JPGDECEN_CLK_ENABLE
|
|
467 |
#define __HAL_RCC_JPEG_CLK_DISABLE __HAL_RCC_JPGDECEN_CLK_DISABLE
|
|
468 |
#define __HAL_RCC_JPEG_FORCE_RESET __HAL_RCC_JPGDECRST_FORCE_RESET
|
|
469 |
#define __HAL_RCC_JPEG_RELEASE_RESET __HAL_RCC_JPGDECRST_RELEASE_RESET
|
|
470 |
#define __HAL_RCC_JPEG_CLK_SLEEP_ENABLE __HAL_RCC_JPGDEC_CLK_SLEEP_ENABLE
|
|
471 |
#define __HAL_RCC_JPEG_CLK_SLEEP_DISABLE __HAL_RCC_JPGDEC_CLK_SLEEP_DISABLE
|
|
472 |
|
|
473 |
#define DMA_REQUEST_DAC1 DMA_REQUEST_DAC1_CH1
|
|
474 |
#define DMA_REQUEST_DAC2 DMA_REQUEST_DAC1_CH2
|
|
475 |
|
|
476 |
#define BDMA_REQUEST_LP_UART1_RX BDMA_REQUEST_LPUART1_RX
|
|
477 |
#define BDMA_REQUEST_LP_UART1_TX BDMA_REQUEST_LPUART1_TX
|
|
478 |
|
|
479 |
#define HAL_DMAMUX1_REQUEST_GEN_DMAMUX1_CH0_EVT HAL_DMAMUX1_REQ_GEN_DMAMUX1_CH0_EVT
|
|
480 |
#define HAL_DMAMUX1_REQUEST_GEN_DMAMUX1_CH1_EVT HAL_DMAMUX1_REQ_GEN_DMAMUX1_CH1_EVT
|
|
481 |
#define HAL_DMAMUX1_REQUEST_GEN_DMAMUX1_CH2_EVT HAL_DMAMUX1_REQ_GEN_DMAMUX1_CH2_EVT
|
|
482 |
#define HAL_DMAMUX1_REQUEST_GEN_LPTIM1_OUT HAL_DMAMUX1_REQ_GEN_LPTIM1_OUT
|
|
483 |
#define HAL_DMAMUX1_REQUEST_GEN_LPTIM2_OUT HAL_DMAMUX1_REQ_GEN_LPTIM2_OUT
|
|
484 |
#define HAL_DMAMUX1_REQUEST_GEN_LPTIM3_OUT HAL_DMAMUX1_REQ_GEN_LPTIM3_OUT
|
|
485 |
#define HAL_DMAMUX1_REQUEST_GEN_EXTI0 HAL_DMAMUX1_REQ_GEN_EXTI0
|
|
486 |
#define HAL_DMAMUX1_REQUEST_GEN_TIM12_TRGO HAL_DMAMUX1_REQ_GEN_TIM12_TRGO
|
|
487 |
|
|
488 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH0_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH0_EVT
|
|
489 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH1_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH1_EVT
|
|
490 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH2_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH2_EVT
|
|
491 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH3_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH3_EVT
|
|
492 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH4_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH4_EVT
|
|
493 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH5_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH5_EVT
|
|
494 |
#define HAL_DMAMUX2_REQUEST_GEN_DMAMUX2_CH6_EVT HAL_DMAMUX2_REQ_GEN_DMAMUX2_CH6_EVT
|
|
495 |
#define HAL_DMAMUX2_REQUEST_GEN_LPUART1_RX_WKUP HAL_DMAMUX2_REQ_GEN_LPUART1_RX_WKUP
|
|
496 |
#define HAL_DMAMUX2_REQUEST_GEN_LPUART1_TX_WKUP HAL_DMAMUX2_REQ_GEN_LPUART1_TX_WKUP
|
|
497 |
#define HAL_DMAMUX2_REQUEST_GEN_LPTIM2_WKUP HAL_DMAMUX2_REQ_GEN_LPTIM2_WKUP
|
|
498 |
#define HAL_DMAMUX2_REQUEST_GEN_LPTIM2_OUT HAL_DMAMUX2_REQ_GEN_LPTIM2_OUT
|
|
499 |
#define HAL_DMAMUX2_REQUEST_GEN_LPTIM3_WKUP HAL_DMAMUX2_REQ_GEN_LPTIM3_WKUP
|
|
500 |
#define HAL_DMAMUX2_REQUEST_GEN_LPTIM3_OUT HAL_DMAMUX2_REQ_GEN_LPTIM3_OUT
|
|
501 |
#define HAL_DMAMUX2_REQUEST_GEN_LPTIM4_WKUP HAL_DMAMUX2_REQ_GEN_LPTIM4_WKUP
|
|
502 |
#define HAL_DMAMUX2_REQUEST_GEN_LPTIM5_WKUP HAL_DMAMUX2_REQ_GEN_LPTIM5_WKUP
|
|
503 |
#define HAL_DMAMUX2_REQUEST_GEN_I2C4_WKUP HAL_DMAMUX2_REQ_GEN_I2C4_WKUP
|
|
504 |
#define HAL_DMAMUX2_REQUEST_GEN_SPI6_WKUP HAL_DMAMUX2_REQ_GEN_SPI6_WKUP
|
|
505 |
#define HAL_DMAMUX2_REQUEST_GEN_COMP1_OUT HAL_DMAMUX2_REQ_GEN_COMP1_OUT
|
|
506 |
#define HAL_DMAMUX2_REQUEST_GEN_COMP2_OUT HAL_DMAMUX2_REQ_GEN_COMP2_OUT
|
|
507 |
#define HAL_DMAMUX2_REQUEST_GEN_RTC_WKUP HAL_DMAMUX2_REQ_GEN_RTC_WKUP
|
|
508 |
#define HAL_DMAMUX2_REQUEST_GEN_EXTI0 HAL_DMAMUX2_REQ_GEN_EXTI0
|
|
509 |
#define HAL_DMAMUX2_REQUEST_GEN_EXTI2 HAL_DMAMUX2_REQ_GEN_EXTI2
|
|
510 |
#define HAL_DMAMUX2_REQUEST_GEN_I2C4_IT_EVT HAL_DMAMUX2_REQ_GEN_I2C4_IT_EVT
|
|
511 |
#define HAL_DMAMUX2_REQUEST_GEN_SPI6_IT HAL_DMAMUX2_REQ_GEN_SPI6_IT
|
|
512 |
#define HAL_DMAMUX2_REQUEST_GEN_LPUART1_TX_IT HAL_DMAMUX2_REQ_GEN_LPUART1_TX_IT
|
|
513 |
#define HAL_DMAMUX2_REQUEST_GEN_LPUART1_RX_IT HAL_DMAMUX2_REQ_GEN_LPUART1_RX_IT
|
|
514 |
#define HAL_DMAMUX2_REQUEST_GEN_ADC3_IT HAL_DMAMUX2_REQ_GEN_ADC3_IT
|
|
515 |
#define HAL_DMAMUX2_REQUEST_GEN_ADC3_AWD1_OUT HAL_DMAMUX2_REQ_GEN_ADC3_AWD1_OUT
|
|
516 |
#define HAL_DMAMUX2_REQUEST_GEN_BDMA_CH0_IT HAL_DMAMUX2_REQ_GEN_BDMA_CH0_IT
|
|
517 |
#define HAL_DMAMUX2_REQUEST_GEN_BDMA_CH1_IT HAL_DMAMUX2_REQ_GEN_BDMA_CH1_IT
|
|
518 |
|
|
519 |
#define HAL_DMAMUX_REQUEST_GEN_NO_EVENT HAL_DMAMUX_REQ_GEN_NO_EVENT
|
|
520 |
#define HAL_DMAMUX_REQUEST_GEN_RISING HAL_DMAMUX_REQ_GEN_RISING
|
|
521 |
#define HAL_DMAMUX_REQUEST_GEN_FALLING HAL_DMAMUX_REQ_GEN_FALLING
|
|
522 |
#define HAL_DMAMUX_REQUEST_GEN_RISING_FALLING HAL_DMAMUX_REQ_GEN_RISING_FALLING
|
|
523 |
|
|
524 |
|
|
525 |
#endif /* STM32H7 */
|
|
526 |
|
|
527 |
|
|
528 |
/**
|
|
529 |
* @}
|
|
530 |
*/
|
|
531 |
|
|
532 |
|
|
533 |
/** @defgroup HAL_HRTIM_Aliased_Macros HAL HRTIM Aliased Macros maintained for legacy purpose
|
|
534 |
* @{
|
|
535 |
*/
|
|
536 |
#define HRTIM_TIMDELAYEDPROTECTION_DISABLED HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DISABLED
|
|
537 |
#define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT1_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT1_EEV6
|
|
538 |
#define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT2_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT2_EEV6
|
|
539 |
#define HRTIM_TIMDELAYEDPROTECTION_DELAYEDBOTH_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDBOTH_EEV6
|
|
540 |
#define HRTIM_TIMDELAYEDPROTECTION_BALANCED_EEV68 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_BALANCED_EEV6
|
|
541 |
#define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT1_DEEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT1_DEEV7
|
|
542 |
#define HRTIM_TIMDELAYEDPROTECTION_DELAYEDOUT2_DEEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDOUT2_DEEV7
|
|
543 |
#define HRTIM_TIMDELAYEDPROTECTION_DELAYEDBOTH_EEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_DELAYEDBOTH_EEV7
|
|
544 |
#define HRTIM_TIMDELAYEDPROTECTION_BALANCED_EEV79 HRTIM_TIMER_A_B_C_DELAYEDPROTECTION_BALANCED_EEV7
|
|
545 |
|
|
546 |
#define __HAL_HRTIM_SetCounter __HAL_HRTIM_SETCOUNTER
|
|
547 |
#define __HAL_HRTIM_GetCounter __HAL_HRTIM_GETCOUNTER
|
|
548 |
#define __HAL_HRTIM_SetPeriod __HAL_HRTIM_SETPERIOD
|
|
549 |
#define __HAL_HRTIM_GetPeriod __HAL_HRTIM_GETPERIOD
|
|
550 |
#define __HAL_HRTIM_SetClockPrescaler __HAL_HRTIM_SETCLOCKPRESCALER
|
|
551 |
#define __HAL_HRTIM_GetClockPrescaler __HAL_HRTIM_GETCLOCKPRESCALER
|
|
552 |
#define __HAL_HRTIM_SetCompare __HAL_HRTIM_SETCOMPARE
|
|
553 |
#define __HAL_HRTIM_GetCompare __HAL_HRTIM_GETCOMPARE
|
|
554 |
/**
|
|
555 |
* @}
|
|
556 |
*/
|
|
557 |
|
|
558 |
/** @defgroup HAL_I2C_Aliased_Defines HAL I2C Aliased Defines maintained for legacy purpose
|
|
559 |
* @{
|
|
560 |
*/
|
|
561 |
#define I2C_DUALADDRESS_DISABLED I2C_DUALADDRESS_DISABLE
|
|
562 |
#define I2C_DUALADDRESS_ENABLED I2C_DUALADDRESS_ENABLE
|
|
563 |
#define I2C_GENERALCALL_DISABLED I2C_GENERALCALL_DISABLE
|
|
564 |
#define I2C_GENERALCALL_ENABLED I2C_GENERALCALL_ENABLE
|
|
565 |
#define I2C_NOSTRETCH_DISABLED I2C_NOSTRETCH_DISABLE
|
|
566 |
#define I2C_NOSTRETCH_ENABLED I2C_NOSTRETCH_ENABLE
|
|
567 |
#define I2C_ANALOGFILTER_ENABLED I2C_ANALOGFILTER_ENABLE
|
|
568 |
#define I2C_ANALOGFILTER_DISABLED I2C_ANALOGFILTER_DISABLE
|
|
569 |
#if defined(STM32F0) || defined(STM32F1) || defined(STM32F3) || defined(STM32G0) || defined(STM32L4) || defined(STM32L1) || defined(STM32F7)
|
|
570 |
#define HAL_I2C_STATE_MEM_BUSY_TX HAL_I2C_STATE_BUSY_TX
|
|
571 |
#define HAL_I2C_STATE_MEM_BUSY_RX HAL_I2C_STATE_BUSY_RX
|
|
572 |
#define HAL_I2C_STATE_MASTER_BUSY_TX HAL_I2C_STATE_BUSY_TX
|
|
573 |
#define HAL_I2C_STATE_MASTER_BUSY_RX HAL_I2C_STATE_BUSY_RX
|
|
574 |
#define HAL_I2C_STATE_SLAVE_BUSY_TX HAL_I2C_STATE_BUSY_TX
|
|
575 |
#define HAL_I2C_STATE_SLAVE_BUSY_RX HAL_I2C_STATE_BUSY_RX
|
|
576 |
#endif
|
|
577 |
/**
|
|
578 |
* @}
|
|
579 |
*/
|
|
580 |
|
|
581 |
/** @defgroup HAL_IRDA_Aliased_Defines HAL IRDA Aliased Defines maintained for legacy purpose
|
|
582 |
* @{
|
|
583 |
*/
|
|
584 |
#define IRDA_ONE_BIT_SAMPLE_DISABLED IRDA_ONE_BIT_SAMPLE_DISABLE
|
|
585 |
#define IRDA_ONE_BIT_SAMPLE_ENABLED IRDA_ONE_BIT_SAMPLE_ENABLE
|
|
586 |
|
|
587 |
/**
|
|
588 |
* @}
|
|
589 |
*/
|
|
590 |
|
|
591 |
/** @defgroup HAL_IWDG_Aliased_Defines HAL IWDG Aliased Defines maintained for legacy purpose
|
|
592 |
* @{
|
|
593 |
*/
|
|
594 |
#define KR_KEY_RELOAD IWDG_KEY_RELOAD
|
|
595 |
#define KR_KEY_ENABLE IWDG_KEY_ENABLE
|
|
596 |
#define KR_KEY_EWA IWDG_KEY_WRITE_ACCESS_ENABLE
|
|
597 |
#define KR_KEY_DWA IWDG_KEY_WRITE_ACCESS_DISABLE
|
|
598 |
/**
|
|
599 |
* @}
|
|
600 |
*/
|
|
601 |
|
|
602 |
/** @defgroup HAL_LPTIM_Aliased_Defines HAL LPTIM Aliased Defines maintained for legacy purpose
|
|
603 |
* @{
|
|
604 |
*/
|
|
605 |
|
|
606 |
#define LPTIM_CLOCKSAMPLETIME_DIRECTTRANSISTION LPTIM_CLOCKSAMPLETIME_DIRECTTRANSITION
|
|
607 |
#define LPTIM_CLOCKSAMPLETIME_2TRANSISTIONS LPTIM_CLOCKSAMPLETIME_2TRANSITIONS
|
|
608 |
#define LPTIM_CLOCKSAMPLETIME_4TRANSISTIONS LPTIM_CLOCKSAMPLETIME_4TRANSITIONS
|
|
609 |
#define LPTIM_CLOCKSAMPLETIME_8TRANSISTIONS LPTIM_CLOCKSAMPLETIME_8TRANSITIONS
|
|
610 |
|
|
611 |
#define LPTIM_CLOCKPOLARITY_RISINGEDGE LPTIM_CLOCKPOLARITY_RISING
|
|
612 |
#define LPTIM_CLOCKPOLARITY_FALLINGEDGE LPTIM_CLOCKPOLARITY_FALLING
|
|
613 |
#define LPTIM_CLOCKPOLARITY_BOTHEDGES LPTIM_CLOCKPOLARITY_RISING_FALLING
|
|
614 |
|
|
615 |
#define LPTIM_TRIGSAMPLETIME_DIRECTTRANSISTION LPTIM_TRIGSAMPLETIME_DIRECTTRANSITION
|
|
616 |
#define LPTIM_TRIGSAMPLETIME_2TRANSISTIONS LPTIM_TRIGSAMPLETIME_2TRANSITIONS
|
|
617 |
#define LPTIM_TRIGSAMPLETIME_4TRANSISTIONS LPTIM_TRIGSAMPLETIME_4TRANSITIONS
|
|
618 |
#define LPTIM_TRIGSAMPLETIME_8TRANSISTIONS LPTIM_TRIGSAMPLETIME_8TRANSITIONS
|
|
619 |
|
|
620 |
/* The following 3 definition have also been present in a temporary version of lptim.h */
|
|
621 |
/* They need to be renamed also to the right name, just in case */
|
|
622 |
#define LPTIM_TRIGSAMPLETIME_2TRANSITION LPTIM_TRIGSAMPLETIME_2TRANSITIONS
|
|
623 |
#define LPTIM_TRIGSAMPLETIME_4TRANSITION LPTIM_TRIGSAMPLETIME_4TRANSITIONS
|
|
624 |
#define LPTIM_TRIGSAMPLETIME_8TRANSITION LPTIM_TRIGSAMPLETIME_8TRANSITIONS
|
|
625 |
|
|
626 |
/**
|
|
627 |
* @}
|
|
628 |
*/
|
|
629 |
|
|
630 |
/** @defgroup HAL_NAND_Aliased_Defines HAL NAND Aliased Defines maintained for legacy purpose
|
|
631 |
* @{
|
|
632 |
*/
|
|
633 |
#define HAL_NAND_Read_Page HAL_NAND_Read_Page_8b
|
|
634 |
#define HAL_NAND_Write_Page HAL_NAND_Write_Page_8b
|
|
635 |
#define HAL_NAND_Read_SpareArea HAL_NAND_Read_SpareArea_8b
|
|
636 |
#define HAL_NAND_Write_SpareArea HAL_NAND_Write_SpareArea_8b
|
|
637 |
|
|
638 |
#define NAND_AddressTypedef NAND_AddressTypeDef
|
|
639 |
|
|
640 |
#define __ARRAY_ADDRESS ARRAY_ADDRESS
|
|
641 |
#define __ADDR_1st_CYCLE ADDR_1ST_CYCLE
|
|
642 |
#define __ADDR_2nd_CYCLE ADDR_2ND_CYCLE
|
|
643 |
#define __ADDR_3rd_CYCLE ADDR_3RD_CYCLE
|
|
644 |
#define __ADDR_4th_CYCLE ADDR_4TH_CYCLE
|
|
645 |
/**
|
|
646 |
* @}
|
|
647 |
*/
|
|
648 |
|
|
649 |
/** @defgroup HAL_NOR_Aliased_Defines HAL NOR Aliased Defines maintained for legacy purpose
|
|
650 |
* @{
|
|
651 |
*/
|
|
652 |
#define NOR_StatusTypedef HAL_NOR_StatusTypeDef
|
|
653 |
#define NOR_SUCCESS HAL_NOR_STATUS_SUCCESS
|
|
654 |
#define NOR_ONGOING HAL_NOR_STATUS_ONGOING
|
|
655 |
#define NOR_ERROR HAL_NOR_STATUS_ERROR
|
|
656 |
#define NOR_TIMEOUT HAL_NOR_STATUS_TIMEOUT
|
|
657 |
|
|
658 |
#define __NOR_WRITE NOR_WRITE
|
|
659 |
#define __NOR_ADDR_SHIFT NOR_ADDR_SHIFT
|
|
660 |
/**
|
|
661 |
* @}
|
|
662 |
*/
|
|
663 |
|
|
664 |
/** @defgroup HAL_OPAMP_Aliased_Defines HAL OPAMP Aliased Defines maintained for legacy purpose
|
|
665 |
* @{
|
|
666 |
*/
|
|
667 |
|
|
668 |
#define OPAMP_NONINVERTINGINPUT_VP0 OPAMP_NONINVERTINGINPUT_IO0
|
|
669 |
#define OPAMP_NONINVERTINGINPUT_VP1 OPAMP_NONINVERTINGINPUT_IO1
|
|
670 |
#define OPAMP_NONINVERTINGINPUT_VP2 OPAMP_NONINVERTINGINPUT_IO2
|
|
671 |
#define OPAMP_NONINVERTINGINPUT_VP3 OPAMP_NONINVERTINGINPUT_IO3
|
|
672 |
|
|
673 |
#define OPAMP_SEC_NONINVERTINGINPUT_VP0 OPAMP_SEC_NONINVERTINGINPUT_IO0
|
|
674 |
#define OPAMP_SEC_NONINVERTINGINPUT_VP1 OPAMP_SEC_NONINVERTINGINPUT_IO1
|
|
675 |
#define OPAMP_SEC_NONINVERTINGINPUT_VP2 OPAMP_SEC_NONINVERTINGINPUT_IO2
|
|
676 |
#define OPAMP_SEC_NONINVERTINGINPUT_VP3 OPAMP_SEC_NONINVERTINGINPUT_IO3
|
|
677 |
|
|
678 |
#define OPAMP_INVERTINGINPUT_VM0 OPAMP_INVERTINGINPUT_IO0
|
|
679 |
#define OPAMP_INVERTINGINPUT_VM1 OPAMP_INVERTINGINPUT_IO1
|
|
680 |
|
|
681 |
#define IOPAMP_INVERTINGINPUT_VM0 OPAMP_INVERTINGINPUT_IO0
|
|
682 |
#define IOPAMP_INVERTINGINPUT_VM1 OPAMP_INVERTINGINPUT_IO1
|
|
683 |
|
|
684 |
#define OPAMP_SEC_INVERTINGINPUT_VM0 OPAMP_SEC_INVERTINGINPUT_IO0
|
|
685 |
#define OPAMP_SEC_INVERTINGINPUT_VM1 OPAMP_SEC_INVERTINGINPUT_IO1
|
|
686 |
|
|
687 |
#define OPAMP_INVERTINGINPUT_VINM OPAMP_SEC_INVERTINGINPUT_IO1
|
|
688 |
|
|
689 |
#define OPAMP_PGACONNECT_NO OPAMP_PGA_CONNECT_INVERTINGINPUT_NO
|
|
690 |
#define OPAMP_PGACONNECT_VM0 OPAMP_PGA_CONNECT_INVERTINGINPUT_IO0
|
|
691 |
#define OPAMP_PGACONNECT_VM1 OPAMP_PGA_CONNECT_INVERTINGINPUT_IO1
|
|
692 |
|
|
693 |
/**
|
|
694 |
* @}
|
|
695 |
*/
|
|
696 |
|
|
697 |
/** @defgroup HAL_I2S_Aliased_Defines HAL I2S Aliased Defines maintained for legacy purpose
|
|
698 |
* @{
|
|
699 |
*/
|
|
700 |
#define I2S_STANDARD_PHILLIPS I2S_STANDARD_PHILIPS
|
|
701 |
#if defined(STM32F7)
|
|
702 |
#define I2S_CLOCK_SYSCLK I2S_CLOCK_PLL
|
|
703 |
#endif
|
|
704 |
/**
|
|
705 |
* @}
|
|
706 |
*/
|
|
707 |
|
|
708 |
/** @defgroup HAL_PCCARD_Aliased_Defines HAL PCCARD Aliased Defines maintained for legacy purpose
|
|
709 |
* @{
|
|
710 |
*/
|
|
711 |
|
|
712 |
/* Compact Flash-ATA registers description */
|
|
713 |
#define CF_DATA ATA_DATA
|
|
714 |
#define CF_SECTOR_COUNT ATA_SECTOR_COUNT
|
|
715 |
#define CF_SECTOR_NUMBER ATA_SECTOR_NUMBER
|
|
716 |
#define CF_CYLINDER_LOW ATA_CYLINDER_LOW
|
|
717 |
#define CF_CYLINDER_HIGH ATA_CYLINDER_HIGH
|
|
718 |
#define CF_CARD_HEAD ATA_CARD_HEAD
|
|
719 |
#define CF_STATUS_CMD ATA_STATUS_CMD
|
|
720 |
#define CF_STATUS_CMD_ALTERNATE ATA_STATUS_CMD_ALTERNATE
|
|
721 |
#define CF_COMMON_DATA_AREA ATA_COMMON_DATA_AREA
|
|
722 |
|
|
723 |
/* Compact Flash-ATA commands */
|
|
724 |
#define CF_READ_SECTOR_CMD ATA_READ_SECTOR_CMD
|
|
725 |
#define CF_WRITE_SECTOR_CMD ATA_WRITE_SECTOR_CMD
|
|
726 |
#define CF_ERASE_SECTOR_CMD ATA_ERASE_SECTOR_CMD
|
|
727 |
#define CF_IDENTIFY_CMD ATA_IDENTIFY_CMD
|
|
728 |
|
|
729 |
#define PCCARD_StatusTypedef HAL_PCCARD_StatusTypeDef
|
|
730 |
#define PCCARD_SUCCESS HAL_PCCARD_STATUS_SUCCESS
|
|
731 |
#define PCCARD_ONGOING HAL_PCCARD_STATUS_ONGOING
|
|
732 |
#define PCCARD_ERROR HAL_PCCARD_STATUS_ERROR
|
|
733 |
#define PCCARD_TIMEOUT HAL_PCCARD_STATUS_TIMEOUT
|
|
734 |
/**
|
|
735 |
* @}
|
|
736 |
*/
|
|
737 |
|
|
738 |
/** @defgroup HAL_RTC_Aliased_Defines HAL RTC Aliased Defines maintained for legacy purpose
|
|
739 |
* @{
|
|
740 |
*/
|
|
741 |
|
|
742 |
#define FORMAT_BIN RTC_FORMAT_BIN
|
|
743 |
#define FORMAT_BCD RTC_FORMAT_BCD
|
|
744 |
|
|
745 |
#define RTC_ALARMSUBSECONDMASK_None RTC_ALARMSUBSECONDMASK_NONE
|
|
746 |
#define RTC_TAMPERERASEBACKUP_DISABLED RTC_TAMPER_ERASE_BACKUP_DISABLE
|
|
747 |
#define RTC_TAMPERMASK_FLAG_DISABLED RTC_TAMPERMASK_FLAG_DISABLE
|
|
748 |
#define RTC_TAMPERMASK_FLAG_ENABLED RTC_TAMPERMASK_FLAG_ENABLE
|
|
749 |
|
|
750 |
#define RTC_MASKTAMPERFLAG_DISABLED RTC_TAMPERMASK_FLAG_DISABLE
|
|
751 |
#define RTC_MASKTAMPERFLAG_ENABLED RTC_TAMPERMASK_FLAG_ENABLE
|
|
752 |
#define RTC_TAMPERERASEBACKUP_ENABLED RTC_TAMPER_ERASE_BACKUP_ENABLE
|
|
753 |
#define RTC_TAMPER1_2_INTERRUPT RTC_ALL_TAMPER_INTERRUPT
|
|
754 |
#define RTC_TAMPER1_2_3_INTERRUPT RTC_ALL_TAMPER_INTERRUPT
|
|
755 |
|
|
756 |
#define RTC_TIMESTAMPPIN_PC13 RTC_TIMESTAMPPIN_DEFAULT
|
|
757 |
#define RTC_TIMESTAMPPIN_PA0 RTC_TIMESTAMPPIN_POS1
|
|
758 |
#define RTC_TIMESTAMPPIN_PI8 RTC_TIMESTAMPPIN_POS1
|
|
759 |
#define RTC_TIMESTAMPPIN_PC1 RTC_TIMESTAMPPIN_POS2
|
|
760 |
|
|
761 |
#define RTC_OUTPUT_REMAP_PC13 RTC_OUTPUT_REMAP_NONE
|
|
762 |
#define RTC_OUTPUT_REMAP_PB14 RTC_OUTPUT_REMAP_POS1
|
|
763 |
#define RTC_OUTPUT_REMAP_PB2 RTC_OUTPUT_REMAP_POS1
|
|
764 |
|
|
765 |
#define RTC_TAMPERPIN_PC13 RTC_TAMPERPIN_DEFAULT
|
|
766 |
#define RTC_TAMPERPIN_PA0 RTC_TAMPERPIN_POS1
|
|
767 |
#define RTC_TAMPERPIN_PI8 RTC_TAMPERPIN_POS1
|
|
768 |
|
|
769 |
/**
|
|
770 |
* @}
|
|
771 |
*/
|
|
772 |
|
|
773 |
|
|
774 |
/** @defgroup HAL_SMARTCARD_Aliased_Defines HAL SMARTCARD Aliased Defines maintained for legacy purpose
|
|
775 |
* @{
|
|
776 |
*/
|
|
777 |
#define SMARTCARD_NACK_ENABLED SMARTCARD_NACK_ENABLE
|
|
778 |
#define SMARTCARD_NACK_DISABLED SMARTCARD_NACK_DISABLE
|
|
779 |
|
|
780 |
#define SMARTCARD_ONEBIT_SAMPLING_DISABLED SMARTCARD_ONE_BIT_SAMPLE_DISABLE
|
|
781 |
#define SMARTCARD_ONEBIT_SAMPLING_ENABLED SMARTCARD_ONE_BIT_SAMPLE_ENABLE
|
|
782 |
#define SMARTCARD_ONEBIT_SAMPLING_DISABLE SMARTCARD_ONE_BIT_SAMPLE_DISABLE
|
|
783 |
#define SMARTCARD_ONEBIT_SAMPLING_ENABLE SMARTCARD_ONE_BIT_SAMPLE_ENABLE
|
|
784 |
|
|
785 |
#define SMARTCARD_TIMEOUT_DISABLED SMARTCARD_TIMEOUT_DISABLE
|
|
786 |
#define SMARTCARD_TIMEOUT_ENABLED SMARTCARD_TIMEOUT_ENABLE
|
|
787 |
|
|
788 |
#define SMARTCARD_LASTBIT_DISABLED SMARTCARD_LASTBIT_DISABLE
|
|
789 |
#define SMARTCARD_LASTBIT_ENABLED SMARTCARD_LASTBIT_ENABLE
|
|
790 |
/**
|
|
791 |
* @}
|
|
792 |
*/
|
|
793 |
|
|
794 |
|
|
795 |
/** @defgroup HAL_SMBUS_Aliased_Defines HAL SMBUS Aliased Defines maintained for legacy purpose
|
|
796 |
* @{
|
|
797 |
*/
|
|
798 |
#define SMBUS_DUALADDRESS_DISABLED SMBUS_DUALADDRESS_DISABLE
|
|
799 |
#define SMBUS_DUALADDRESS_ENABLED SMBUS_DUALADDRESS_ENABLE
|
|
800 |
#define SMBUS_GENERALCALL_DISABLED SMBUS_GENERALCALL_DISABLE
|
|
801 |
#define SMBUS_GENERALCALL_ENABLED SMBUS_GENERALCALL_ENABLE
|
|
802 |
#define SMBUS_NOSTRETCH_DISABLED SMBUS_NOSTRETCH_DISABLE
|
|
803 |
#define SMBUS_NOSTRETCH_ENABLED SMBUS_NOSTRETCH_ENABLE
|
|
804 |
#define SMBUS_ANALOGFILTER_ENABLED SMBUS_ANALOGFILTER_ENABLE
|
|
805 |
#define SMBUS_ANALOGFILTER_DISABLED SMBUS_ANALOGFILTER_DISABLE
|
|
806 |
#define SMBUS_PEC_DISABLED SMBUS_PEC_DISABLE
|
|
807 |
#define SMBUS_PEC_ENABLED SMBUS_PEC_ENABLE
|
|
808 |
#define HAL_SMBUS_STATE_SLAVE_LISTEN HAL_SMBUS_STATE_LISTEN
|
|
809 |
/**
|
|
810 |
* @}
|
|
811 |
*/
|
|
812 |
|
|
813 |
/** @defgroup HAL_SPI_Aliased_Defines HAL SPI Aliased Defines maintained for legacy purpose
|
|
814 |
* @{
|
|
815 |
*/
|
|
816 |
#define SPI_TIMODE_DISABLED SPI_TIMODE_DISABLE
|
|
817 |
#define SPI_TIMODE_ENABLED SPI_TIMODE_ENABLE
|
|
818 |
|
|
819 |
#define SPI_CRCCALCULATION_DISABLED SPI_CRCCALCULATION_DISABLE
|
|
820 |
#define SPI_CRCCALCULATION_ENABLED SPI_CRCCALCULATION_ENABLE
|
|
821 |
|
|
822 |
#define SPI_NSS_PULSE_DISABLED SPI_NSS_PULSE_DISABLE
|
|
823 |
#define SPI_NSS_PULSE_ENABLED SPI_NSS_PULSE_ENABLE
|
|
824 |
|
|
825 |
/**
|
|
826 |
* @}
|
|
827 |
*/
|
|
828 |
|
|
829 |
/** @defgroup HAL_TIM_Aliased_Defines HAL TIM Aliased Defines maintained for legacy purpose
|
|
830 |
* @{
|
|
831 |
*/
|
|
832 |
#define CCER_CCxE_MASK TIM_CCER_CCxE_MASK
|
|
833 |
#define CCER_CCxNE_MASK TIM_CCER_CCxNE_MASK
|
|
834 |
|
|
835 |
#define TIM_DMABase_CR1 TIM_DMABASE_CR1
|
|
836 |
#define TIM_DMABase_CR2 TIM_DMABASE_CR2
|
|
837 |
#define TIM_DMABase_SMCR TIM_DMABASE_SMCR
|
|
838 |
#define TIM_DMABase_DIER TIM_DMABASE_DIER
|
|
839 |
#define TIM_DMABase_SR TIM_DMABASE_SR
|
|
840 |
#define TIM_DMABase_EGR TIM_DMABASE_EGR
|
|
841 |
#define TIM_DMABase_CCMR1 TIM_DMABASE_CCMR1
|
|
842 |
#define TIM_DMABase_CCMR2 TIM_DMABASE_CCMR2
|
|
843 |
#define TIM_DMABase_CCER TIM_DMABASE_CCER
|
|
844 |
#define TIM_DMABase_CNT TIM_DMABASE_CNT
|
|
845 |
#define TIM_DMABase_PSC TIM_DMABASE_PSC
|
|
846 |
#define TIM_DMABase_ARR TIM_DMABASE_ARR
|
|
847 |
#define TIM_DMABase_RCR TIM_DMABASE_RCR
|
|
848 |
#define TIM_DMABase_CCR1 TIM_DMABASE_CCR1
|
|
849 |
#define TIM_DMABase_CCR2 TIM_DMABASE_CCR2
|
|
850 |
#define TIM_DMABase_CCR3 TIM_DMABASE_CCR3
|
|
851 |
#define TIM_DMABase_CCR4 TIM_DMABASE_CCR4
|
|
852 |
#define TIM_DMABase_BDTR TIM_DMABASE_BDTR
|
|
853 |
#define TIM_DMABase_DCR TIM_DMABASE_DCR
|
|
854 |
#define TIM_DMABase_DMAR TIM_DMABASE_DMAR
|
|
855 |
#define TIM_DMABase_OR1 TIM_DMABASE_OR1
|
|
856 |
#define TIM_DMABase_CCMR3 TIM_DMABASE_CCMR3
|
|
857 |
#define TIM_DMABase_CCR5 TIM_DMABASE_CCR5
|
|
858 |
#define TIM_DMABase_CCR6 TIM_DMABASE_CCR6
|
|
859 |
#define TIM_DMABase_OR2 TIM_DMABASE_OR2
|
|
860 |
#define TIM_DMABase_OR3 TIM_DMABASE_OR3
|
|
861 |
#define TIM_DMABase_OR TIM_DMABASE_OR
|
|
862 |
|
|
863 |
#define TIM_EventSource_Update TIM_EVENTSOURCE_UPDATE
|
|
864 |
#define TIM_EventSource_CC1 TIM_EVENTSOURCE_CC1
|
|
865 |
#define TIM_EventSource_CC2 TIM_EVENTSOURCE_CC2
|
|
866 |
#define TIM_EventSource_CC3 TIM_EVENTSOURCE_CC3
|
|
867 |
#define TIM_EventSource_CC4 TIM_EVENTSOURCE_CC4
|
|
868 |
#define TIM_EventSource_COM TIM_EVENTSOURCE_COM
|
|
869 |
#define TIM_EventSource_Trigger TIM_EVENTSOURCE_TRIGGER
|
|
870 |
#define TIM_EventSource_Break TIM_EVENTSOURCE_BREAK
|
|
871 |
#define TIM_EventSource_Break2 TIM_EVENTSOURCE_BREAK2
|
|
872 |
|
|
873 |
#define TIM_DMABurstLength_1Transfer TIM_DMABURSTLENGTH_1TRANSFER
|
|
874 |
#define TIM_DMABurstLength_2Transfers TIM_DMABURSTLENGTH_2TRANSFERS
|
|
875 |
#define TIM_DMABurstLength_3Transfers TIM_DMABURSTLENGTH_3TRANSFERS
|
|
876 |
#define TIM_DMABurstLength_4Transfers TIM_DMABURSTLENGTH_4TRANSFERS
|
|
877 |
#define TIM_DMABurstLength_5Transfers TIM_DMABURSTLENGTH_5TRANSFERS
|
|
878 |
#define TIM_DMABurstLength_6Transfers TIM_DMABURSTLENGTH_6TRANSFERS
|
|
879 |
#define TIM_DMABurstLength_7Transfers TIM_DMABURSTLENGTH_7TRANSFERS
|
|
880 |
#define TIM_DMABurstLength_8Transfers TIM_DMABURSTLENGTH_8TRANSFERS
|
|
881 |
#define TIM_DMABurstLength_9Transfers TIM_DMABURSTLENGTH_9TRANSFERS
|
|
882 |
#define TIM_DMABurstLength_10Transfers TIM_DMABURSTLENGTH_10TRANSFERS
|
|
883 |
#define TIM_DMABurstLength_11Transfers TIM_DMABURSTLENGTH_11TRANSFERS
|
|
884 |
#define TIM_DMABurstLength_12Transfers TIM_DMABURSTLENGTH_12TRANSFERS
|
|
885 |
#define TIM_DMABurstLength_13Transfers TIM_DMABURSTLENGTH_13TRANSFERS
|
|
886 |
#define TIM_DMABurstLength_14Transfers TIM_DMABURSTLENGTH_14TRANSFERS
|
|
887 |
#define TIM_DMABurstLength_15Transfers TIM_DMABURSTLENGTH_15TRANSFERS
|
|
888 |
#define TIM_DMABurstLength_16Transfers TIM_DMABURSTLENGTH_16TRANSFERS
|
|
889 |
#define TIM_DMABurstLength_17Transfers TIM_DMABURSTLENGTH_17TRANSFERS
|
|
890 |
#define TIM_DMABurstLength_18Transfers TIM_DMABURSTLENGTH_18TRANSFERS
|
|
891 |
|
|
892 |
/**
|
|
893 |
* @}
|
|
894 |
*/
|
|
895 |
|
|
896 |
/** @defgroup HAL_TSC_Aliased_Defines HAL TSC Aliased Defines maintained for legacy purpose
|
|
897 |
* @{
|
|
898 |
*/
|
|
899 |
#define TSC_SYNC_POL_FALL TSC_SYNC_POLARITY_FALLING
|
|
900 |
#define TSC_SYNC_POL_RISE_HIGH TSC_SYNC_POLARITY_RISING
|
|
901 |
/**
|
|
902 |
* @}
|
|
903 |
*/
|
|
904 |
|
|
905 |
/** @defgroup HAL_UART_Aliased_Defines HAL UART Aliased Defines maintained for legacy purpose
|
|
906 |
* @{
|
|
907 |
*/
|
|
908 |
#define UART_ONEBIT_SAMPLING_DISABLED UART_ONE_BIT_SAMPLE_DISABLE
|
|
909 |
#define UART_ONEBIT_SAMPLING_ENABLED UART_ONE_BIT_SAMPLE_ENABLE
|
|
910 |
#define UART_ONE_BIT_SAMPLE_DISABLED UART_ONE_BIT_SAMPLE_DISABLE
|
|
911 |
#define UART_ONE_BIT_SAMPLE_ENABLED UART_ONE_BIT_SAMPLE_ENABLE
|
|
912 |
|
|
913 |
#define __HAL_UART_ONEBIT_ENABLE __HAL_UART_ONE_BIT_SAMPLE_ENABLE
|
|
914 |
#define __HAL_UART_ONEBIT_DISABLE __HAL_UART_ONE_BIT_SAMPLE_DISABLE
|
|
915 |
|
|
916 |
#define __DIV_SAMPLING16 UART_DIV_SAMPLING16
|
|
917 |
#define __DIVMANT_SAMPLING16 UART_DIVMANT_SAMPLING16
|
|
918 |
#define __DIVFRAQ_SAMPLING16 UART_DIVFRAQ_SAMPLING16
|
|
919 |
#define __UART_BRR_SAMPLING16 UART_BRR_SAMPLING16
|
|
920 |
|
|
921 |
#define __DIV_SAMPLING8 UART_DIV_SAMPLING8
|
|
922 |
#define __DIVMANT_SAMPLING8 UART_DIVMANT_SAMPLING8
|
|
923 |
#define __DIVFRAQ_SAMPLING8 UART_DIVFRAQ_SAMPLING8
|
|
924 |
#define __UART_BRR_SAMPLING8 UART_BRR_SAMPLING8
|
|
925 |
|
|
926 |
#define __DIV_LPUART UART_DIV_LPUART
|
|
927 |
|
|
928 |
#define UART_WAKEUPMETHODE_IDLELINE UART_WAKEUPMETHOD_IDLELINE
|
|
929 |
#define UART_WAKEUPMETHODE_ADDRESSMARK UART_WAKEUPMETHOD_ADDRESSMARK
|
|
930 |
|
|
931 |
/**
|
|
932 |
* @}
|
|
933 |
*/
|
|
934 |
|
|
935 |
|
|
936 |
/** @defgroup HAL_USART_Aliased_Defines HAL USART Aliased Defines maintained for legacy purpose
|
|
937 |
* @{
|
|
938 |
*/
|
|
939 |
|
|
940 |
#define USART_CLOCK_DISABLED USART_CLOCK_DISABLE
|
|
941 |
#define USART_CLOCK_ENABLED USART_CLOCK_ENABLE
|
|
942 |
|
|
943 |
#define USARTNACK_ENABLED USART_NACK_ENABLE
|
|
944 |
#define USARTNACK_DISABLED USART_NACK_DISABLE
|
|
945 |
/**
|
|
946 |
* @}
|
|
947 |
*/
|
|
948 |
|
|
949 |
/** @defgroup HAL_WWDG_Aliased_Defines HAL WWDG Aliased Defines maintained for legacy purpose
|
|
950 |
* @{
|
|
951 |
*/
|
|
952 |
#define CFR_BASE WWDG_CFR_BASE
|
|
953 |
|
|
954 |
/**
|
|
955 |
* @}
|
|
956 |
*/
|
|
957 |
|
|
958 |
/** @defgroup HAL_CAN_Aliased_Defines HAL CAN Aliased Defines maintained for legacy purpose
|
|
959 |
* @{
|
|
960 |
*/
|
|
961 |
#define CAN_FilterFIFO0 CAN_FILTER_FIFO0
|
|
962 |
#define CAN_FilterFIFO1 CAN_FILTER_FIFO1
|
|
963 |
#define CAN_IT_RQCP0 CAN_IT_TME
|
|
964 |
#define CAN_IT_RQCP1 CAN_IT_TME
|
|
965 |
#define CAN_IT_RQCP2 CAN_IT_TME
|
|
966 |
#define INAK_TIMEOUT CAN_TIMEOUT_VALUE
|
|
967 |
#define SLAK_TIMEOUT CAN_TIMEOUT_VALUE
|
|
968 |
#define CAN_TXSTATUS_FAILED ((uint8_t)0x00U)
|
|
969 |
#define CAN_TXSTATUS_OK ((uint8_t)0x01U)
|
|
970 |
#define CAN_TXSTATUS_PENDING ((uint8_t)0x02U)
|
|
971 |
|
|
972 |
/**
|
|
973 |
* @}
|
|
974 |
*/
|
|
975 |
|
|
976 |
/** @defgroup HAL_ETH_Aliased_Defines HAL ETH Aliased Defines maintained for legacy purpose
|
|
977 |
* @{
|
|
978 |
*/
|
|
979 |
|
|
980 |
#define VLAN_TAG ETH_VLAN_TAG
|
|
981 |
#define MIN_ETH_PAYLOAD ETH_MIN_ETH_PAYLOAD
|
|
982 |
#define MAX_ETH_PAYLOAD ETH_MAX_ETH_PAYLOAD
|
|
983 |
#define JUMBO_FRAME_PAYLOAD ETH_JUMBO_FRAME_PAYLOAD
|
|
984 |
#define MACMIIAR_CR_MASK ETH_MACMIIAR_CR_MASK
|
|
985 |
#define MACCR_CLEAR_MASK ETH_MACCR_CLEAR_MASK
|
|
986 |
#define MACFCR_CLEAR_MASK ETH_MACFCR_CLEAR_MASK
|
|
987 |
#define DMAOMR_CLEAR_MASK ETH_DMAOMR_CLEAR_MASK
|
|
988 |
|
|
989 |
#define ETH_MMCCR ((uint32_t)0x00000100U)
|
|
990 |
#define ETH_MMCRIR ((uint32_t)0x00000104U)
|
|
991 |
#define ETH_MMCTIR ((uint32_t)0x00000108U)
|
|
992 |
#define ETH_MMCRIMR ((uint32_t)0x0000010CU)
|
|
993 |
#define ETH_MMCTIMR ((uint32_t)0x00000110U)
|
|
994 |
#define ETH_MMCTGFSCCR ((uint32_t)0x0000014CU)
|
|
995 |
#define ETH_MMCTGFMSCCR ((uint32_t)0x00000150U)
|
|
996 |
#define ETH_MMCTGFCR ((uint32_t)0x00000168U)
|
|
997 |
#define ETH_MMCRFCECR ((uint32_t)0x00000194U)
|
|
998 |
#define ETH_MMCRFAECR ((uint32_t)0x00000198U)
|
|
999 |
#define ETH_MMCRGUFCR ((uint32_t)0x000001C4U)
|
|
1000 |
|
|
1001 |
#define ETH_MAC_TXFIFO_FULL ((uint32_t)0x02000000) /* Tx FIFO full */
|
|
1002 |
#define ETH_MAC_TXFIFONOT_EMPTY ((uint32_t)0x01000000) /* Tx FIFO not empty */
|
|
1003 |
#define ETH_MAC_TXFIFO_WRITE_ACTIVE ((uint32_t)0x00400000) /* Tx FIFO write active */
|
|
1004 |
#define ETH_MAC_TXFIFO_IDLE ((uint32_t)0x00000000) /* Tx FIFO read status: Idle */
|
|
1005 |
#define ETH_MAC_TXFIFO_READ ((uint32_t)0x00100000) /* Tx FIFO read status: Read (transferring data to the MAC transmitter) */
|
|
1006 |
#define ETH_MAC_TXFIFO_WAITING ((uint32_t)0x00200000) /* Tx FIFO read status: Waiting for TxStatus from MAC transmitter */
|
|
1007 |
#define ETH_MAC_TXFIFO_WRITING ((uint32_t)0x00300000) /* Tx FIFO read status: Writing the received TxStatus or flushing the TxFIFO */
|
|
1008 |
#define ETH_MAC_TRANSMISSION_PAUSE ((uint32_t)0x00080000) /* MAC transmitter in pause */
|
|
1009 |
#define ETH_MAC_TRANSMITFRAMECONTROLLER_IDLE ((uint32_t)0x00000000) /* MAC transmit frame controller: Idle */
|
|
1010 |
#define ETH_MAC_TRANSMITFRAMECONTROLLER_WAITING ((uint32_t)0x00020000) /* MAC transmit frame controller: Waiting for Status of previous frame or IFG/backoff period to be over */
|
|
1011 |
#define ETH_MAC_TRANSMITFRAMECONTROLLER_GENRATING_PCF ((uint32_t)0x00040000) /* MAC transmit frame controller: Generating and transmitting a Pause control frame (in full duplex mode) */
|
|
1012 |
#define ETH_MAC_TRANSMITFRAMECONTROLLER_TRANSFERRING ((uint32_t)0x00060000) /* MAC transmit frame controller: Transferring input frame for transmission */
|
|
1013 |
#define ETH_MAC_MII_TRANSMIT_ACTIVE ((uint32_t)0x00010000) /* MAC MII transmit engine active */
|
|
1014 |
#define ETH_MAC_RXFIFO_EMPTY ((uint32_t)0x00000000) /* Rx FIFO fill level: empty */
|
|
1015 |
#define ETH_MAC_RXFIFO_BELOW_THRESHOLD ((uint32_t)0x00000100) /* Rx FIFO fill level: fill-level below flow-control de-activate threshold */
|
|
1016 |
#define ETH_MAC_RXFIFO_ABOVE_THRESHOLD ((uint32_t)0x00000200) /* Rx FIFO fill level: fill-level above flow-control activate threshold */
|
|
1017 |
#define ETH_MAC_RXFIFO_FULL ((uint32_t)0x00000300) /* Rx FIFO fill level: full */
|
|
1018 |
#if defined(STM32F1)
|
|
1019 |
#else
|
|
1020 |
#define ETH_MAC_READCONTROLLER_IDLE ((uint32_t)0x00000000) /* Rx FIFO read controller IDLE state */
|
|
1021 |
#define ETH_MAC_READCONTROLLER_READING_DATA ((uint32_t)0x00000020) /* Rx FIFO read controller Reading frame data */
|
|
1022 |
#define ETH_MAC_READCONTROLLER_READING_STATUS ((uint32_t)0x00000040) /* Rx FIFO read controller Reading frame status (or time-stamp) */
|
|
1023 |
#endif
|
|
1024 |
#define ETH_MAC_READCONTROLLER_FLUSHING ((uint32_t)0x00000060) /* Rx FIFO read controller Flushing the frame data and status */
|
|
1025 |
#define ETH_MAC_RXFIFO_WRITE_ACTIVE ((uint32_t)0x00000010) /* Rx FIFO write controller active */
|
|
1026 |
#define ETH_MAC_SMALL_FIFO_NOTACTIVE ((uint32_t)0x00000000) /* MAC small FIFO read / write controllers not active */
|
|
1027 |
#define ETH_MAC_SMALL_FIFO_READ_ACTIVE ((uint32_t)0x00000002) /* MAC small FIFO read controller active */
|
|
1028 |
#define ETH_MAC_SMALL_FIFO_WRITE_ACTIVE ((uint32_t)0x00000004) /* MAC small FIFO write controller active */
|
|
1029 |
#define ETH_MAC_SMALL_FIFO_RW_ACTIVE ((uint32_t)0x00000006) /* MAC small FIFO read / write controllers active */
|
|
1030 |
#define ETH_MAC_MII_RECEIVE_PROTOCOL_ACTIVE ((uint32_t)0x00000001) /* MAC MII receive protocol engine active */
|
|
1031 |
|
|
1032 |
/**
|
|
1033 |
* @}
|
|
1034 |
*/
|
|
1035 |
|
|
1036 |
/** @defgroup HAL_DCMI_Aliased_Defines HAL DCMI Aliased Defines maintained for legacy purpose
|
|
1037 |
* @{
|
|
1038 |
*/
|
|
1039 |
#define HAL_DCMI_ERROR_OVF HAL_DCMI_ERROR_OVR
|
|
1040 |
#define DCMI_IT_OVF DCMI_IT_OVR
|
|
1041 |
#define DCMI_FLAG_OVFRI DCMI_FLAG_OVRRI
|
|
1042 |
#define DCMI_FLAG_OVFMI DCMI_FLAG_OVRMI
|
|
1043 |
|
|
1044 |
#define HAL_DCMI_ConfigCROP HAL_DCMI_ConfigCrop
|
|
1045 |
#define HAL_DCMI_EnableCROP HAL_DCMI_EnableCrop
|
|
1046 |
#define HAL_DCMI_DisableCROP HAL_DCMI_DisableCrop
|
|
1047 |
|
|
1048 |
/**
|
|
1049 |
* @}
|
|
1050 |
*/
|
|
1051 |
|
|
1052 |
#if defined(STM32L4xx) || defined(STM32F7) || defined(STM32F427xx) || defined(STM32F437xx) ||\
|
|
1053 |
defined(STM32F429xx) || defined(STM32F439xx) || defined(STM32F469xx) || defined(STM32F479xx)
|
|
1054 |
/** @defgroup HAL_DMA2D_Aliased_Defines HAL DMA2D Aliased Defines maintained for legacy purpose
|
|
1055 |
* @{
|
|
1056 |
*/
|
|
1057 |
#define DMA2D_ARGB8888 DMA2D_OUTPUT_ARGB8888
|
|
1058 |
#define DMA2D_RGB888 DMA2D_OUTPUT_RGB888
|
|
1059 |
#define DMA2D_RGB565 DMA2D_OUTPUT_RGB565
|
|
1060 |
#define DMA2D_ARGB1555 DMA2D_OUTPUT_ARGB1555
|
|
1061 |
#define DMA2D_ARGB4444 DMA2D_OUTPUT_ARGB4444
|
|
1062 |
|
|
1063 |
#define CM_ARGB8888 DMA2D_INPUT_ARGB8888
|
|
1064 |
#define CM_RGB888 DMA2D_INPUT_RGB888
|
|
1065 |
#define CM_RGB565 DMA2D_INPUT_RGB565
|
|
1066 |
#define CM_ARGB1555 DMA2D_INPUT_ARGB1555
|
|
1067 |
#define CM_ARGB4444 DMA2D_INPUT_ARGB4444
|
|
1068 |
#define CM_L8 DMA2D_INPUT_L8
|
|
1069 |
#define CM_AL44 DMA2D_INPUT_AL44
|
|
1070 |
#define CM_AL88 DMA2D_INPUT_AL88
|
|
1071 |
#define CM_L4 DMA2D_INPUT_L4
|
|
1072 |
#define CM_A8 DMA2D_INPUT_A8
|
|
1073 |
#define CM_A4 DMA2D_INPUT_A4
|
|
1074 |
/**
|
|
1075 |
* @}
|
|
1076 |
*/
|
|
1077 |
#endif /* STM32L4xx || STM32F7*/
|
|
1078 |
|
|
1079 |
/** @defgroup HAL_PPP_Aliased_Defines HAL PPP Aliased Defines maintained for legacy purpose
|
|
1080 |
* @{
|
|
1081 |
*/
|
|
1082 |
|
|
1083 |
/**
|
|
1084 |
* @}
|
|
1085 |
*/
|
|
1086 |
|
|
1087 |
/* Exported functions --------------------------------------------------------*/
|
|
1088 |
|
|
1089 |
/** @defgroup HAL_CRYP_Aliased_Functions HAL CRYP Aliased Functions maintained for legacy purpose
|
|
1090 |
* @{
|
|
1091 |
*/
|
|
1092 |
#define HAL_CRYP_ComputationCpltCallback HAL_CRYPEx_ComputationCpltCallback
|
|
1093 |
/**
|
|
1094 |
* @}
|
|
1095 |
*/
|
|
1096 |
|
|
1097 |
/** @defgroup HAL_HASH_Aliased_Functions HAL HASH Aliased Functions maintained for legacy purpose
|
|
1098 |
* @{
|
|
1099 |
*/
|
|
1100 |
#define HAL_HASH_STATETypeDef HAL_HASH_StateTypeDef
|
|
1101 |
#define HAL_HASHPhaseTypeDef HAL_HASH_PhaseTypeDef
|
|
1102 |
#define HAL_HMAC_MD5_Finish HAL_HASH_MD5_Finish
|
|
1103 |
#define HAL_HMAC_SHA1_Finish HAL_HASH_SHA1_Finish
|
|
1104 |
#define HAL_HMAC_SHA224_Finish HAL_HASH_SHA224_Finish
|
|
1105 |
#define HAL_HMAC_SHA256_Finish HAL_HASH_SHA256_Finish
|
|
1106 |
|
|
1107 |
/*HASH Algorithm Selection*/
|
|
1108 |
|
|
1109 |
#define HASH_AlgoSelection_SHA1 HASH_ALGOSELECTION_SHA1
|
|
1110 |
#define HASH_AlgoSelection_SHA224 HASH_ALGOSELECTION_SHA224
|
|
1111 |
#define HASH_AlgoSelection_SHA256 HASH_ALGOSELECTION_SHA256
|
|
1112 |
#define HASH_AlgoSelection_MD5 HASH_ALGOSELECTION_MD5
|
|
1113 |
|
|
1114 |
#define HASH_AlgoMode_HASH HASH_ALGOMODE_HASH
|
|
1115 |
#define HASH_AlgoMode_HMAC HASH_ALGOMODE_HMAC
|
|
1116 |
|
|
1117 |
#define HASH_HMACKeyType_ShortKey HASH_HMAC_KEYTYPE_SHORTKEY
|
|
1118 |
#define HASH_HMACKeyType_LongKey HASH_HMAC_KEYTYPE_LONGKEY
|
|
1119 |
/**
|
|
1120 |
* @}
|
|
1121 |
*/
|
|
1122 |
|
|
1123 |
/** @defgroup HAL_Aliased_Functions HAL Generic Aliased Functions maintained for legacy purpose
|
|
1124 |
* @{
|
|
1125 |
*/
|
|
1126 |
#define HAL_EnableDBGSleepMode HAL_DBGMCU_EnableDBGSleepMode
|
|
1127 |
#define HAL_DisableDBGSleepMode HAL_DBGMCU_DisableDBGSleepMode
|
|
1128 |
#define HAL_EnableDBGStopMode HAL_DBGMCU_EnableDBGStopMode
|
|
1129 |
#define HAL_DisableDBGStopMode HAL_DBGMCU_DisableDBGStopMode
|
|
1130 |
#define HAL_EnableDBGStandbyMode HAL_DBGMCU_EnableDBGStandbyMode
|
|
1131 |
#define HAL_DisableDBGStandbyMode HAL_DBGMCU_DisableDBGStandbyMode
|
|
1132 |
#define HAL_DBG_LowPowerConfig(Periph, cmd) (((cmd)==ENABLE)? HAL_DBGMCU_DBG_EnableLowPowerConfig(Periph) : HAL_DBGMCU_DBG_DisableLowPowerConfig(Periph))
|
|
1133 |
#define HAL_VREFINT_OutputSelect HAL_SYSCFG_VREFINT_OutputSelect
|
|
1134 |
#define HAL_Lock_Cmd(cmd) (((cmd)==ENABLE) ? HAL_SYSCFG_Enable_Lock_VREFINT() : HAL_SYSCFG_Disable_Lock_VREFINT())
|
|
1135 |
#if defined(STM32L0)
|
|
1136 |
#else
|
|
1137 |
#define HAL_VREFINT_Cmd(cmd) (((cmd)==ENABLE)? HAL_SYSCFG_EnableVREFINT() : HAL_SYSCFG_DisableVREFINT())
|
|
1138 |
#endif
|
|
1139 |
#define HAL_ADC_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? HAL_ADCEx_EnableVREFINT() : HAL_ADCEx_DisableVREFINT())
|
|
1140 |
#define HAL_ADC_EnableBufferSensor_Cmd(cmd) (((cmd)==ENABLE) ? HAL_ADCEx_EnableVREFINTTempSensor() : HAL_ADCEx_DisableVREFINTTempSensor())
|
|
1141 |
/**
|
|
1142 |
* @}
|
|
1143 |
*/
|
|
1144 |
|
|
1145 |
/** @defgroup HAL_FLASH_Aliased_Functions HAL FLASH Aliased Functions maintained for legacy purpose
|
|
1146 |
* @{
|
|
1147 |
*/
|
|
1148 |
#define FLASH_HalfPageProgram HAL_FLASHEx_HalfPageProgram
|
|
1149 |
#define FLASH_EnableRunPowerDown HAL_FLASHEx_EnableRunPowerDown
|
|
1150 |
#define FLASH_DisableRunPowerDown HAL_FLASHEx_DisableRunPowerDown
|
|
1151 |
#define HAL_DATA_EEPROMEx_Unlock HAL_FLASHEx_DATAEEPROM_Unlock
|
|
1152 |
#define HAL_DATA_EEPROMEx_Lock HAL_FLASHEx_DATAEEPROM_Lock
|
|
1153 |
#define HAL_DATA_EEPROMEx_Erase HAL_FLASHEx_DATAEEPROM_Erase
|
|
1154 |
#define HAL_DATA_EEPROMEx_Program HAL_FLASHEx_DATAEEPROM_Program
|
|
1155 |
|
|
1156 |
/**
|
|
1157 |
* @}
|
|
1158 |
*/
|
|
1159 |
|
|
1160 |
/** @defgroup HAL_I2C_Aliased_Functions HAL I2C Aliased Functions maintained for legacy purpose
|
|
1161 |
* @{
|
|
1162 |
*/
|
|
1163 |
#define HAL_I2CEx_AnalogFilter_Config HAL_I2CEx_ConfigAnalogFilter
|
|
1164 |
#define HAL_I2CEx_DigitalFilter_Config HAL_I2CEx_ConfigDigitalFilter
|
|
1165 |
#define HAL_FMPI2CEx_AnalogFilter_Config HAL_FMPI2CEx_ConfigAnalogFilter
|
|
1166 |
#define HAL_FMPI2CEx_DigitalFilter_Config HAL_FMPI2CEx_ConfigDigitalFilter
|
|
1167 |
|
|
1168 |
#define HAL_I2CFastModePlusConfig(SYSCFG_I2CFastModePlus, cmd) (((cmd)==ENABLE)? HAL_I2CEx_EnableFastModePlus(SYSCFG_I2CFastModePlus): HAL_I2CEx_DisableFastModePlus(SYSCFG_I2CFastModePlus))
|
|
1169 |
/**
|
|
1170 |
* @}
|
|
1171 |
*/
|
|
1172 |
|
|
1173 |
/** @defgroup HAL_PWR_Aliased HAL PWR Aliased maintained for legacy purpose
|
|
1174 |
* @{
|
|
1175 |
*/
|
|
1176 |
#define HAL_PWR_PVDConfig HAL_PWR_ConfigPVD
|
|
1177 |
#define HAL_PWR_DisableBkUpReg HAL_PWREx_DisableBkUpReg
|
|
1178 |
#define HAL_PWR_DisableFlashPowerDown HAL_PWREx_DisableFlashPowerDown
|
|
1179 |
#define HAL_PWR_DisableVddio2Monitor HAL_PWREx_DisableVddio2Monitor
|
|
1180 |
#define HAL_PWR_EnableBkUpReg HAL_PWREx_EnableBkUpReg
|
|
1181 |
#define HAL_PWR_EnableFlashPowerDown HAL_PWREx_EnableFlashPowerDown
|
|
1182 |
#define HAL_PWR_EnableVddio2Monitor HAL_PWREx_EnableVddio2Monitor
|
|
1183 |
#define HAL_PWR_PVD_PVM_IRQHandler HAL_PWREx_PVD_PVM_IRQHandler
|
|
1184 |
#define HAL_PWR_PVDLevelConfig HAL_PWR_ConfigPVD
|
|
1185 |
#define HAL_PWR_Vddio2Monitor_IRQHandler HAL_PWREx_Vddio2Monitor_IRQHandler
|
|
1186 |
#define HAL_PWR_Vddio2MonitorCallback HAL_PWREx_Vddio2MonitorCallback
|
|
1187 |
#define HAL_PWREx_ActivateOverDrive HAL_PWREx_EnableOverDrive
|
|
1188 |
#define HAL_PWREx_DeactivateOverDrive HAL_PWREx_DisableOverDrive
|
|
1189 |
#define HAL_PWREx_DisableSDADCAnalog HAL_PWREx_DisableSDADC
|
|
1190 |
#define HAL_PWREx_EnableSDADCAnalog HAL_PWREx_EnableSDADC
|
|
1191 |
#define HAL_PWREx_PVMConfig HAL_PWREx_ConfigPVM
|
|
1192 |
|
|
1193 |
#define PWR_MODE_NORMAL PWR_PVD_MODE_NORMAL
|
|
1194 |
#define PWR_MODE_IT_RISING PWR_PVD_MODE_IT_RISING
|
|
1195 |
#define PWR_MODE_IT_FALLING PWR_PVD_MODE_IT_FALLING
|
|
1196 |
#define PWR_MODE_IT_RISING_FALLING PWR_PVD_MODE_IT_RISING_FALLING
|
|
1197 |
#define PWR_MODE_EVENT_RISING PWR_PVD_MODE_EVENT_RISING
|
|
1198 |
#define PWR_MODE_EVENT_FALLING PWR_PVD_MODE_EVENT_FALLING
|
|
1199 |
#define PWR_MODE_EVENT_RISING_FALLING PWR_PVD_MODE_EVENT_RISING_FALLING
|
|
1200 |
|
|
1201 |
#define CR_OFFSET_BB PWR_CR_OFFSET_BB
|
|
1202 |
#define CSR_OFFSET_BB PWR_CSR_OFFSET_BB
|
|
1203 |
|
|
1204 |
#define DBP_BitNumber DBP_BIT_NUMBER
|
|
1205 |
#define PVDE_BitNumber PVDE_BIT_NUMBER
|
|
1206 |
#define PMODE_BitNumber PMODE_BIT_NUMBER
|
|
1207 |
#define EWUP_BitNumber EWUP_BIT_NUMBER
|
|
1208 |
#define FPDS_BitNumber FPDS_BIT_NUMBER
|
|
1209 |
#define ODEN_BitNumber ODEN_BIT_NUMBER
|
|
1210 |
#define ODSWEN_BitNumber ODSWEN_BIT_NUMBER
|
|
1211 |
#define MRLVDS_BitNumber MRLVDS_BIT_NUMBER
|
|
1212 |
#define LPLVDS_BitNumber LPLVDS_BIT_NUMBER
|
|
1213 |
#define BRE_BitNumber BRE_BIT_NUMBER
|
|
1214 |
|
|
1215 |
#define PWR_MODE_EVT PWR_PVD_MODE_NORMAL
|
|
1216 |
|
|
1217 |
/**
|
|
1218 |
* @}
|
|
1219 |
*/
|
|
1220 |
|
|
1221 |
/** @defgroup HAL_SMBUS_Aliased_Functions HAL SMBUS Aliased Functions maintained for legacy purpose
|
|
1222 |
* @{
|
|
1223 |
*/
|
|
1224 |
#define HAL_SMBUS_Slave_Listen_IT HAL_SMBUS_EnableListen_IT
|
|
1225 |
#define HAL_SMBUS_SlaveAddrCallback HAL_SMBUS_AddrCallback
|
|
1226 |
#define HAL_SMBUS_SlaveListenCpltCallback HAL_SMBUS_ListenCpltCallback
|
|
1227 |
/**
|
|
1228 |
* @}
|
|
1229 |
*/
|
|
1230 |
|
|
1231 |
/** @defgroup HAL_SPI_Aliased_Functions HAL SPI Aliased Functions maintained for legacy purpose
|
|
1232 |
* @{
|
|
1233 |
*/
|
|
1234 |
#define HAL_SPI_FlushRxFifo HAL_SPIEx_FlushRxFifo
|
|
1235 |
/**
|
|
1236 |
* @}
|
|
1237 |
*/
|
|
1238 |
|
|
1239 |
/** @defgroup HAL_TIM_Aliased_Functions HAL TIM Aliased Functions maintained for legacy purpose
|
|
1240 |
* @{
|
|
1241 |
*/
|
|
1242 |
#define HAL_TIM_DMADelayPulseCplt TIM_DMADelayPulseCplt
|
|
1243 |
#define HAL_TIM_DMAError TIM_DMAError
|
|
1244 |
#define HAL_TIM_DMACaptureCplt TIM_DMACaptureCplt
|
|
1245 |
#define HAL_TIMEx_DMACommutationCplt TIMEx_DMACommutationCplt
|
|
1246 |
/**
|
|
1247 |
* @}
|
|
1248 |
*/
|
|
1249 |
|
|
1250 |
/** @defgroup HAL_UART_Aliased_Functions HAL UART Aliased Functions maintained for legacy purpose
|
|
1251 |
* @{
|
|
1252 |
*/
|
|
1253 |
#define HAL_UART_WakeupCallback HAL_UARTEx_WakeupCallback
|
|
1254 |
/**
|
|
1255 |
* @}
|
|
1256 |
*/
|
|
1257 |
|
|
1258 |
/** @defgroup HAL_LTDC_Aliased_Functions HAL LTDC Aliased Functions maintained for legacy purpose
|
|
1259 |
* @{
|
|
1260 |
*/
|
|
1261 |
#define HAL_LTDC_LineEvenCallback HAL_LTDC_LineEventCallback
|
|
1262 |
/**
|
|
1263 |
* @}
|
|
1264 |
*/
|
|
1265 |
|
|
1266 |
|
|
1267 |
/** @defgroup HAL_PPP_Aliased_Functions HAL PPP Aliased Functions maintained for legacy purpose
|
|
1268 |
* @{
|
|
1269 |
*/
|
|
1270 |
|
|
1271 |
/**
|
|
1272 |
* @}
|
|
1273 |
*/
|
|
1274 |
|
|
1275 |
/* Exported macros ------------------------------------------------------------*/
|
|
1276 |
|
|
1277 |
/** @defgroup HAL_AES_Aliased_Macros HAL CRYP Aliased Macros maintained for legacy purpose
|
|
1278 |
* @{
|
|
1279 |
*/
|
|
1280 |
#define AES_IT_CC CRYP_IT_CC
|
|
1281 |
#define AES_IT_ERR CRYP_IT_ERR
|
|
1282 |
#define AES_FLAG_CCF CRYP_FLAG_CCF
|
|
1283 |
/**
|
|
1284 |
* @}
|
|
1285 |
*/
|
|
1286 |
|
|
1287 |
/** @defgroup HAL_Aliased_Macros HAL Generic Aliased Macros maintained for legacy purpose
|
|
1288 |
* @{
|
|
1289 |
*/
|
|
1290 |
#define __HAL_GET_BOOT_MODE __HAL_SYSCFG_GET_BOOT_MODE
|
|
1291 |
#define __HAL_REMAPMEMORY_FLASH __HAL_SYSCFG_REMAPMEMORY_FLASH
|
|
1292 |
#define __HAL_REMAPMEMORY_SYSTEMFLASH __HAL_SYSCFG_REMAPMEMORY_SYSTEMFLASH
|
|
1293 |
#define __HAL_REMAPMEMORY_SRAM __HAL_SYSCFG_REMAPMEMORY_SRAM
|
|
1294 |
#define __HAL_REMAPMEMORY_FMC __HAL_SYSCFG_REMAPMEMORY_FMC
|
|
1295 |
#define __HAL_REMAPMEMORY_FMC_SDRAM __HAL_SYSCFG_REMAPMEMORY_FMC_SDRAM
|
|
1296 |
#define __HAL_REMAPMEMORY_FSMC __HAL_SYSCFG_REMAPMEMORY_FSMC
|
|
1297 |
#define __HAL_REMAPMEMORY_QUADSPI __HAL_SYSCFG_REMAPMEMORY_QUADSPI
|
|
1298 |
#define __HAL_FMC_BANK __HAL_SYSCFG_FMC_BANK
|
|
1299 |
#define __HAL_GET_FLAG __HAL_SYSCFG_GET_FLAG
|
|
1300 |
#define __HAL_CLEAR_FLAG __HAL_SYSCFG_CLEAR_FLAG
|
|
1301 |
#define __HAL_VREFINT_OUT_ENABLE __HAL_SYSCFG_VREFINT_OUT_ENABLE
|
|
1302 |
#define __HAL_VREFINT_OUT_DISABLE __HAL_SYSCFG_VREFINT_OUT_DISABLE
|
|
1303 |
|
|
1304 |
#define SYSCFG_FLAG_VREF_READY SYSCFG_FLAG_VREFINT_READY
|
|
1305 |
#define SYSCFG_FLAG_RC48 RCC_FLAG_HSI48
|
|
1306 |
#define IS_SYSCFG_FASTMODEPLUS_CONFIG IS_I2C_FASTMODEPLUS
|
|
1307 |
#define UFB_MODE_BitNumber UFB_MODE_BIT_NUMBER
|
|
1308 |
#define CMP_PD_BitNumber CMP_PD_BIT_NUMBER
|
|
1309 |
|
|
1310 |
/**
|
|
1311 |
* @}
|
|
1312 |
*/
|
|
1313 |
|
|
1314 |
|
|
1315 |
/** @defgroup HAL_ADC_Aliased_Macros HAL ADC Aliased Macros maintained for legacy purpose
|
|
1316 |
* @{
|
|
1317 |
*/
|
|
1318 |
#define __ADC_ENABLE __HAL_ADC_ENABLE
|
|
1319 |
#define __ADC_DISABLE __HAL_ADC_DISABLE
|
|
1320 |
#define __HAL_ADC_ENABLING_CONDITIONS ADC_ENABLING_CONDITIONS
|
|
1321 |
#define __HAL_ADC_DISABLING_CONDITIONS ADC_DISABLING_CONDITIONS
|
|
1322 |
#define __HAL_ADC_IS_ENABLED ADC_IS_ENABLE
|
|
1323 |
#define __ADC_IS_ENABLED ADC_IS_ENABLE
|
|
1324 |
#define __HAL_ADC_IS_SOFTWARE_START_REGULAR ADC_IS_SOFTWARE_START_REGULAR
|
|
1325 |
#define __HAL_ADC_IS_SOFTWARE_START_INJECTED ADC_IS_SOFTWARE_START_INJECTED
|
|
1326 |
#define __HAL_ADC_IS_CONVERSION_ONGOING_REGULAR_INJECTED ADC_IS_CONVERSION_ONGOING_REGULAR_INJECTED
|
|
1327 |
#define __HAL_ADC_IS_CONVERSION_ONGOING_REGULAR ADC_IS_CONVERSION_ONGOING_REGULAR
|
|
1328 |
#define __HAL_ADC_IS_CONVERSION_ONGOING_INJECTED ADC_IS_CONVERSION_ONGOING_INJECTED
|
|
1329 |
#define __HAL_ADC_IS_CONVERSION_ONGOING ADC_IS_CONVERSION_ONGOING
|
|
1330 |
#define __HAL_ADC_CLEAR_ERRORCODE ADC_CLEAR_ERRORCODE
|
|
1331 |
|
|
1332 |
#define __HAL_ADC_GET_RESOLUTION ADC_GET_RESOLUTION
|
|
1333 |
#define __HAL_ADC_JSQR_RK ADC_JSQR_RK
|
|
1334 |
#define __HAL_ADC_CFGR_AWD1CH ADC_CFGR_AWD1CH_SHIFT
|
|
1335 |
#define __HAL_ADC_CFGR_AWD23CR ADC_CFGR_AWD23CR
|
|
1336 |
#define __HAL_ADC_CFGR_INJECT_AUTO_CONVERSION ADC_CFGR_INJECT_AUTO_CONVERSION
|
|
1337 |
#define __HAL_ADC_CFGR_INJECT_CONTEXT_QUEUE ADC_CFGR_INJECT_CONTEXT_QUEUE
|
|
1338 |
#define __HAL_ADC_CFGR_INJECT_DISCCONTINUOUS ADC_CFGR_INJECT_DISCCONTINUOUS
|
|
1339 |
#define __HAL_ADC_CFGR_REG_DISCCONTINUOUS ADC_CFGR_REG_DISCCONTINUOUS
|
|
1340 |
#define __HAL_ADC_CFGR_DISCONTINUOUS_NUM ADC_CFGR_DISCONTINUOUS_NUM
|
|
1341 |
#define __HAL_ADC_CFGR_AUTOWAIT ADC_CFGR_AUTOWAIT
|
|
1342 |
#define __HAL_ADC_CFGR_CONTINUOUS ADC_CFGR_CONTINUOUS
|
|
1343 |
#define __HAL_ADC_CFGR_OVERRUN ADC_CFGR_OVERRUN
|
|
1344 |
#define __HAL_ADC_CFGR_DMACONTREQ ADC_CFGR_DMACONTREQ
|
|
1345 |
#define __HAL_ADC_CFGR_EXTSEL ADC_CFGR_EXTSEL_SET
|
|
1346 |
#define __HAL_ADC_JSQR_JEXTSEL ADC_JSQR_JEXTSEL_SET
|
|
1347 |
#define __HAL_ADC_OFR_CHANNEL ADC_OFR_CHANNEL
|
|
1348 |
#define __HAL_ADC_DIFSEL_CHANNEL ADC_DIFSEL_CHANNEL
|
|
1349 |
#define __HAL_ADC_CALFACT_DIFF_SET ADC_CALFACT_DIFF_SET
|
|
1350 |
#define __HAL_ADC_CALFACT_DIFF_GET ADC_CALFACT_DIFF_GET
|
|
1351 |
#define __HAL_ADC_TRX_HIGHTHRESHOLD ADC_TRX_HIGHTHRESHOLD
|
|
1352 |
|
|
1353 |
#define __HAL_ADC_OFFSET_SHIFT_RESOLUTION ADC_OFFSET_SHIFT_RESOLUTION
|
|
1354 |
#define __HAL_ADC_AWD1THRESHOLD_SHIFT_RESOLUTION ADC_AWD1THRESHOLD_SHIFT_RESOLUTION
|
|
1355 |
#define __HAL_ADC_AWD23THRESHOLD_SHIFT_RESOLUTION ADC_AWD23THRESHOLD_SHIFT_RESOLUTION
|
|
1356 |
#define __HAL_ADC_COMMON_REGISTER ADC_COMMON_REGISTER
|
|
1357 |
#define __HAL_ADC_COMMON_CCR_MULTI ADC_COMMON_CCR_MULTI
|
|
1358 |
#define __HAL_ADC_MULTIMODE_IS_ENABLED ADC_MULTIMODE_IS_ENABLE
|
|
1359 |
#define __ADC_MULTIMODE_IS_ENABLED ADC_MULTIMODE_IS_ENABLE
|
|
1360 |
#define __HAL_ADC_NONMULTIMODE_OR_MULTIMODEMASTER ADC_NONMULTIMODE_OR_MULTIMODEMASTER
|
|
1361 |
#define __HAL_ADC_COMMON_ADC_OTHER ADC_COMMON_ADC_OTHER
|
|
1362 |
#define __HAL_ADC_MULTI_SLAVE ADC_MULTI_SLAVE
|
|
1363 |
|
|
1364 |
#define __HAL_ADC_SQR1_L ADC_SQR1_L_SHIFT
|
|
1365 |
#define __HAL_ADC_JSQR_JL ADC_JSQR_JL_SHIFT
|
|
1366 |
#define __HAL_ADC_JSQR_RK_JL ADC_JSQR_RK_JL
|
|
1367 |
#define __HAL_ADC_CR1_DISCONTINUOUS_NUM ADC_CR1_DISCONTINUOUS_NUM
|
|
1368 |
#define __HAL_ADC_CR1_SCAN ADC_CR1_SCAN_SET
|
|
1369 |
#define __HAL_ADC_CONVCYCLES_MAX_RANGE ADC_CONVCYCLES_MAX_RANGE
|
|
1370 |
#define __HAL_ADC_CLOCK_PRESCALER_RANGE ADC_CLOCK_PRESCALER_RANGE
|
|
1371 |
#define __HAL_ADC_GET_CLOCK_PRESCALER ADC_GET_CLOCK_PRESCALER
|
|
1372 |
|
|
1373 |
#define __HAL_ADC_SQR1 ADC_SQR1
|
|
1374 |
#define __HAL_ADC_SMPR1 ADC_SMPR1
|
|
1375 |
#define __HAL_ADC_SMPR2 ADC_SMPR2
|
|
1376 |
#define __HAL_ADC_SQR3_RK ADC_SQR3_RK
|
|
1377 |
#define __HAL_ADC_SQR2_RK ADC_SQR2_RK
|
|
1378 |
#define __HAL_ADC_SQR1_RK ADC_SQR1_RK
|
|
1379 |
#define __HAL_ADC_CR2_CONTINUOUS ADC_CR2_CONTINUOUS
|
|
1380 |
#define __HAL_ADC_CR1_DISCONTINUOUS ADC_CR1_DISCONTINUOUS
|
|
1381 |
#define __HAL_ADC_CR1_SCANCONV ADC_CR1_SCANCONV
|
|
1382 |
#define __HAL_ADC_CR2_EOCSelection ADC_CR2_EOCSelection
|
|
1383 |
#define __HAL_ADC_CR2_DMAContReq ADC_CR2_DMAContReq
|
|
1384 |
#define __HAL_ADC_JSQR ADC_JSQR
|
|
1385 |
|
|
1386 |
#define __HAL_ADC_CHSELR_CHANNEL ADC_CHSELR_CHANNEL
|
|
1387 |
#define __HAL_ADC_CFGR1_REG_DISCCONTINUOUS ADC_CFGR1_REG_DISCCONTINUOUS
|
|
1388 |
#define __HAL_ADC_CFGR1_AUTOOFF ADC_CFGR1_AUTOOFF
|
|
1389 |
#define __HAL_ADC_CFGR1_AUTOWAIT ADC_CFGR1_AUTOWAIT
|
|
1390 |
#define __HAL_ADC_CFGR1_CONTINUOUS ADC_CFGR1_CONTINUOUS
|
|
1391 |
#define __HAL_ADC_CFGR1_OVERRUN ADC_CFGR1_OVERRUN
|
|
1392 |
#define __HAL_ADC_CFGR1_SCANDIR ADC_CFGR1_SCANDIR
|
|
1393 |
#define __HAL_ADC_CFGR1_DMACONTREQ ADC_CFGR1_DMACONTREQ
|
|
1394 |
|
|
1395 |
/**
|
|
1396 |
* @}
|
|
1397 |
*/
|
|
1398 |
|
|
1399 |
/** @defgroup HAL_DAC_Aliased_Macros HAL DAC Aliased Macros maintained for legacy purpose
|
|
1400 |
* @{
|
|
1401 |
*/
|
|
1402 |
#define __HAL_DHR12R1_ALIGNEMENT DAC_DHR12R1_ALIGNMENT
|
|
1403 |
#define __HAL_DHR12R2_ALIGNEMENT DAC_DHR12R2_ALIGNMENT
|
|
1404 |
#define __HAL_DHR12RD_ALIGNEMENT DAC_DHR12RD_ALIGNMENT
|
|
1405 |
#define IS_DAC_GENERATE_WAVE IS_DAC_WAVE
|
|
1406 |
|
|
1407 |
/**
|
|
1408 |
* @}
|
|
1409 |
*/
|
|
1410 |
|
|
1411 |
/** @defgroup HAL_DBGMCU_Aliased_Macros HAL DBGMCU Aliased Macros maintained for legacy purpose
|
|
1412 |
* @{
|
|
1413 |
*/
|
|
1414 |
#define __HAL_FREEZE_TIM1_DBGMCU __HAL_DBGMCU_FREEZE_TIM1
|
|
1415 |
#define __HAL_UNFREEZE_TIM1_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM1
|
|
1416 |
#define __HAL_FREEZE_TIM2_DBGMCU __HAL_DBGMCU_FREEZE_TIM2
|
|
1417 |
#define __HAL_UNFREEZE_TIM2_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM2
|
|
1418 |
#define __HAL_FREEZE_TIM3_DBGMCU __HAL_DBGMCU_FREEZE_TIM3
|
|
1419 |
#define __HAL_UNFREEZE_TIM3_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM3
|
|
1420 |
#define __HAL_FREEZE_TIM4_DBGMCU __HAL_DBGMCU_FREEZE_TIM4
|
|
1421 |
#define __HAL_UNFREEZE_TIM4_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM4
|
|
1422 |
#define __HAL_FREEZE_TIM5_DBGMCU __HAL_DBGMCU_FREEZE_TIM5
|
|
1423 |
#define __HAL_UNFREEZE_TIM5_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM5
|
|
1424 |
#define __HAL_FREEZE_TIM6_DBGMCU __HAL_DBGMCU_FREEZE_TIM6
|
|
1425 |
#define __HAL_UNFREEZE_TIM6_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM6
|
|
1426 |
#define __HAL_FREEZE_TIM7_DBGMCU __HAL_DBGMCU_FREEZE_TIM7
|
|
1427 |
#define __HAL_UNFREEZE_TIM7_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM7
|
|
1428 |
#define __HAL_FREEZE_TIM8_DBGMCU __HAL_DBGMCU_FREEZE_TIM8
|
|
1429 |
#define __HAL_UNFREEZE_TIM8_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM8
|
|
1430 |
|
|
1431 |
#define __HAL_FREEZE_TIM9_DBGMCU __HAL_DBGMCU_FREEZE_TIM9
|
|
1432 |
#define __HAL_UNFREEZE_TIM9_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM9
|
|
1433 |
#define __HAL_FREEZE_TIM10_DBGMCU __HAL_DBGMCU_FREEZE_TIM10
|
|
1434 |
#define __HAL_UNFREEZE_TIM10_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM10
|
|
1435 |
#define __HAL_FREEZE_TIM11_DBGMCU __HAL_DBGMCU_FREEZE_TIM11
|
|
1436 |
#define __HAL_UNFREEZE_TIM11_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM11
|
|
1437 |
#define __HAL_FREEZE_TIM12_DBGMCU __HAL_DBGMCU_FREEZE_TIM12
|
|
1438 |
#define __HAL_UNFREEZE_TIM12_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM12
|
|
1439 |
#define __HAL_FREEZE_TIM13_DBGMCU __HAL_DBGMCU_FREEZE_TIM13
|
|
1440 |
#define __HAL_UNFREEZE_TIM13_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM13
|
|
1441 |
#define __HAL_FREEZE_TIM14_DBGMCU __HAL_DBGMCU_FREEZE_TIM14
|
|
1442 |
#define __HAL_UNFREEZE_TIM14_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM14
|
|
1443 |
#define __HAL_FREEZE_CAN2_DBGMCU __HAL_DBGMCU_FREEZE_CAN2
|
|
1444 |
#define __HAL_UNFREEZE_CAN2_DBGMCU __HAL_DBGMCU_UNFREEZE_CAN2
|
|
1445 |
|
|
1446 |
|
|
1447 |
#define __HAL_FREEZE_TIM15_DBGMCU __HAL_DBGMCU_FREEZE_TIM15
|
|
1448 |
#define __HAL_UNFREEZE_TIM15_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM15
|
|
1449 |
#define __HAL_FREEZE_TIM16_DBGMCU __HAL_DBGMCU_FREEZE_TIM16
|
|
1450 |
#define __HAL_UNFREEZE_TIM16_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM16
|
|
1451 |
#define __HAL_FREEZE_TIM17_DBGMCU __HAL_DBGMCU_FREEZE_TIM17
|
|
1452 |
#define __HAL_UNFREEZE_TIM17_DBGMCU __HAL_DBGMCU_UNFREEZE_TIM17
|
|
1453 |
#define __HAL_FREEZE_RTC_DBGMCU __HAL_DBGMCU_FREEZE_RTC
|
|
1454 |
#define __HAL_UNFREEZE_RTC_DBGMCU __HAL_DBGMCU_UNFREEZE_RTC
|
|
1455 |
#define __HAL_FREEZE_WWDG_DBGMCU __HAL_DBGMCU_FREEZE_WWDG
|
|
1456 |
#define __HAL_UNFREEZE_WWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_WWDG
|
|
1457 |
#define __HAL_FREEZE_IWDG_DBGMCU __HAL_DBGMCU_FREEZE_IWDG
|
|
1458 |
#define __HAL_UNFREEZE_IWDG_DBGMCU __HAL_DBGMCU_UNFREEZE_IWDG
|
|
1459 |
#define __HAL_FREEZE_I2C1_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C1_TIMEOUT
|
|
1460 |
#define __HAL_UNFREEZE_I2C1_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C1_TIMEOUT
|
|
1461 |
#define __HAL_FREEZE_I2C2_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C2_TIMEOUT
|
|
1462 |
#define __HAL_UNFREEZE_I2C2_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C2_TIMEOUT
|
|
1463 |
#define __HAL_FREEZE_I2C3_TIMEOUT_DBGMCU __HAL_DBGMCU_FREEZE_I2C3_TIMEOUT
|
|
1464 |
#define __HAL_UNFREEZE_I2C3_TIMEOUT_DBGMCU __HAL_DBGMCU_UNFREEZE_I2C3_TIMEOUT
|
|
1465 |
#define __HAL_FREEZE_CAN1_DBGMCU __HAL_DBGMCU_FREEZE_CAN1
|
|
1466 |
#define __HAL_UNFREEZE_CAN1_DBGMCU __HAL_DBGMCU_UNFREEZE_CAN1
|
|
1467 |
#define __HAL_FREEZE_LPTIM1_DBGMCU __HAL_DBGMCU_FREEZE_LPTIM1
|
|
1468 |
#define __HAL_UNFREEZE_LPTIM1_DBGMCU __HAL_DBGMCU_UNFREEZE_LPTIM1
|
|
1469 |
#define __HAL_FREEZE_LPTIM2_DBGMCU __HAL_DBGMCU_FREEZE_LPTIM2
|
|
1470 |
#define __HAL_UNFREEZE_LPTIM2_DBGMCU __HAL_DBGMCU_UNFREEZE_LPTIM2
|
|
1471 |
|
|
1472 |
/**
|
|
1473 |
* @}
|
|
1474 |
*/
|
|
1475 |
|
|
1476 |
/** @defgroup HAL_COMP_Aliased_Macros HAL COMP Aliased Macros maintained for legacy purpose
|
|
1477 |
* @{
|
|
1478 |
*/
|
|
1479 |
#if defined(STM32F3)
|
|
1480 |
#define COMP_START __HAL_COMP_ENABLE
|
|
1481 |
#define COMP_STOP __HAL_COMP_DISABLE
|
|
1482 |
#define COMP_LOCK __HAL_COMP_LOCK
|
|
1483 |
|
|
1484 |
#if defined(STM32F301x8) || defined(STM32F302x8) || defined(STM32F318xx) || defined(STM32F303x8) || defined(STM32F334x8) || defined(STM32F328xx)
|
|
1485 |
#define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE() : \
|
|
1486 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_RISING_EDGE() : \
|
|
1487 |
__HAL_COMP_COMP6_EXTI_ENABLE_RISING_EDGE())
|
|
1488 |
#define __HAL_COMP_EXTI_RISING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE() : \
|
|
1489 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_RISING_EDGE() : \
|
|
1490 |
__HAL_COMP_COMP6_EXTI_DISABLE_RISING_EDGE())
|
|
1491 |
#define __HAL_COMP_EXTI_FALLING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1492 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1493 |
__HAL_COMP_COMP6_EXTI_ENABLE_FALLING_EDGE())
|
|
1494 |
#define __HAL_COMP_EXTI_FALLING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1495 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1496 |
__HAL_COMP_COMP6_EXTI_DISABLE_FALLING_EDGE())
|
|
1497 |
#define __HAL_COMP_EXTI_ENABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_IT() : \
|
|
1498 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_IT() : \
|
|
1499 |
__HAL_COMP_COMP6_EXTI_ENABLE_IT())
|
|
1500 |
#define __HAL_COMP_EXTI_DISABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_IT() : \
|
|
1501 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_IT() : \
|
|
1502 |
__HAL_COMP_COMP6_EXTI_DISABLE_IT())
|
|
1503 |
#define __HAL_COMP_EXTI_GET_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_GET_FLAG() : \
|
|
1504 |
((__FLAG__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_GET_FLAG() : \
|
|
1505 |
__HAL_COMP_COMP6_EXTI_GET_FLAG())
|
|
1506 |
#define __HAL_COMP_EXTI_CLEAR_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_CLEAR_FLAG() : \
|
|
1507 |
((__FLAG__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_CLEAR_FLAG() : \
|
|
1508 |
__HAL_COMP_COMP6_EXTI_CLEAR_FLAG())
|
|
1509 |
# endif
|
|
1510 |
# if defined(STM32F302xE) || defined(STM32F302xC)
|
|
1511 |
#define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE() : \
|
|
1512 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE() : \
|
|
1513 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_RISING_EDGE() : \
|
|
1514 |
__HAL_COMP_COMP6_EXTI_ENABLE_RISING_EDGE())
|
|
1515 |
#define __HAL_COMP_EXTI_RISING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_RISING_EDGE() : \
|
|
1516 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE() : \
|
|
1517 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_RISING_EDGE() : \
|
|
1518 |
__HAL_COMP_COMP6_EXTI_DISABLE_RISING_EDGE())
|
|
1519 |
#define __HAL_COMP_EXTI_FALLING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1520 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1521 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1522 |
__HAL_COMP_COMP6_EXTI_ENABLE_FALLING_EDGE())
|
|
1523 |
#define __HAL_COMP_EXTI_FALLING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1524 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1525 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1526 |
__HAL_COMP_COMP6_EXTI_DISABLE_FALLING_EDGE())
|
|
1527 |
#define __HAL_COMP_EXTI_ENABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_IT() : \
|
|
1528 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_IT() : \
|
|
1529 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_IT() : \
|
|
1530 |
__HAL_COMP_COMP6_EXTI_ENABLE_IT())
|
|
1531 |
#define __HAL_COMP_EXTI_DISABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_IT() : \
|
|
1532 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_IT() : \
|
|
1533 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_IT() : \
|
|
1534 |
__HAL_COMP_COMP6_EXTI_DISABLE_IT())
|
|
1535 |
#define __HAL_COMP_EXTI_GET_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_GET_FLAG() : \
|
|
1536 |
((__FLAG__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_GET_FLAG() : \
|
|
1537 |
((__FLAG__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_GET_FLAG() : \
|
|
1538 |
__HAL_COMP_COMP6_EXTI_GET_FLAG())
|
|
1539 |
#define __HAL_COMP_EXTI_CLEAR_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_CLEAR_FLAG() : \
|
|
1540 |
((__FLAG__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_CLEAR_FLAG() : \
|
|
1541 |
((__FLAG__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_CLEAR_FLAG() : \
|
|
1542 |
__HAL_COMP_COMP6_EXTI_CLEAR_FLAG())
|
|
1543 |
# endif
|
|
1544 |
# if defined(STM32F303xE) || defined(STM32F398xx) || defined(STM32F303xC) || defined(STM32F358xx)
|
|
1545 |
#define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE() : \
|
|
1546 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE() : \
|
|
1547 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_ENABLE_RISING_EDGE() : \
|
|
1548 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_RISING_EDGE() : \
|
|
1549 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_ENABLE_RISING_EDGE() : \
|
|
1550 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_ENABLE_RISING_EDGE() : \
|
|
1551 |
__HAL_COMP_COMP7_EXTI_ENABLE_RISING_EDGE())
|
|
1552 |
#define __HAL_COMP_EXTI_RISING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_RISING_EDGE() : \
|
|
1553 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE() : \
|
|
1554 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_DISABLE_RISING_EDGE() : \
|
|
1555 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_RISING_EDGE() : \
|
|
1556 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_DISABLE_RISING_EDGE() : \
|
|
1557 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_DISABLE_RISING_EDGE() : \
|
|
1558 |
__HAL_COMP_COMP7_EXTI_DISABLE_RISING_EDGE())
|
|
1559 |
#define __HAL_COMP_EXTI_FALLING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1560 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1561 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1562 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1563 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1564 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1565 |
__HAL_COMP_COMP7_EXTI_ENABLE_FALLING_EDGE())
|
|
1566 |
#define __HAL_COMP_EXTI_FALLING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1567 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1568 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1569 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1570 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1571 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1572 |
__HAL_COMP_COMP7_EXTI_DISABLE_FALLING_EDGE())
|
|
1573 |
#define __HAL_COMP_EXTI_ENABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_IT() : \
|
|
1574 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_ENABLE_IT() : \
|
|
1575 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_ENABLE_IT() : \
|
|
1576 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_ENABLE_IT() : \
|
|
1577 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_ENABLE_IT() : \
|
|
1578 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_ENABLE_IT() : \
|
|
1579 |
__HAL_COMP_COMP7_EXTI_ENABLE_IT())
|
|
1580 |
#define __HAL_COMP_EXTI_DISABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_IT() : \
|
|
1581 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_DISABLE_IT() : \
|
|
1582 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_DISABLE_IT() : \
|
|
1583 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_DISABLE_IT() : \
|
|
1584 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_DISABLE_IT() : \
|
|
1585 |
((__EXTILINE__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_DISABLE_IT() : \
|
|
1586 |
__HAL_COMP_COMP7_EXTI_DISABLE_IT())
|
|
1587 |
#define __HAL_COMP_EXTI_GET_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_GET_FLAG() : \
|
|
1588 |
((__FLAG__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_GET_FLAG() : \
|
|
1589 |
((__FLAG__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_GET_FLAG() : \
|
|
1590 |
((__FLAG__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_GET_FLAG() : \
|
|
1591 |
((__FLAG__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_GET_FLAG() : \
|
|
1592 |
((__FLAG__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_GET_FLAG() : \
|
|
1593 |
__HAL_COMP_COMP7_EXTI_GET_FLAG())
|
|
1594 |
#define __HAL_COMP_EXTI_CLEAR_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_CLEAR_FLAG() : \
|
|
1595 |
((__FLAG__) == COMP_EXTI_LINE_COMP2) ? __HAL_COMP_COMP2_EXTI_CLEAR_FLAG() : \
|
|
1596 |
((__FLAG__) == COMP_EXTI_LINE_COMP3) ? __HAL_COMP_COMP3_EXTI_CLEAR_FLAG() : \
|
|
1597 |
((__FLAG__) == COMP_EXTI_LINE_COMP4) ? __HAL_COMP_COMP4_EXTI_CLEAR_FLAG() : \
|
|
1598 |
((__FLAG__) == COMP_EXTI_LINE_COMP5) ? __HAL_COMP_COMP5_EXTI_CLEAR_FLAG() : \
|
|
1599 |
((__FLAG__) == COMP_EXTI_LINE_COMP6) ? __HAL_COMP_COMP6_EXTI_CLEAR_FLAG() : \
|
|
1600 |
__HAL_COMP_COMP7_EXTI_CLEAR_FLAG())
|
|
1601 |
# endif
|
|
1602 |
# if defined(STM32F373xC) ||defined(STM32F378xx)
|
|
1603 |
#define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE() : \
|
|
1604 |
__HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE())
|
|
1605 |
#define __HAL_COMP_EXTI_RISING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_RISING_EDGE() : \
|
|
1606 |
__HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE())
|
|
1607 |
#define __HAL_COMP_EXTI_FALLING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1608 |
__HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE())
|
|
1609 |
#define __HAL_COMP_EXTI_FALLING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1610 |
__HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE())
|
|
1611 |
#define __HAL_COMP_EXTI_ENABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_IT() : \
|
|
1612 |
__HAL_COMP_COMP2_EXTI_ENABLE_IT())
|
|
1613 |
#define __HAL_COMP_EXTI_DISABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_IT() : \
|
|
1614 |
__HAL_COMP_COMP2_EXTI_DISABLE_IT())
|
|
1615 |
#define __HAL_COMP_EXTI_GET_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_GET_FLAG() : \
|
|
1616 |
__HAL_COMP_COMP2_EXTI_GET_FLAG())
|
|
1617 |
#define __HAL_COMP_EXTI_CLEAR_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_CLEAR_FLAG() : \
|
|
1618 |
__HAL_COMP_COMP2_EXTI_CLEAR_FLAG())
|
|
1619 |
# endif
|
|
1620 |
#else
|
|
1621 |
#define __HAL_COMP_EXTI_RISING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_RISING_EDGE() : \
|
|
1622 |
__HAL_COMP_COMP2_EXTI_ENABLE_RISING_EDGE())
|
|
1623 |
#define __HAL_COMP_EXTI_RISING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_RISING_EDGE() : \
|
|
1624 |
__HAL_COMP_COMP2_EXTI_DISABLE_RISING_EDGE())
|
|
1625 |
#define __HAL_COMP_EXTI_FALLING_IT_ENABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_FALLING_EDGE() : \
|
|
1626 |
__HAL_COMP_COMP2_EXTI_ENABLE_FALLING_EDGE())
|
|
1627 |
#define __HAL_COMP_EXTI_FALLING_IT_DISABLE(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_FALLING_EDGE() : \
|
|
1628 |
__HAL_COMP_COMP2_EXTI_DISABLE_FALLING_EDGE())
|
|
1629 |
#define __HAL_COMP_EXTI_ENABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_ENABLE_IT() : \
|
|
1630 |
__HAL_COMP_COMP2_EXTI_ENABLE_IT())
|
|
1631 |
#define __HAL_COMP_EXTI_DISABLE_IT(__EXTILINE__) (((__EXTILINE__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_DISABLE_IT() : \
|
|
1632 |
__HAL_COMP_COMP2_EXTI_DISABLE_IT())
|
|
1633 |
#define __HAL_COMP_EXTI_GET_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_GET_FLAG() : \
|
|
1634 |
__HAL_COMP_COMP2_EXTI_GET_FLAG())
|
|
1635 |
#define __HAL_COMP_EXTI_CLEAR_FLAG(__FLAG__) (((__FLAG__) == COMP_EXTI_LINE_COMP1) ? __HAL_COMP_COMP1_EXTI_CLEAR_FLAG() : \
|
|
1636 |
__HAL_COMP_COMP2_EXTI_CLEAR_FLAG())
|
|
1637 |
#endif
|
|
1638 |
|
|
1639 |
#define __HAL_COMP_GET_EXTI_LINE COMP_GET_EXTI_LINE
|
|
1640 |
|
|
1641 |
#if defined(STM32L0) || defined(STM32L4)
|
|
1642 |
/* Note: On these STM32 families, the only argument of this macro */
|
|
1643 |
/* is COMP_FLAG_LOCK. */
|
|
1644 |
/* This macro is replaced by __HAL_COMP_IS_LOCKED with only HAL handle */
|
|
1645 |
/* argument. */
|
|
1646 |
#define __HAL_COMP_GET_FLAG(__HANDLE__, __FLAG__) (__HAL_COMP_IS_LOCKED(__HANDLE__))
|
|
1647 |
#endif
|
|
1648 |
/**
|
|
1649 |
* @}
|
|
1650 |
*/
|
|
1651 |
|
|
1652 |
#if defined(STM32L0) || defined(STM32L4)
|
|
1653 |
/** @defgroup HAL_COMP_Aliased_Functions HAL COMP Aliased Functions maintained for legacy purpose
|
|
1654 |
* @{
|
|
1655 |
*/
|
|
1656 |
#define HAL_COMP_Start_IT HAL_COMP_Start /* Function considered as legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */
|
|
1657 |
#define HAL_COMP_Stop_IT HAL_COMP_Stop /* Function considered as legacy as EXTI event or IT configuration is done into HAL_COMP_Init() */
|
|
1658 |
/**
|
|
1659 |
* @}
|
|
1660 |
*/
|
|
1661 |
#endif
|
|
1662 |
|
|
1663 |
/** @defgroup HAL_DAC_Aliased_Macros HAL DAC Aliased Macros maintained for legacy purpose
|
|
1664 |
* @{
|
|
1665 |
*/
|
|
1666 |
|
|
1667 |
#define IS_DAC_WAVE(WAVE) (((WAVE) == DAC_WAVE_NONE) || \
|
|
1668 |
((WAVE) == DAC_WAVE_NOISE)|| \
|
|
1669 |
((WAVE) == DAC_WAVE_TRIANGLE))
|
|
1670 |
|
|
1671 |
/**
|
|
1672 |
* @}
|
|
1673 |
*/
|
|
1674 |
|
|
1675 |
/** @defgroup HAL_FLASH_Aliased_Macros HAL FLASH Aliased Macros maintained for legacy purpose
|
|
1676 |
* @{
|
|
1677 |
*/
|
|
1678 |
|
|
1679 |
#define IS_WRPAREA IS_OB_WRPAREA
|
|
1680 |
#define IS_TYPEPROGRAM IS_FLASH_TYPEPROGRAM
|
|
1681 |
#define IS_TYPEPROGRAMFLASH IS_FLASH_TYPEPROGRAM
|
|
1682 |
#define IS_TYPEERASE IS_FLASH_TYPEERASE
|
|
1683 |
#define IS_NBSECTORS IS_FLASH_NBSECTORS
|
|
1684 |
#define IS_OB_WDG_SOURCE IS_OB_IWDG_SOURCE
|
|
1685 |
|
|
1686 |
/**
|
|
1687 |
* @}
|
|
1688 |
*/
|
|
1689 |
|
|
1690 |
/** @defgroup HAL_I2C_Aliased_Macros HAL I2C Aliased Macros maintained for legacy purpose
|
|
1691 |
* @{
|
|
1692 |
*/
|
|
1693 |
|
|
1694 |
#define __HAL_I2C_RESET_CR2 I2C_RESET_CR2
|
|
1695 |
#define __HAL_I2C_GENERATE_START I2C_GENERATE_START
|
|
1696 |
#define __HAL_I2C_FREQ_RANGE I2C_FREQ_RANGE
|
|
1697 |
#define __HAL_I2C_RISE_TIME I2C_RISE_TIME
|
|
1698 |
#define __HAL_I2C_SPEED_STANDARD I2C_SPEED_STANDARD
|
|
1699 |
#define __HAL_I2C_SPEED_FAST I2C_SPEED_FAST
|
|
1700 |
#define __HAL_I2C_SPEED I2C_SPEED
|
|
1701 |
#define __HAL_I2C_7BIT_ADD_WRITE I2C_7BIT_ADD_WRITE
|
|
1702 |
#define __HAL_I2C_7BIT_ADD_READ I2C_7BIT_ADD_READ
|
|
1703 |
#define __HAL_I2C_10BIT_ADDRESS I2C_10BIT_ADDRESS
|
|
1704 |
#define __HAL_I2C_10BIT_HEADER_WRITE I2C_10BIT_HEADER_WRITE
|
|
1705 |
#define __HAL_I2C_10BIT_HEADER_READ I2C_10BIT_HEADER_READ
|
|
1706 |
#define __HAL_I2C_MEM_ADD_MSB I2C_MEM_ADD_MSB
|
|
1707 |
#define __HAL_I2C_MEM_ADD_LSB I2C_MEM_ADD_LSB
|
|
1708 |
#define __HAL_I2C_FREQRANGE I2C_FREQRANGE
|
|
1709 |
/**
|
|
1710 |
* @}
|
|
1711 |
*/
|
|
1712 |
|
|
1713 |
/** @defgroup HAL_I2S_Aliased_Macros HAL I2S Aliased Macros maintained for legacy purpose
|
|
1714 |
* @{
|
|
1715 |
*/
|
|
1716 |
|
|
1717 |
#define IS_I2S_INSTANCE IS_I2S_ALL_INSTANCE
|
|
1718 |
#define IS_I2S_INSTANCE_EXT IS_I2S_ALL_INSTANCE_EXT
|
|
1719 |
|
|
1720 |
/**
|
|
1721 |
* @}
|
|
1722 |
*/
|
|
1723 |
|
|
1724 |
/** @defgroup HAL_IRDA_Aliased_Macros HAL IRDA Aliased Macros maintained for legacy purpose
|
|
1725 |
* @{
|
|
1726 |
*/
|
|
1727 |
|
|
1728 |
#define __IRDA_DISABLE __HAL_IRDA_DISABLE
|
|
1729 |
#define __IRDA_ENABLE __HAL_IRDA_ENABLE
|
|
1730 |
|
|
1731 |
#define __HAL_IRDA_GETCLOCKSOURCE IRDA_GETCLOCKSOURCE
|
|
1732 |
#define __HAL_IRDA_MASK_COMPUTATION IRDA_MASK_COMPUTATION
|
|
1733 |
#define __IRDA_GETCLOCKSOURCE IRDA_GETCLOCKSOURCE
|
|
1734 |
#define __IRDA_MASK_COMPUTATION IRDA_MASK_COMPUTATION
|
|
1735 |
|
|
1736 |
#define IS_IRDA_ONEBIT_SAMPLE IS_IRDA_ONE_BIT_SAMPLE
|
|
1737 |
|
|
1738 |
|
|
1739 |
/**
|
|
1740 |
* @}
|
|
1741 |
*/
|
|
1742 |
|
|
1743 |
|
|
1744 |
/** @defgroup HAL_IWDG_Aliased_Macros HAL IWDG Aliased Macros maintained for legacy purpose
|
|
1745 |
* @{
|
|
1746 |
*/
|
|
1747 |
#define __HAL_IWDG_ENABLE_WRITE_ACCESS IWDG_ENABLE_WRITE_ACCESS
|
|
1748 |
#define __HAL_IWDG_DISABLE_WRITE_ACCESS IWDG_DISABLE_WRITE_ACCESS
|
|
1749 |
/**
|
|
1750 |
* @}
|
|
1751 |
*/
|
|
1752 |
|
|
1753 |
|
|
1754 |
/** @defgroup HAL_LPTIM_Aliased_Macros HAL LPTIM Aliased Macros maintained for legacy purpose
|
|
1755 |
* @{
|
|
1756 |
*/
|
|
1757 |
|
|
1758 |
#define __HAL_LPTIM_ENABLE_INTERRUPT __HAL_LPTIM_ENABLE_IT
|
|
1759 |
#define __HAL_LPTIM_DISABLE_INTERRUPT __HAL_LPTIM_DISABLE_IT
|
|
1760 |
#define __HAL_LPTIM_GET_ITSTATUS __HAL_LPTIM_GET_IT_SOURCE
|
|
1761 |
|
|
1762 |
/**
|
|
1763 |
* @}
|
|
1764 |
*/
|
|
1765 |
|
|
1766 |
|
|
1767 |
/** @defgroup HAL_OPAMP_Aliased_Macros HAL OPAMP Aliased Macros maintained for legacy purpose
|
|
1768 |
* @{
|
|
1769 |
*/
|
|
1770 |
#define __OPAMP_CSR_OPAXPD OPAMP_CSR_OPAXPD
|
|
1771 |
#define __OPAMP_CSR_S3SELX OPAMP_CSR_S3SELX
|
|
1772 |
#define __OPAMP_CSR_S4SELX OPAMP_CSR_S4SELX
|
|
1773 |
#define __OPAMP_CSR_S5SELX OPAMP_CSR_S5SELX
|
|
1774 |
#define __OPAMP_CSR_S6SELX OPAMP_CSR_S6SELX
|
|
1775 |
#define __OPAMP_CSR_OPAXCAL_L OPAMP_CSR_OPAXCAL_L
|
|
1776 |
#define __OPAMP_CSR_OPAXCAL_H OPAMP_CSR_OPAXCAL_H
|
|
1777 |
#define __OPAMP_CSR_OPAXLPM OPAMP_CSR_OPAXLPM
|
|
1778 |
#define __OPAMP_CSR_ALL_SWITCHES OPAMP_CSR_ALL_SWITCHES
|
|
1779 |
#define __OPAMP_CSR_ANAWSELX OPAMP_CSR_ANAWSELX
|
|
1780 |
#define __OPAMP_CSR_OPAXCALOUT OPAMP_CSR_OPAXCALOUT
|
|
1781 |
#define __OPAMP_OFFSET_TRIM_BITSPOSITION OPAMP_OFFSET_TRIM_BITSPOSITION
|
|
1782 |
#define __OPAMP_OFFSET_TRIM_SET OPAMP_OFFSET_TRIM_SET
|
|
1783 |
|
|
1784 |
/**
|
|
1785 |
* @}
|
|
1786 |
*/
|
|
1787 |
|
|
1788 |
|
|
1789 |
/** @defgroup HAL_PWR_Aliased_Macros HAL PWR Aliased Macros maintained for legacy purpose
|
|
1790 |
* @{
|
|
1791 |
*/
|
|
1792 |
#define __HAL_PVD_EVENT_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_EVENT
|
|
1793 |
#define __HAL_PVD_EVENT_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_EVENT
|
|
1794 |
#define __HAL_PVD_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE
|
|
1795 |
#define __HAL_PVD_EXTI_FALLINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE
|
|
1796 |
#define __HAL_PVD_EXTI_RISINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE
|
|
1797 |
#define __HAL_PVD_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
|
|
1798 |
#define __HAL_PVM_EVENT_DISABLE __HAL_PWR_PVM_EVENT_DISABLE
|
|
1799 |
#define __HAL_PVM_EVENT_ENABLE __HAL_PWR_PVM_EVENT_ENABLE
|
|
1800 |
#define __HAL_PVM_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVM_EXTI_FALLINGTRIGGER_DISABLE
|
|
1801 |
#define __HAL_PVM_EXTI_FALLINGTRIGGER_ENABLE __HAL_PWR_PVM_EXTI_FALLINGTRIGGER_ENABLE
|
|
1802 |
#define __HAL_PVM_EXTI_RISINGTRIGGER_DISABLE __HAL_PWR_PVM_EXTI_RISINGTRIGGER_DISABLE
|
|
1803 |
#define __HAL_PVM_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVM_EXTI_RISINGTRIGGER_ENABLE
|
|
1804 |
#define __HAL_PWR_INTERNALWAKEUP_DISABLE HAL_PWREx_DisableInternalWakeUpLine
|
|
1805 |
#define __HAL_PWR_INTERNALWAKEUP_ENABLE HAL_PWREx_EnableInternalWakeUpLine
|
|
1806 |
#define __HAL_PWR_PULL_UP_DOWN_CONFIG_DISABLE HAL_PWREx_DisablePullUpPullDownConfig
|
|
1807 |
#define __HAL_PWR_PULL_UP_DOWN_CONFIG_ENABLE HAL_PWREx_EnablePullUpPullDownConfig
|
|
1808 |
#define __HAL_PWR_PVD_EXTI_CLEAR_EGDE_TRIGGER() do { __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE();__HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE(); } while(0)
|
|
1809 |
#define __HAL_PWR_PVD_EXTI_EVENT_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_EVENT
|
|
1810 |
#define __HAL_PWR_PVD_EXTI_EVENT_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_EVENT
|
|
1811 |
#define __HAL_PWR_PVD_EXTI_FALLINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_FALLING_EDGE
|
|
1812 |
#define __HAL_PWR_PVD_EXTI_FALLINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE
|
|
1813 |
#define __HAL_PWR_PVD_EXTI_RISINGTRIGGER_DISABLE __HAL_PWR_PVD_EXTI_DISABLE_RISING_EDGE
|
|
1814 |
#define __HAL_PWR_PVD_EXTI_RISINGTRIGGER_ENABLE __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
|
|
1815 |
#define __HAL_PWR_PVD_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_PWR_PVD_EXTI_ENABLE_FALLING_EDGE
|
|
1816 |
#define __HAL_PWR_PVD_EXTI_SET_RISING_EDGE_TRIGGER __HAL_PWR_PVD_EXTI_ENABLE_RISING_EDGE
|
|
1817 |
#define __HAL_PWR_PVM_DISABLE() do { HAL_PWREx_DisablePVM1();HAL_PWREx_DisablePVM2();HAL_PWREx_DisablePVM3();HAL_PWREx_DisablePVM4(); } while(0)
|
|
1818 |
#define __HAL_PWR_PVM_ENABLE() do { HAL_PWREx_EnablePVM1();HAL_PWREx_EnablePVM2();HAL_PWREx_EnablePVM3();HAL_PWREx_EnablePVM4(); } while(0)
|
|
1819 |
#define __HAL_PWR_SRAM2CONTENT_PRESERVE_DISABLE HAL_PWREx_DisableSRAM2ContentRetention
|
|
1820 |
#define __HAL_PWR_SRAM2CONTENT_PRESERVE_ENABLE HAL_PWREx_EnableSRAM2ContentRetention
|
|
1821 |
#define __HAL_PWR_VDDIO2_DISABLE HAL_PWREx_DisableVddIO2
|
|
1822 |
#define __HAL_PWR_VDDIO2_ENABLE HAL_PWREx_EnableVddIO2
|
|
1823 |
#define __HAL_PWR_VDDIO2_EXTI_CLEAR_EGDE_TRIGGER __HAL_PWR_VDDIO2_EXTI_DISABLE_FALLING_EDGE
|
|
1824 |
#define __HAL_PWR_VDDIO2_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_PWR_VDDIO2_EXTI_ENABLE_FALLING_EDGE
|
|
1825 |
#define __HAL_PWR_VDDUSB_DISABLE HAL_PWREx_DisableVddUSB
|
|
1826 |
#define __HAL_PWR_VDDUSB_ENABLE HAL_PWREx_EnableVddUSB
|
|
1827 |
|
|
1828 |
#if defined (STM32F4)
|
|
1829 |
#define __HAL_PVD_EXTI_ENABLE_IT(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_ENABLE_IT()
|
|
1830 |
#define __HAL_PVD_EXTI_DISABLE_IT(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_DISABLE_IT()
|
|
1831 |
#define __HAL_PVD_EXTI_GET_FLAG(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_GET_FLAG()
|
|
1832 |
#define __HAL_PVD_EXTI_CLEAR_FLAG(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_CLEAR_FLAG()
|
|
1833 |
#define __HAL_PVD_EXTI_GENERATE_SWIT(PWR_EXTI_LINE_PVD) __HAL_PWR_PVD_EXTI_GENERATE_SWIT()
|
|
1834 |
#else
|
|
1835 |
#define __HAL_PVD_EXTI_CLEAR_FLAG __HAL_PWR_PVD_EXTI_CLEAR_FLAG
|
|
1836 |
#define __HAL_PVD_EXTI_DISABLE_IT __HAL_PWR_PVD_EXTI_DISABLE_IT
|
|
1837 |
#define __HAL_PVD_EXTI_ENABLE_IT __HAL_PWR_PVD_EXTI_ENABLE_IT
|
|
1838 |
#define __HAL_PVD_EXTI_GENERATE_SWIT __HAL_PWR_PVD_EXTI_GENERATE_SWIT
|
|
1839 |
#define __HAL_PVD_EXTI_GET_FLAG __HAL_PWR_PVD_EXTI_GET_FLAG
|
|
1840 |
#endif /* STM32F4 */
|
|
1841 |
/**
|
|
1842 |
* @}
|
|
1843 |
*/
|
|
1844 |
|
|
1845 |
|
|
1846 |
/** @defgroup HAL_RCC_Aliased HAL RCC Aliased maintained for legacy purpose
|
|
1847 |
* @{
|
|
1848 |
*/
|
|
1849 |
|
|
1850 |
#define RCC_StopWakeUpClock_MSI RCC_STOP_WAKEUPCLOCK_MSI
|
|
1851 |
#define RCC_StopWakeUpClock_HSI RCC_STOP_WAKEUPCLOCK_HSI
|
|
1852 |
|
|
1853 |
#define HAL_RCC_CCSCallback HAL_RCC_CSSCallback
|
|
1854 |
#define HAL_RC48_EnableBuffer_Cmd(cmd) (((cmd)==ENABLE) ? HAL_RCCEx_EnableHSI48_VREFINT() : HAL_RCCEx_DisableHSI48_VREFINT())
|
|
1855 |
|
|
1856 |
#define __ADC_CLK_DISABLE __HAL_RCC_ADC_CLK_DISABLE
|
|
1857 |
#define __ADC_CLK_ENABLE __HAL_RCC_ADC_CLK_ENABLE
|
|
1858 |
#define __ADC_CLK_SLEEP_DISABLE __HAL_RCC_ADC_CLK_SLEEP_DISABLE
|
|
1859 |
#define __ADC_CLK_SLEEP_ENABLE __HAL_RCC_ADC_CLK_SLEEP_ENABLE
|
|
1860 |
#define __ADC_FORCE_RESET __HAL_RCC_ADC_FORCE_RESET
|
|
1861 |
#define __ADC_RELEASE_RESET __HAL_RCC_ADC_RELEASE_RESET
|
|
1862 |
#define __ADC1_CLK_DISABLE __HAL_RCC_ADC1_CLK_DISABLE
|
|
1863 |
#define __ADC1_CLK_ENABLE __HAL_RCC_ADC1_CLK_ENABLE
|
|
1864 |
#define __ADC1_FORCE_RESET __HAL_RCC_ADC1_FORCE_RESET
|
|
1865 |
#define __ADC1_RELEASE_RESET __HAL_RCC_ADC1_RELEASE_RESET
|
|
1866 |
#define __ADC1_CLK_SLEEP_ENABLE __HAL_RCC_ADC1_CLK_SLEEP_ENABLE
|
|
1867 |
#define __ADC1_CLK_SLEEP_DISABLE __HAL_RCC_ADC1_CLK_SLEEP_DISABLE
|
|
1868 |
#define __ADC2_CLK_DISABLE __HAL_RCC_ADC2_CLK_DISABLE
|
|
1869 |
#define __ADC2_CLK_ENABLE __HAL_RCC_ADC2_CLK_ENABLE
|
|
1870 |
#define __ADC2_FORCE_RESET __HAL_RCC_ADC2_FORCE_RESET
|
|
1871 |
#define __ADC2_RELEASE_RESET __HAL_RCC_ADC2_RELEASE_RESET
|
|
1872 |
#define __ADC3_CLK_DISABLE __HAL_RCC_ADC3_CLK_DISABLE
|
|
1873 |
#define __ADC3_CLK_ENABLE __HAL_RCC_ADC3_CLK_ENABLE
|
|
1874 |
#define __ADC3_FORCE_RESET __HAL_RCC_ADC3_FORCE_RESET
|
|
1875 |
#define __ADC3_RELEASE_RESET __HAL_RCC_ADC3_RELEASE_RESET
|
|
1876 |
#define __AES_CLK_DISABLE __HAL_RCC_AES_CLK_DISABLE
|
|
1877 |
#define __AES_CLK_ENABLE __HAL_RCC_AES_CLK_ENABLE
|
|
1878 |
#define __AES_CLK_SLEEP_DISABLE __HAL_RCC_AES_CLK_SLEEP_DISABLE
|
|
1879 |
#define __AES_CLK_SLEEP_ENABLE __HAL_RCC_AES_CLK_SLEEP_ENABLE
|
|
1880 |
#define __AES_FORCE_RESET __HAL_RCC_AES_FORCE_RESET
|
|
1881 |
#define __AES_RELEASE_RESET __HAL_RCC_AES_RELEASE_RESET
|
|
1882 |
#define __CRYP_CLK_SLEEP_ENABLE __HAL_RCC_CRYP_CLK_SLEEP_ENABLE
|
|
1883 |
#define __CRYP_CLK_SLEEP_DISABLE __HAL_RCC_CRYP_CLK_SLEEP_DISABLE
|
|
1884 |
#define __CRYP_CLK_ENABLE __HAL_RCC_CRYP_CLK_ENABLE
|
|
1885 |
#define __CRYP_CLK_DISABLE __HAL_RCC_CRYP_CLK_DISABLE
|
|
1886 |
#define __CRYP_FORCE_RESET __HAL_RCC_CRYP_FORCE_RESET
|
|
1887 |
#define __CRYP_RELEASE_RESET __HAL_RCC_CRYP_RELEASE_RESET
|
|
1888 |
#define __AFIO_CLK_DISABLE __HAL_RCC_AFIO_CLK_DISABLE
|
|
1889 |
#define __AFIO_CLK_ENABLE __HAL_RCC_AFIO_CLK_ENABLE
|
|
1890 |
#define __AFIO_FORCE_RESET __HAL_RCC_AFIO_FORCE_RESET
|
|
1891 |
#define __AFIO_RELEASE_RESET __HAL_RCC_AFIO_RELEASE_RESET
|
|
1892 |
#define __AHB_FORCE_RESET __HAL_RCC_AHB_FORCE_RESET
|
|
1893 |
#define __AHB_RELEASE_RESET __HAL_RCC_AHB_RELEASE_RESET
|
|
1894 |
#define __AHB1_FORCE_RESET __HAL_RCC_AHB1_FORCE_RESET
|
|
1895 |
#define __AHB1_RELEASE_RESET __HAL_RCC_AHB1_RELEASE_RESET
|
|
1896 |
#define __AHB2_FORCE_RESET __HAL_RCC_AHB2_FORCE_RESET
|
|
1897 |
#define __AHB2_RELEASE_RESET __HAL_RCC_AHB2_RELEASE_RESET
|
|
1898 |
#define __AHB3_FORCE_RESET __HAL_RCC_AHB3_FORCE_RESET
|
|
1899 |
#define __AHB3_RELEASE_RESET __HAL_RCC_AHB3_RELEASE_RESET
|
|
1900 |
#define __APB1_FORCE_RESET __HAL_RCC_APB1_FORCE_RESET
|
|
1901 |
#define __APB1_RELEASE_RESET __HAL_RCC_APB1_RELEASE_RESET
|
|
1902 |
#define __APB2_FORCE_RESET __HAL_RCC_APB2_FORCE_RESET
|
|
1903 |
#define __APB2_RELEASE_RESET __HAL_RCC_APB2_RELEASE_RESET
|
|
1904 |
#define __BKP_CLK_DISABLE __HAL_RCC_BKP_CLK_DISABLE
|
|
1905 |
#define __BKP_CLK_ENABLE __HAL_RCC_BKP_CLK_ENABLE
|
|
1906 |
#define __BKP_FORCE_RESET __HAL_RCC_BKP_FORCE_RESET
|
|
1907 |
#define __BKP_RELEASE_RESET __HAL_RCC_BKP_RELEASE_RESET
|
|
1908 |
#define __CAN1_CLK_DISABLE __HAL_RCC_CAN1_CLK_DISABLE
|
|
1909 |
#define __CAN1_CLK_ENABLE __HAL_RCC_CAN1_CLK_ENABLE
|
|
1910 |
#define __CAN1_CLK_SLEEP_DISABLE __HAL_RCC_CAN1_CLK_SLEEP_DISABLE
|
|
1911 |
#define __CAN1_CLK_SLEEP_ENABLE __HAL_RCC_CAN1_CLK_SLEEP_ENABLE
|
|
1912 |
#define __CAN1_FORCE_RESET __HAL_RCC_CAN1_FORCE_RESET
|
|
1913 |
#define __CAN1_RELEASE_RESET __HAL_RCC_CAN1_RELEASE_RESET
|
|
1914 |
#define __CAN_CLK_DISABLE __HAL_RCC_CAN1_CLK_DISABLE
|
|
1915 |
#define __CAN_CLK_ENABLE __HAL_RCC_CAN1_CLK_ENABLE
|
|
1916 |
#define __CAN_FORCE_RESET __HAL_RCC_CAN1_FORCE_RESET
|
|
1917 |
#define __CAN_RELEASE_RESET __HAL_RCC_CAN1_RELEASE_RESET
|
|
1918 |
#define __CAN2_CLK_DISABLE __HAL_RCC_CAN2_CLK_DISABLE
|
|
1919 |
#define __CAN2_CLK_ENABLE __HAL_RCC_CAN2_CLK_ENABLE
|
|
1920 |
#define __CAN2_FORCE_RESET __HAL_RCC_CAN2_FORCE_RESET
|
|
1921 |
#define __CAN2_RELEASE_RESET __HAL_RCC_CAN2_RELEASE_RESET
|
|
1922 |
#define __CEC_CLK_DISABLE __HAL_RCC_CEC_CLK_DISABLE
|
|
1923 |
#define __CEC_CLK_ENABLE __HAL_RCC_CEC_CLK_ENABLE
|
|
1924 |
#define __COMP_CLK_DISABLE __HAL_RCC_COMP_CLK_DISABLE
|
|
1925 |
#define __COMP_CLK_ENABLE __HAL_RCC_COMP_CLK_ENABLE
|
|
1926 |
#define __COMP_FORCE_RESET __HAL_RCC_COMP_FORCE_RESET
|
|
1927 |
#define __COMP_RELEASE_RESET __HAL_RCC_COMP_RELEASE_RESET
|
|
1928 |
#define __COMP_CLK_SLEEP_ENABLE __HAL_RCC_COMP_CLK_SLEEP_ENABLE
|
|
1929 |
#define __COMP_CLK_SLEEP_DISABLE __HAL_RCC_COMP_CLK_SLEEP_DISABLE
|
|
1930 |
#define __CEC_FORCE_RESET __HAL_RCC_CEC_FORCE_RESET
|
|
1931 |
#define __CEC_RELEASE_RESET __HAL_RCC_CEC_RELEASE_RESET
|
|
1932 |
#define __CRC_CLK_DISABLE __HAL_RCC_CRC_CLK_DISABLE
|
|
1933 |
#define __CRC_CLK_ENABLE __HAL_RCC_CRC_CLK_ENABLE
|
|
1934 |
#define __CRC_CLK_SLEEP_DISABLE __HAL_RCC_CRC_CLK_SLEEP_DISABLE
|
|
1935 |
#define __CRC_CLK_SLEEP_ENABLE __HAL_RCC_CRC_CLK_SLEEP_ENABLE
|
|
1936 |
#define __CRC_FORCE_RESET __HAL_RCC_CRC_FORCE_RESET
|
|
1937 |
#define __CRC_RELEASE_RESET __HAL_RCC_CRC_RELEASE_RESET
|
|
1938 |
#define __DAC_CLK_DISABLE __HAL_RCC_DAC_CLK_DISABLE
|
|
1939 |
#define __DAC_CLK_ENABLE __HAL_RCC_DAC_CLK_ENABLE
|
|
1940 |
#define __DAC_FORCE_RESET __HAL_RCC_DAC_FORCE_RESET
|
|
1941 |
#define __DAC_RELEASE_RESET __HAL_RCC_DAC_RELEASE_RESET
|
|
1942 |
#define __DAC1_CLK_DISABLE __HAL_RCC_DAC1_CLK_DISABLE
|
|
1943 |
#define __DAC1_CLK_ENABLE __HAL_RCC_DAC1_CLK_ENABLE
|
|
1944 |
#define __DAC1_CLK_SLEEP_DISABLE __HAL_RCC_DAC1_CLK_SLEEP_DISABLE
|
|
1945 |
#define __DAC1_CLK_SLEEP_ENABLE __HAL_RCC_DAC1_CLK_SLEEP_ENABLE
|
|
1946 |
#define __DAC1_FORCE_RESET __HAL_RCC_DAC1_FORCE_RESET
|
|
1947 |
#define __DAC1_RELEASE_RESET __HAL_RCC_DAC1_RELEASE_RESET
|
|
1948 |
#define __DBGMCU_CLK_ENABLE __HAL_RCC_DBGMCU_CLK_ENABLE
|
|
1949 |
#define __DBGMCU_CLK_DISABLE __HAL_RCC_DBGMCU_CLK_DISABLE
|
|
1950 |
#define __DBGMCU_FORCE_RESET __HAL_RCC_DBGMCU_FORCE_RESET
|
|
1951 |
#define __DBGMCU_RELEASE_RESET __HAL_RCC_DBGMCU_RELEASE_RESET
|
|
1952 |
#define __DFSDM_CLK_DISABLE __HAL_RCC_DFSDM_CLK_DISABLE
|
|
1953 |
#define __DFSDM_CLK_ENABLE __HAL_RCC_DFSDM_CLK_ENABLE
|
|
1954 |
#define __DFSDM_CLK_SLEEP_DISABLE __HAL_RCC_DFSDM_CLK_SLEEP_DISABLE
|
|
1955 |
#define __DFSDM_CLK_SLEEP_ENABLE __HAL_RCC_DFSDM_CLK_SLEEP_ENABLE
|
|
1956 |
#define __DFSDM_FORCE_RESET __HAL_RCC_DFSDM_FORCE_RESET
|
|
1957 |
#define __DFSDM_RELEASE_RESET __HAL_RCC_DFSDM_RELEASE_RESET
|
|
1958 |
#define __DMA1_CLK_DISABLE __HAL_RCC_DMA1_CLK_DISABLE
|
|
1959 |
#define __DMA1_CLK_ENABLE __HAL_RCC_DMA1_CLK_ENABLE
|
|
1960 |
#define __DMA1_CLK_SLEEP_DISABLE __HAL_RCC_DMA1_CLK_SLEEP_DISABLE
|
|
1961 |
#define __DMA1_CLK_SLEEP_ENABLE __HAL_RCC_DMA1_CLK_SLEEP_ENABLE
|
|
1962 |
#define __DMA1_FORCE_RESET __HAL_RCC_DMA1_FORCE_RESET
|
|
1963 |
#define __DMA1_RELEASE_RESET __HAL_RCC_DMA1_RELEASE_RESET
|
|
1964 |
#define __DMA2_CLK_DISABLE __HAL_RCC_DMA2_CLK_DISABLE
|
|
1965 |
#define __DMA2_CLK_ENABLE __HAL_RCC_DMA2_CLK_ENABLE
|
|
1966 |
#define __DMA2_CLK_SLEEP_DISABLE __HAL_RCC_DMA2_CLK_SLEEP_DISABLE
|
|
1967 |
#define __DMA2_CLK_SLEEP_ENABLE __HAL_RCC_DMA2_CLK_SLEEP_ENABLE
|
|
1968 |
#define __DMA2_FORCE_RESET __HAL_RCC_DMA2_FORCE_RESET
|
|
1969 |
#define __DMA2_RELEASE_RESET __HAL_RCC_DMA2_RELEASE_RESET
|
|
1970 |
#define __ETHMAC_CLK_DISABLE __HAL_RCC_ETHMAC_CLK_DISABLE
|
|
1971 |
#define __ETHMAC_CLK_ENABLE __HAL_RCC_ETHMAC_CLK_ENABLE
|
|
1972 |
#define __ETHMAC_FORCE_RESET __HAL_RCC_ETHMAC_FORCE_RESET
|
|
1973 |
#define __ETHMAC_RELEASE_RESET __HAL_RCC_ETHMAC_RELEASE_RESET
|
|
1974 |
#define __ETHMACRX_CLK_DISABLE __HAL_RCC_ETHMACRX_CLK_DISABLE
|
|
1975 |
#define __ETHMACRX_CLK_ENABLE __HAL_RCC_ETHMACRX_CLK_ENABLE
|
|
1976 |
#define __ETHMACTX_CLK_DISABLE __HAL_RCC_ETHMACTX_CLK_DISABLE
|
|
1977 |
#define __ETHMACTX_CLK_ENABLE __HAL_RCC_ETHMACTX_CLK_ENABLE
|
|
1978 |
#define __FIREWALL_CLK_DISABLE __HAL_RCC_FIREWALL_CLK_DISABLE
|
|
1979 |
#define __FIREWALL_CLK_ENABLE __HAL_RCC_FIREWALL_CLK_ENABLE
|
|
1980 |
#define __FLASH_CLK_DISABLE __HAL_RCC_FLASH_CLK_DISABLE
|
|
1981 |
#define __FLASH_CLK_ENABLE __HAL_RCC_FLASH_CLK_ENABLE
|
|
1982 |
#define __FLASH_CLK_SLEEP_DISABLE __HAL_RCC_FLASH_CLK_SLEEP_DISABLE
|
|
1983 |
#define __FLASH_CLK_SLEEP_ENABLE __HAL_RCC_FLASH_CLK_SLEEP_ENABLE
|
|
1984 |
#define __FLASH_FORCE_RESET __HAL_RCC_FLASH_FORCE_RESET
|
|
1985 |
#define __FLASH_RELEASE_RESET __HAL_RCC_FLASH_RELEASE_RESET
|
|
1986 |
#define __FLITF_CLK_DISABLE __HAL_RCC_FLITF_CLK_DISABLE
|
|
1987 |
#define __FLITF_CLK_ENABLE __HAL_RCC_FLITF_CLK_ENABLE
|
|
1988 |
#define __FLITF_FORCE_RESET __HAL_RCC_FLITF_FORCE_RESET
|
|
1989 |
#define __FLITF_RELEASE_RESET __HAL_RCC_FLITF_RELEASE_RESET
|
|
1990 |
#define __FLITF_CLK_SLEEP_ENABLE __HAL_RCC_FLITF_CLK_SLEEP_ENABLE
|
|
1991 |
#define __FLITF_CLK_SLEEP_DISABLE __HAL_RCC_FLITF_CLK_SLEEP_DISABLE
|
|
1992 |
#define __FMC_CLK_DISABLE __HAL_RCC_FMC_CLK_DISABLE
|
|
1993 |
#define __FMC_CLK_ENABLE __HAL_RCC_FMC_CLK_ENABLE
|
|
1994 |
#define __FMC_CLK_SLEEP_DISABLE __HAL_RCC_FMC_CLK_SLEEP_DISABLE
|
|
1995 |
#define __FMC_CLK_SLEEP_ENABLE __HAL_RCC_FMC_CLK_SLEEP_ENABLE
|
|
1996 |
#define __FMC_FORCE_RESET __HAL_RCC_FMC_FORCE_RESET
|
|
1997 |
#define __FMC_RELEASE_RESET __HAL_RCC_FMC_RELEASE_RESET
|
|
1998 |
#define __FSMC_CLK_DISABLE __HAL_RCC_FSMC_CLK_DISABLE
|
|
1999 |
#define __FSMC_CLK_ENABLE __HAL_RCC_FSMC_CLK_ENABLE
|
|
2000 |
#define __GPIOA_CLK_DISABLE __HAL_RCC_GPIOA_CLK_DISABLE
|
|
2001 |
#define __GPIOA_CLK_ENABLE __HAL_RCC_GPIOA_CLK_ENABLE
|
|
2002 |
#define __GPIOA_CLK_SLEEP_DISABLE __HAL_RCC_GPIOA_CLK_SLEEP_DISABLE
|
|
2003 |
#define __GPIOA_CLK_SLEEP_ENABLE __HAL_RCC_GPIOA_CLK_SLEEP_ENABLE
|
|
2004 |
#define __GPIOA_FORCE_RESET __HAL_RCC_GPIOA_FORCE_RESET
|
|
2005 |
#define __GPIOA_RELEASE_RESET __HAL_RCC_GPIOA_RELEASE_RESET
|
|
2006 |
#define __GPIOB_CLK_DISABLE __HAL_RCC_GPIOB_CLK_DISABLE
|
|
2007 |
#define __GPIOB_CLK_ENABLE __HAL_RCC_GPIOB_CLK_ENABLE
|
|
2008 |
#define __GPIOB_CLK_SLEEP_DISABLE __HAL_RCC_GPIOB_CLK_SLEEP_DISABLE
|
|
2009 |
#define __GPIOB_CLK_SLEEP_ENABLE __HAL_RCC_GPIOB_CLK_SLEEP_ENABLE
|
|
2010 |
#define __GPIOB_FORCE_RESET __HAL_RCC_GPIOB_FORCE_RESET
|
|
2011 |
#define __GPIOB_RELEASE_RESET __HAL_RCC_GPIOB_RELEASE_RESET
|
|
2012 |
#define __GPIOC_CLK_DISABLE __HAL_RCC_GPIOC_CLK_DISABLE
|
|
2013 |
#define __GPIOC_CLK_ENABLE __HAL_RCC_GPIOC_CLK_ENABLE
|
|
2014 |
#define __GPIOC_CLK_SLEEP_DISABLE __HAL_RCC_GPIOC_CLK_SLEEP_DISABLE
|
|
2015 |
#define __GPIOC_CLK_SLEEP_ENABLE __HAL_RCC_GPIOC_CLK_SLEEP_ENABLE
|
|
2016 |
#define __GPIOC_FORCE_RESET __HAL_RCC_GPIOC_FORCE_RESET
|
|
2017 |
#define __GPIOC_RELEASE_RESET __HAL_RCC_GPIOC_RELEASE_RESET
|
|
2018 |
#define __GPIOD_CLK_DISABLE __HAL_RCC_GPIOD_CLK_DISABLE
|
|
2019 |
#define __GPIOD_CLK_ENABLE __HAL_RCC_GPIOD_CLK_ENABLE
|
|
2020 |
#define __GPIOD_CLK_SLEEP_DISABLE __HAL_RCC_GPIOD_CLK_SLEEP_DISABLE
|
|
2021 |
#define __GPIOD_CLK_SLEEP_ENABLE __HAL_RCC_GPIOD_CLK_SLEEP_ENABLE
|
|
2022 |
#define __GPIOD_FORCE_RESET __HAL_RCC_GPIOD_FORCE_RESET
|
|
2023 |
#define __GPIOD_RELEASE_RESET __HAL_RCC_GPIOD_RELEASE_RESET
|
|
2024 |
#define __GPIOE_CLK_DISABLE __HAL_RCC_GPIOE_CLK_DISABLE
|
|
2025 |
#define __GPIOE_CLK_ENABLE __HAL_RCC_GPIOE_CLK_ENABLE
|
|
2026 |
#define __GPIOE_CLK_SLEEP_DISABLE __HAL_RCC_GPIOE_CLK_SLEEP_DISABLE
|
|
2027 |
#define __GPIOE_CLK_SLEEP_ENABLE __HAL_RCC_GPIOE_CLK_SLEEP_ENABLE
|
|
2028 |
#define __GPIOE_FORCE_RESET __HAL_RCC_GPIOE_FORCE_RESET
|
|
2029 |
#define __GPIOE_RELEASE_RESET __HAL_RCC_GPIOE_RELEASE_RESET
|
|
2030 |
#define __GPIOF_CLK_DISABLE __HAL_RCC_GPIOF_CLK_DISABLE
|
|
2031 |
#define __GPIOF_CLK_ENABLE __HAL_RCC_GPIOF_CLK_ENABLE
|
|
2032 |
#define __GPIOF_CLK_SLEEP_DISABLE __HAL_RCC_GPIOF_CLK_SLEEP_DISABLE
|
|
2033 |
#define __GPIOF_CLK_SLEEP_ENABLE __HAL_RCC_GPIOF_CLK_SLEEP_ENABLE
|
|
2034 |
#define __GPIOF_FORCE_RESET __HAL_RCC_GPIOF_FORCE_RESET
|
|
2035 |
#define __GPIOF_RELEASE_RESET __HAL_RCC_GPIOF_RELEASE_RESET
|
|
2036 |
#define __GPIOG_CLK_DISABLE __HAL_RCC_GPIOG_CLK_DISABLE
|
|
2037 |
#define __GPIOG_CLK_ENABLE __HAL_RCC_GPIOG_CLK_ENABLE
|
|
2038 |
#define __GPIOG_CLK_SLEEP_DISABLE __HAL_RCC_GPIOG_CLK_SLEEP_DISABLE
|
|
2039 |
#define __GPIOG_CLK_SLEEP_ENABLE __HAL_RCC_GPIOG_CLK_SLEEP_ENABLE
|
|
2040 |
#define __GPIOG_FORCE_RESET __HAL_RCC_GPIOG_FORCE_RESET
|
|
2041 |
#define __GPIOG_RELEASE_RESET __HAL_RCC_GPIOG_RELEASE_RESET
|
|
2042 |
#define __GPIOH_CLK_DISABLE __HAL_RCC_GPIOH_CLK_DISABLE
|
|
2043 |
#define __GPIOH_CLK_ENABLE __HAL_RCC_GPIOH_CLK_ENABLE
|
|
2044 |
#define __GPIOH_CLK_SLEEP_DISABLE __HAL_RCC_GPIOH_CLK_SLEEP_DISABLE
|
|
2045 |
#define __GPIOH_CLK_SLEEP_ENABLE __HAL_RCC_GPIOH_CLK_SLEEP_ENABLE
|
|
2046 |
#define __GPIOH_FORCE_RESET __HAL_RCC_GPIOH_FORCE_RESET
|
|
2047 |
#define __GPIOH_RELEASE_RESET __HAL_RCC_GPIOH_RELEASE_RESET
|
|
2048 |
#define __I2C1_CLK_DISABLE __HAL_RCC_I2C1_CLK_DISABLE
|
|
2049 |
#define __I2C1_CLK_ENABLE __HAL_RCC_I2C1_CLK_ENABLE
|
|
2050 |
#define __I2C1_CLK_SLEEP_DISABLE __HAL_RCC_I2C1_CLK_SLEEP_DISABLE
|
|
2051 |
#define __I2C1_CLK_SLEEP_ENABLE __HAL_RCC_I2C1_CLK_SLEEP_ENABLE
|
|
2052 |
#define __I2C1_FORCE_RESET __HAL_RCC_I2C1_FORCE_RESET
|
|
2053 |
#define __I2C1_RELEASE_RESET __HAL_RCC_I2C1_RELEASE_RESET
|
|
2054 |
#define __I2C2_CLK_DISABLE __HAL_RCC_I2C2_CLK_DISABLE
|
|
2055 |
#define __I2C2_CLK_ENABLE __HAL_RCC_I2C2_CLK_ENABLE
|
|
2056 |
#define __I2C2_CLK_SLEEP_DISABLE __HAL_RCC_I2C2_CLK_SLEEP_DISABLE
|
|
2057 |
#define __I2C2_CLK_SLEEP_ENABLE __HAL_RCC_I2C2_CLK_SLEEP_ENABLE
|
|
2058 |
#define __I2C2_FORCE_RESET __HAL_RCC_I2C2_FORCE_RESET
|
|
2059 |
#define __I2C2_RELEASE_RESET __HAL_RCC_I2C2_RELEASE_RESET
|
|
2060 |
#define __I2C3_CLK_DISABLE __HAL_RCC_I2C3_CLK_DISABLE
|
|
2061 |
#define __I2C3_CLK_ENABLE __HAL_RCC_I2C3_CLK_ENABLE
|
|
2062 |
#define __I2C3_CLK_SLEEP_DISABLE __HAL_RCC_I2C3_CLK_SLEEP_DISABLE
|
|
2063 |
#define __I2C3_CLK_SLEEP_ENABLE __HAL_RCC_I2C3_CLK_SLEEP_ENABLE
|
|
2064 |
#define __I2C3_FORCE_RESET __HAL_RCC_I2C3_FORCE_RESET
|
|
2065 |
#define __I2C3_RELEASE_RESET __HAL_RCC_I2C3_RELEASE_RESET
|
|
2066 |
#define __LCD_CLK_DISABLE __HAL_RCC_LCD_CLK_DISABLE
|
|
2067 |
#define __LCD_CLK_ENABLE __HAL_RCC_LCD_CLK_ENABLE
|
|
2068 |
#define __LCD_CLK_SLEEP_DISABLE __HAL_RCC_LCD_CLK_SLEEP_DISABLE
|
|
2069 |
#define __LCD_CLK_SLEEP_ENABLE __HAL_RCC_LCD_CLK_SLEEP_ENABLE
|
|
2070 |
#define __LCD_FORCE_RESET __HAL_RCC_LCD_FORCE_RESET
|
|
2071 |
#define __LCD_RELEASE_RESET __HAL_RCC_LCD_RELEASE_RESET
|
|
2072 |
#define __LPTIM1_CLK_DISABLE __HAL_RCC_LPTIM1_CLK_DISABLE
|
|
2073 |
#define __LPTIM1_CLK_ENABLE __HAL_RCC_LPTIM1_CLK_ENABLE
|
|
2074 |
#define __LPTIM1_CLK_SLEEP_DISABLE __HAL_RCC_LPTIM1_CLK_SLEEP_DISABLE
|
|
2075 |
#define __LPTIM1_CLK_SLEEP_ENABLE __HAL_RCC_LPTIM1_CLK_SLEEP_ENABLE
|
|
2076 |
#define __LPTIM1_FORCE_RESET __HAL_RCC_LPTIM1_FORCE_RESET
|
|
2077 |
#define __LPTIM1_RELEASE_RESET __HAL_RCC_LPTIM1_RELEASE_RESET
|
|
2078 |
#define __LPTIM2_CLK_DISABLE __HAL_RCC_LPTIM2_CLK_DISABLE
|
|
2079 |
#define __LPTIM2_CLK_ENABLE __HAL_RCC_LPTIM2_CLK_ENABLE
|
|
2080 |
#define __LPTIM2_CLK_SLEEP_DISABLE __HAL_RCC_LPTIM2_CLK_SLEEP_DISABLE
|
|
2081 |
#define __LPTIM2_CLK_SLEEP_ENABLE __HAL_RCC_LPTIM2_CLK_SLEEP_ENABLE
|
|
2082 |
#define __LPTIM2_FORCE_RESET __HAL_RCC_LPTIM2_FORCE_RESET
|
|
2083 |
#define __LPTIM2_RELEASE_RESET __HAL_RCC_LPTIM2_RELEASE_RESET
|
|
2084 |
#define __LPUART1_CLK_DISABLE __HAL_RCC_LPUART1_CLK_DISABLE
|
|
2085 |
#define __LPUART1_CLK_ENABLE __HAL_RCC_LPUART1_CLK_ENABLE
|
|
2086 |
#define __LPUART1_CLK_SLEEP_DISABLE __HAL_RCC_LPUART1_CLK_SLEEP_DISABLE
|
|
2087 |
#define __LPUART1_CLK_SLEEP_ENABLE __HAL_RCC_LPUART1_CLK_SLEEP_ENABLE
|
|
2088 |
#define __LPUART1_FORCE_RESET __HAL_RCC_LPUART1_FORCE_RESET
|
|
2089 |
#define __LPUART1_RELEASE_RESET __HAL_RCC_LPUART1_RELEASE_RESET
|
|
2090 |
#define __OPAMP_CLK_DISABLE __HAL_RCC_OPAMP_CLK_DISABLE
|
|
2091 |
#define __OPAMP_CLK_ENABLE __HAL_RCC_OPAMP_CLK_ENABLE
|
|
2092 |
#define __OPAMP_CLK_SLEEP_DISABLE __HAL_RCC_OPAMP_CLK_SLEEP_DISABLE
|
|
2093 |
#define __OPAMP_CLK_SLEEP_ENABLE __HAL_RCC_OPAMP_CLK_SLEEP_ENABLE
|
|
2094 |
#define __OPAMP_FORCE_RESET __HAL_RCC_OPAMP_FORCE_RESET
|
|
2095 |
#define __OPAMP_RELEASE_RESET __HAL_RCC_OPAMP_RELEASE_RESET
|
|
2096 |
#define __OTGFS_CLK_DISABLE __HAL_RCC_OTGFS_CLK_DISABLE
|
|
2097 |
#define __OTGFS_CLK_ENABLE __HAL_RCC_OTGFS_CLK_ENABLE
|
|
2098 |
#define __OTGFS_CLK_SLEEP_DISABLE __HAL_RCC_OTGFS_CLK_SLEEP_DISABLE
|
|
2099 |
#define __OTGFS_CLK_SLEEP_ENABLE __HAL_RCC_OTGFS_CLK_SLEEP_ENABLE
|
|
2100 |
#define __OTGFS_FORCE_RESET __HAL_RCC_OTGFS_FORCE_RESET
|
|
2101 |
#define __OTGFS_RELEASE_RESET __HAL_RCC_OTGFS_RELEASE_RESET
|
|
2102 |
#define __PWR_CLK_DISABLE __HAL_RCC_PWR_CLK_DISABLE
|
|
2103 |
#define __PWR_CLK_ENABLE __HAL_RCC_PWR_CLK_ENABLE
|
|
2104 |
#define __PWR_CLK_SLEEP_DISABLE __HAL_RCC_PWR_CLK_SLEEP_DISABLE
|
|
2105 |
#define __PWR_CLK_SLEEP_ENABLE __HAL_RCC_PWR_CLK_SLEEP_ENABLE
|
|
2106 |
#define __PWR_FORCE_RESET __HAL_RCC_PWR_FORCE_RESET
|
|
2107 |
#define __PWR_RELEASE_RESET __HAL_RCC_PWR_RELEASE_RESET
|
|
2108 |
#define __QSPI_CLK_DISABLE __HAL_RCC_QSPI_CLK_DISABLE
|
|
2109 |
#define __QSPI_CLK_ENABLE __HAL_RCC_QSPI_CLK_ENABLE
|
|
2110 |
#define __QSPI_CLK_SLEEP_DISABLE __HAL_RCC_QSPI_CLK_SLEEP_DISABLE
|
|
2111 |
#define __QSPI_CLK_SLEEP_ENABLE __HAL_RCC_QSPI_CLK_SLEEP_ENABLE
|
|
2112 |
#define __QSPI_FORCE_RESET __HAL_RCC_QSPI_FORCE_RESET
|
|
2113 |
#define __QSPI_RELEASE_RESET __HAL_RCC_QSPI_RELEASE_RESET
|
|
2114 |
#define __RNG_CLK_DISABLE __HAL_RCC_RNG_CLK_DISABLE
|
|
2115 |
#define __RNG_CLK_ENABLE __HAL_RCC_RNG_CLK_ENABLE
|
|
2116 |
#define __RNG_CLK_SLEEP_DISABLE __HAL_RCC_RNG_CLK_SLEEP_DISABLE
|
|
2117 |
#define __RNG_CLK_SLEEP_ENABLE __HAL_RCC_RNG_CLK_SLEEP_ENABLE
|
|
2118 |
#define __RNG_FORCE_RESET __HAL_RCC_RNG_FORCE_RESET
|
|
2119 |
#define __RNG_RELEASE_RESET __HAL_RCC_RNG_RELEASE_RESET
|
|
2120 |
#define __SAI1_CLK_DISABLE __HAL_RCC_SAI1_CLK_DISABLE
|
|
2121 |
#define __SAI1_CLK_ENABLE __HAL_RCC_SAI1_CLK_ENABLE
|
|
2122 |
#define __SAI1_CLK_SLEEP_DISABLE __HAL_RCC_SAI1_CLK_SLEEP_DISABLE
|
|
2123 |
#define __SAI1_CLK_SLEEP_ENABLE __HAL_RCC_SAI1_CLK_SLEEP_ENABLE
|
|
2124 |
#define __SAI1_FORCE_RESET __HAL_RCC_SAI1_FORCE_RESET
|
|
2125 |
#define __SAI1_RELEASE_RESET __HAL_RCC_SAI1_RELEASE_RESET
|
|
2126 |
#define __SAI2_CLK_DISABLE __HAL_RCC_SAI2_CLK_DISABLE
|
|
2127 |
#define __SAI2_CLK_ENABLE __HAL_RCC_SAI2_CLK_ENABLE
|
|
2128 |
#define __SAI2_CLK_SLEEP_DISABLE __HAL_RCC_SAI2_CLK_SLEEP_DISABLE
|
|
2129 |
#define __SAI2_CLK_SLEEP_ENABLE __HAL_RCC_SAI2_CLK_SLEEP_ENABLE
|
|
2130 |
#define __SAI2_FORCE_RESET __HAL_RCC_SAI2_FORCE_RESET
|
|
2131 |
#define __SAI2_RELEASE_RESET __HAL_RCC_SAI2_RELEASE_RESET
|
|
2132 |
#define __SDIO_CLK_DISABLE __HAL_RCC_SDIO_CLK_DISABLE
|
|
2133 |
#define __SDIO_CLK_ENABLE __HAL_RCC_SDIO_CLK_ENABLE
|
|
2134 |
#define __SDMMC_CLK_DISABLE __HAL_RCC_SDMMC_CLK_DISABLE
|
|
2135 |
#define __SDMMC_CLK_ENABLE __HAL_RCC_SDMMC_CLK_ENABLE
|
|
2136 |
#define __SDMMC_CLK_SLEEP_DISABLE __HAL_RCC_SDMMC_CLK_SLEEP_DISABLE
|
|
2137 |
#define __SDMMC_CLK_SLEEP_ENABLE __HAL_RCC_SDMMC_CLK_SLEEP_ENABLE
|
|
2138 |
#define __SDMMC_FORCE_RESET __HAL_RCC_SDMMC_FORCE_RESET
|
|
2139 |
#define __SDMMC_RELEASE_RESET __HAL_RCC_SDMMC_RELEASE_RESET
|
|
2140 |
#define __SPI1_CLK_DISABLE __HAL_RCC_SPI1_CLK_DISABLE
|
|
2141 |
#define __SPI1_CLK_ENABLE __HAL_RCC_SPI1_CLK_ENABLE
|
|
2142 |
#define __SPI1_CLK_SLEEP_DISABLE __HAL_RCC_SPI1_CLK_SLEEP_DISABLE
|
|
2143 |
#define __SPI1_CLK_SLEEP_ENABLE __HAL_RCC_SPI1_CLK_SLEEP_ENABLE
|
|
2144 |
#define __SPI1_FORCE_RESET __HAL_RCC_SPI1_FORCE_RESET
|
|
2145 |
#define __SPI1_RELEASE_RESET __HAL_RCC_SPI1_RELEASE_RESET
|
|
2146 |
#define __SPI2_CLK_DISABLE __HAL_RCC_SPI2_CLK_DISABLE
|
|
2147 |
#define __SPI2_CLK_ENABLE __HAL_RCC_SPI2_CLK_ENABLE
|
|
2148 |
#define __SPI2_CLK_SLEEP_DISABLE __HAL_RCC_SPI2_CLK_SLEEP_DISABLE
|
|
2149 |
#define __SPI2_CLK_SLEEP_ENABLE __HAL_RCC_SPI2_CLK_SLEEP_ENABLE
|
|
2150 |
#define __SPI2_FORCE_RESET __HAL_RCC_SPI2_FORCE_RESET
|
|
2151 |
#define __SPI2_RELEASE_RESET __HAL_RCC_SPI2_RELEASE_RESET
|
|
2152 |
#define __SPI3_CLK_DISABLE __HAL_RCC_SPI3_CLK_DISABLE
|
|
2153 |
#define __SPI3_CLK_ENABLE __HAL_RCC_SPI3_CLK_ENABLE
|
|
2154 |
#define __SPI3_CLK_SLEEP_DISABLE __HAL_RCC_SPI3_CLK_SLEEP_DISABLE
|
|
2155 |
#define __SPI3_CLK_SLEEP_ENABLE __HAL_RCC_SPI3_CLK_SLEEP_ENABLE
|
|
2156 |
#define __SPI3_FORCE_RESET __HAL_RCC_SPI3_FORCE_RESET
|
|
2157 |
#define __SPI3_RELEASE_RESET __HAL_RCC_SPI3_RELEASE_RESET
|
|
2158 |
#define __SRAM_CLK_DISABLE __HAL_RCC_SRAM_CLK_DISABLE
|
|
2159 |
#define __SRAM_CLK_ENABLE __HAL_RCC_SRAM_CLK_ENABLE
|
|
2160 |
#define __SRAM1_CLK_SLEEP_DISABLE __HAL_RCC_SRAM1_CLK_SLEEP_DISABLE
|
|
2161 |
#define __SRAM1_CLK_SLEEP_ENABLE __HAL_RCC_SRAM1_CLK_SLEEP_ENABLE
|
|
2162 |
#define __SRAM2_CLK_SLEEP_DISABLE __HAL_RCC_SRAM2_CLK_SLEEP_DISABLE
|
|
2163 |
#define __SRAM2_CLK_SLEEP_ENABLE __HAL_RCC_SRAM2_CLK_SLEEP_ENABLE
|
|
2164 |
#define __SWPMI1_CLK_DISABLE __HAL_RCC_SWPMI1_CLK_DISABLE
|
|
2165 |
#define __SWPMI1_CLK_ENABLE __HAL_RCC_SWPMI1_CLK_ENABLE
|
|
2166 |
#define __SWPMI1_CLK_SLEEP_DISABLE __HAL_RCC_SWPMI1_CLK_SLEEP_DISABLE
|
|
2167 |
#define __SWPMI1_CLK_SLEEP_ENABLE __HAL_RCC_SWPMI1_CLK_SLEEP_ENABLE
|
|
2168 |
#define __SWPMI1_FORCE_RESET __HAL_RCC_SWPMI1_FORCE_RESET
|
|
2169 |
#define __SWPMI1_RELEASE_RESET __HAL_RCC_SWPMI1_RELEASE_RESET
|
|
2170 |
#define __SYSCFG_CLK_DISABLE __HAL_RCC_SYSCFG_CLK_DISABLE
|
|
2171 |
#define __SYSCFG_CLK_ENABLE __HAL_RCC_SYSCFG_CLK_ENABLE
|
|
2172 |
#define __SYSCFG_CLK_SLEEP_DISABLE __HAL_RCC_SYSCFG_CLK_SLEEP_DISABLE
|
|
2173 |
#define __SYSCFG_CLK_SLEEP_ENABLE __HAL_RCC_SYSCFG_CLK_SLEEP_ENABLE
|
|
2174 |
#define __SYSCFG_FORCE_RESET __HAL_RCC_SYSCFG_FORCE_RESET
|
|
2175 |
#define __SYSCFG_RELEASE_RESET __HAL_RCC_SYSCFG_RELEASE_RESET
|
|
2176 |
#define __TIM1_CLK_DISABLE __HAL_RCC_TIM1_CLK_DISABLE
|
|
2177 |
#define __TIM1_CLK_ENABLE __HAL_RCC_TIM1_CLK_ENABLE
|
|
2178 |
#define __TIM1_CLK_SLEEP_DISABLE __HAL_RCC_TIM1_CLK_SLEEP_DISABLE
|
|
2179 |
#define __TIM1_CLK_SLEEP_ENABLE __HAL_RCC_TIM1_CLK_SLEEP_ENABLE
|
|
2180 |
#define __TIM1_FORCE_RESET __HAL_RCC_TIM1_FORCE_RESET
|
|
2181 |
#define __TIM1_RELEASE_RESET __HAL_RCC_TIM1_RELEASE_RESET
|
|
2182 |
#define __TIM10_CLK_DISABLE __HAL_RCC_TIM10_CLK_DISABLE
|
|
2183 |
#define __TIM10_CLK_ENABLE __HAL_RCC_TIM10_CLK_ENABLE
|
|
2184 |
#define __TIM10_FORCE_RESET __HAL_RCC_TIM10_FORCE_RESET
|
|
2185 |
#define __TIM10_RELEASE_RESET __HAL_RCC_TIM10_RELEASE_RESET
|
|
2186 |
#define __TIM11_CLK_DISABLE __HAL_RCC_TIM11_CLK_DISABLE
|
|
2187 |
#define __TIM11_CLK_ENABLE __HAL_RCC_TIM11_CLK_ENABLE
|
|
2188 |
#define __TIM11_FORCE_RESET __HAL_RCC_TIM11_FORCE_RESET
|
|
2189 |
#define __TIM11_RELEASE_RESET __HAL_RCC_TIM11_RELEASE_RESET
|
|
2190 |
#define __TIM12_CLK_DISABLE __HAL_RCC_TIM12_CLK_DISABLE
|
|
2191 |
#define __TIM12_CLK_ENABLE __HAL_RCC_TIM12_CLK_ENABLE
|
|
2192 |
#define __TIM12_FORCE_RESET __HAL_RCC_TIM12_FORCE_RESET
|
|
2193 |
#define __TIM12_RELEASE_RESET __HAL_RCC_TIM12_RELEASE_RESET
|
|
2194 |
#define __TIM13_CLK_DISABLE __HAL_RCC_TIM13_CLK_DISABLE
|
|
2195 |
#define __TIM13_CLK_ENABLE __HAL_RCC_TIM13_CLK_ENABLE
|
|
2196 |
#define __TIM13_FORCE_RESET __HAL_RCC_TIM13_FORCE_RESET
|
|
2197 |
#define __TIM13_RELEASE_RESET __HAL_RCC_TIM13_RELEASE_RESET
|
|
2198 |
#define __TIM14_CLK_DISABLE __HAL_RCC_TIM14_CLK_DISABLE
|
|
2199 |
#define __TIM14_CLK_ENABLE __HAL_RCC_TIM14_CLK_ENABLE
|
|
2200 |
#define __TIM14_FORCE_RESET __HAL_RCC_TIM14_FORCE_RESET
|
|
2201 |
#define __TIM14_RELEASE_RESET __HAL_RCC_TIM14_RELEASE_RESET
|
|
2202 |
#define __TIM15_CLK_DISABLE __HAL_RCC_TIM15_CLK_DISABLE
|
|
2203 |
#define __TIM15_CLK_ENABLE __HAL_RCC_TIM15_CLK_ENABLE
|
|
2204 |
#define __TIM15_CLK_SLEEP_DISABLE __HAL_RCC_TIM15_CLK_SLEEP_DISABLE
|
|
2205 |
#define __TIM15_CLK_SLEEP_ENABLE __HAL_RCC_TIM15_CLK_SLEEP_ENABLE
|
|
2206 |
#define __TIM15_FORCE_RESET __HAL_RCC_TIM15_FORCE_RESET
|
|
2207 |
#define __TIM15_RELEASE_RESET __HAL_RCC_TIM15_RELEASE_RESET
|
|
2208 |
#define __TIM16_CLK_DISABLE __HAL_RCC_TIM16_CLK_DISABLE
|
|
2209 |
#define __TIM16_CLK_ENABLE __HAL_RCC_TIM16_CLK_ENABLE
|
|
2210 |
#define __TIM16_CLK_SLEEP_DISABLE __HAL_RCC_TIM16_CLK_SLEEP_DISABLE
|
|
2211 |
#define __TIM16_CLK_SLEEP_ENABLE __HAL_RCC_TIM16_CLK_SLEEP_ENABLE
|
|
2212 |
#define __TIM16_FORCE_RESET __HAL_RCC_TIM16_FORCE_RESET
|
|
2213 |
#define __TIM16_RELEASE_RESET __HAL_RCC_TIM16_RELEASE_RESET
|
|
2214 |
#define __TIM17_CLK_DISABLE __HAL_RCC_TIM17_CLK_DISABLE
|
|
2215 |
#define __TIM17_CLK_ENABLE __HAL_RCC_TIM17_CLK_ENABLE
|
|
2216 |
#define __TIM17_CLK_SLEEP_DISABLE __HAL_RCC_TIM17_CLK_SLEEP_DISABLE
|
|
2217 |
#define __TIM17_CLK_SLEEP_ENABLE __HAL_RCC_TIM17_CLK_SLEEP_ENABLE
|
|
2218 |
#define __TIM17_FORCE_RESET __HAL_RCC_TIM17_FORCE_RESET
|
|
2219 |
#define __TIM17_RELEASE_RESET __HAL_RCC_TIM17_RELEASE_RESET
|
|
2220 |
#define __TIM2_CLK_DISABLE __HAL_RCC_TIM2_CLK_DISABLE
|
|
2221 |
#define __TIM2_CLK_ENABLE __HAL_RCC_TIM2_CLK_ENABLE
|
|
2222 |
#define __TIM2_CLK_SLEEP_DISABLE __HAL_RCC_TIM2_CLK_SLEEP_DISABLE
|
|
2223 |
#define __TIM2_CLK_SLEEP_ENABLE __HAL_RCC_TIM2_CLK_SLEEP_ENABLE
|
|
2224 |
#define __TIM2_FORCE_RESET __HAL_RCC_TIM2_FORCE_RESET
|
|
2225 |
#define __TIM2_RELEASE_RESET __HAL_RCC_TIM2_RELEASE_RESET
|
|
2226 |
#define __TIM3_CLK_DISABLE __HAL_RCC_TIM3_CLK_DISABLE
|
|
2227 |
#define __TIM3_CLK_ENABLE __HAL_RCC_TIM3_CLK_ENABLE
|
|
2228 |
#define __TIM3_CLK_SLEEP_DISABLE __HAL_RCC_TIM3_CLK_SLEEP_DISABLE
|
|
2229 |
#define __TIM3_CLK_SLEEP_ENABLE __HAL_RCC_TIM3_CLK_SLEEP_ENABLE
|
|
2230 |
#define __TIM3_FORCE_RESET __HAL_RCC_TIM3_FORCE_RESET
|
|
2231 |
#define __TIM3_RELEASE_RESET __HAL_RCC_TIM3_RELEASE_RESET
|
|
2232 |
#define __TIM4_CLK_DISABLE __HAL_RCC_TIM4_CLK_DISABLE
|
|
2233 |
#define __TIM4_CLK_ENABLE __HAL_RCC_TIM4_CLK_ENABLE
|
|
2234 |
#define __TIM4_CLK_SLEEP_DISABLE __HAL_RCC_TIM4_CLK_SLEEP_DISABLE
|
|
2235 |
#define __TIM4_CLK_SLEEP_ENABLE __HAL_RCC_TIM4_CLK_SLEEP_ENABLE
|
|
2236 |
#define __TIM4_FORCE_RESET __HAL_RCC_TIM4_FORCE_RESET
|
|
2237 |
#define __TIM4_RELEASE_RESET __HAL_RCC_TIM4_RELEASE_RESET
|
|
2238 |
#define __TIM5_CLK_DISABLE __HAL_RCC_TIM5_CLK_DISABLE
|
|
2239 |
#define __TIM5_CLK_ENABLE __HAL_RCC_TIM5_CLK_ENABLE
|
|
2240 |
#define __TIM5_CLK_SLEEP_DISABLE __HAL_RCC_TIM5_CLK_SLEEP_DISABLE
|
|
2241 |
#define __TIM5_CLK_SLEEP_ENABLE __HAL_RCC_TIM5_CLK_SLEEP_ENABLE
|
|
2242 |
#define __TIM5_FORCE_RESET __HAL_RCC_TIM5_FORCE_RESET
|
|
2243 |
#define __TIM5_RELEASE_RESET __HAL_RCC_TIM5_RELEASE_RESET
|
|
2244 |
#define __TIM6_CLK_DISABLE __HAL_RCC_TIM6_CLK_DISABLE
|
|
2245 |
#define __TIM6_CLK_ENABLE __HAL_RCC_TIM6_CLK_ENABLE
|
|
2246 |
#define __TIM6_CLK_SLEEP_DISABLE __HAL_RCC_TIM6_CLK_SLEEP_DISABLE
|
|
2247 |
#define __TIM6_CLK_SLEEP_ENABLE __HAL_RCC_TIM6_CLK_SLEEP_ENABLE
|
|
2248 |
#define __TIM6_FORCE_RESET __HAL_RCC_TIM6_FORCE_RESET
|
|
2249 |
#define __TIM6_RELEASE_RESET __HAL_RCC_TIM6_RELEASE_RESET
|
|
2250 |
#define __TIM7_CLK_DISABLE __HAL_RCC_TIM7_CLK_DISABLE
|
|
2251 |
#define __TIM7_CLK_ENABLE __HAL_RCC_TIM7_CLK_ENABLE
|
|
2252 |
#define __TIM7_CLK_SLEEP_DISABLE __HAL_RCC_TIM7_CLK_SLEEP_DISABLE
|
|
2253 |
#define __TIM7_CLK_SLEEP_ENABLE __HAL_RCC_TIM7_CLK_SLEEP_ENABLE
|
|
2254 |
#define __TIM7_FORCE_RESET __HAL_RCC_TIM7_FORCE_RESET
|
|
2255 |
#define __TIM7_RELEASE_RESET __HAL_RCC_TIM7_RELEASE_RESET
|
|
2256 |
#define __TIM8_CLK_DISABLE __HAL_RCC_TIM8_CLK_DISABLE
|
|
2257 |
#define __TIM8_CLK_ENABLE __HAL_RCC_TIM8_CLK_ENABLE
|
|
2258 |
#define __TIM8_CLK_SLEEP_DISABLE __HAL_RCC_TIM8_CLK_SLEEP_DISABLE
|
|
2259 |
#define __TIM8_CLK_SLEEP_ENABLE __HAL_RCC_TIM8_CLK_SLEEP_ENABLE
|
|
2260 |
#define __TIM8_FORCE_RESET __HAL_RCC_TIM8_FORCE_RESET
|
|
2261 |
#define __TIM8_RELEASE_RESET __HAL_RCC_TIM8_RELEASE_RESET
|
|
2262 |
#define __TIM9_CLK_DISABLE __HAL_RCC_TIM9_CLK_DISABLE
|
|
2263 |
#define __TIM9_CLK_ENABLE __HAL_RCC_TIM9_CLK_ENABLE
|
|
2264 |
#define __TIM9_FORCE_RESET __HAL_RCC_TIM9_FORCE_RESET
|
|
2265 |
#define __TIM9_RELEASE_RESET __HAL_RCC_TIM9_RELEASE_RESET
|
|
2266 |
#define __TSC_CLK_DISABLE __HAL_RCC_TSC_CLK_DISABLE
|
|
2267 |
#define __TSC_CLK_ENABLE __HAL_RCC_TSC_CLK_ENABLE
|
|
2268 |
#define __TSC_CLK_SLEEP_DISABLE __HAL_RCC_TSC_CLK_SLEEP_DISABLE
|
|
2269 |
#define __TSC_CLK_SLEEP_ENABLE __HAL_RCC_TSC_CLK_SLEEP_ENABLE
|
|
2270 |
#define __TSC_FORCE_RESET __HAL_RCC_TSC_FORCE_RESET
|
|
2271 |
#define __TSC_RELEASE_RESET __HAL_RCC_TSC_RELEASE_RESET
|
|
2272 |
#define __UART4_CLK_DISABLE __HAL_RCC_UART4_CLK_DISABLE
|
|
2273 |
#define __UART4_CLK_ENABLE __HAL_RCC_UART4_CLK_ENABLE
|
|
2274 |
#define __UART4_CLK_SLEEP_DISABLE __HAL_RCC_UART4_CLK_SLEEP_DISABLE
|
|
2275 |
#define __UART4_CLK_SLEEP_ENABLE __HAL_RCC_UART4_CLK_SLEEP_ENABLE
|
|
2276 |
#define __UART4_FORCE_RESET __HAL_RCC_UART4_FORCE_RESET
|
|
2277 |
#define __UART4_RELEASE_RESET __HAL_RCC_UART4_RELEASE_RESET
|
|
2278 |
#define __UART5_CLK_DISABLE __HAL_RCC_UART5_CLK_DISABLE
|
|
2279 |
#define __UART5_CLK_ENABLE __HAL_RCC_UART5_CLK_ENABLE
|
|
2280 |
#define __UART5_CLK_SLEEP_DISABLE __HAL_RCC_UART5_CLK_SLEEP_DISABLE
|
|
2281 |
#define __UART5_CLK_SLEEP_ENABLE __HAL_RCC_UART5_CLK_SLEEP_ENABLE
|
|
2282 |
#define __UART5_FORCE_RESET __HAL_RCC_UART5_FORCE_RESET
|
|
2283 |
#define __UART5_RELEASE_RESET __HAL_RCC_UART5_RELEASE_RESET
|
|
2284 |
#define __USART1_CLK_DISABLE __HAL_RCC_USART1_CLK_DISABLE
|
|
2285 |
#define __USART1_CLK_ENABLE __HAL_RCC_USART1_CLK_ENABLE
|
|
2286 |
#define __USART1_CLK_SLEEP_DISABLE __HAL_RCC_USART1_CLK_SLEEP_DISABLE
|
|
2287 |
#define __USART1_CLK_SLEEP_ENABLE __HAL_RCC_USART1_CLK_SLEEP_ENABLE
|
|
2288 |
#define __USART1_FORCE_RESET __HAL_RCC_USART1_FORCE_RESET
|
|
2289 |
#define __USART1_RELEASE_RESET __HAL_RCC_USART1_RELEASE_RESET
|
|
2290 |
#define __USART2_CLK_DISABLE __HAL_RCC_USART2_CLK_DISABLE
|
|
2291 |
#define __USART2_CLK_ENABLE __HAL_RCC_USART2_CLK_ENABLE
|
|
2292 |
#define __USART2_CLK_SLEEP_DISABLE __HAL_RCC_USART2_CLK_SLEEP_DISABLE
|
|
2293 |
#define __USART2_CLK_SLEEP_ENABLE __HAL_RCC_USART2_CLK_SLEEP_ENABLE
|
|
2294 |
#define __USART2_FORCE_RESET __HAL_RCC_USART2_FORCE_RESET
|
|
2295 |
#define __USART2_RELEASE_RESET __HAL_RCC_USART2_RELEASE_RESET
|
|
2296 |
#define __USART3_CLK_DISABLE __HAL_RCC_USART3_CLK_DISABLE
|
|
2297 |
#define __USART3_CLK_ENABLE __HAL_RCC_USART3_CLK_ENABLE
|
|
2298 |
#define __USART3_CLK_SLEEP_DISABLE __HAL_RCC_USART3_CLK_SLEEP_DISABLE
|
|
2299 |
#define __USART3_CLK_SLEEP_ENABLE __HAL_RCC_USART3_CLK_SLEEP_ENABLE
|
|
2300 |
#define __USART3_FORCE_RESET __HAL_RCC_USART3_FORCE_RESET
|
|
2301 |
#define __USART3_RELEASE_RESET __HAL_RCC_USART3_RELEASE_RESET
|
|
2302 |
#define __USART4_CLK_DISABLE __HAL_RCC_UART4_CLK_DISABLE
|
|
2303 |
#define __USART4_CLK_ENABLE __HAL_RCC_UART4_CLK_ENABLE
|
|
2304 |
#define __USART4_CLK_SLEEP_ENABLE __HAL_RCC_UART4_CLK_SLEEP_ENABLE
|
|
2305 |
#define __USART4_CLK_SLEEP_DISABLE __HAL_RCC_UART4_CLK_SLEEP_DISABLE
|
|
2306 |
#define __USART4_FORCE_RESET __HAL_RCC_UART4_FORCE_RESET
|
|
2307 |
#define __USART4_RELEASE_RESET __HAL_RCC_UART4_RELEASE_RESET
|
|
2308 |
#define __USART5_CLK_DISABLE __HAL_RCC_UART5_CLK_DISABLE
|
|
2309 |
#define __USART5_CLK_ENABLE __HAL_RCC_UART5_CLK_ENABLE
|
|
2310 |
#define __USART5_CLK_SLEEP_ENABLE __HAL_RCC_UART5_CLK_SLEEP_ENABLE
|
|
2311 |
#define __USART5_CLK_SLEEP_DISABLE __HAL_RCC_UART5_CLK_SLEEP_DISABLE
|
|
2312 |
#define __USART5_FORCE_RESET __HAL_RCC_UART5_FORCE_RESET
|
|
2313 |
#define __USART5_RELEASE_RESET __HAL_RCC_UART5_RELEASE_RESET
|
|
2314 |
#define __USART7_CLK_DISABLE __HAL_RCC_UART7_CLK_DISABLE
|
|
2315 |
#define __USART7_CLK_ENABLE __HAL_RCC_UART7_CLK_ENABLE
|
|
2316 |
#define __USART7_FORCE_RESET __HAL_RCC_UART7_FORCE_RESET
|
|
2317 |
#define __USART7_RELEASE_RESET __HAL_RCC_UART7_RELEASE_RESET
|
|
2318 |
#define __USART8_CLK_DISABLE __HAL_RCC_UART8_CLK_DISABLE
|
|
2319 |
#define __USART8_CLK_ENABLE __HAL_RCC_UART8_CLK_ENABLE
|
|
2320 |
#define __USART8_FORCE_RESET __HAL_RCC_UART8_FORCE_RESET
|
|
2321 |
#define __USART8_RELEASE_RESET __HAL_RCC_UART8_RELEASE_RESET
|
|
2322 |
#define __USB_CLK_DISABLE __HAL_RCC_USB_CLK_DISABLE
|
|
2323 |
#define __USB_CLK_ENABLE __HAL_RCC_USB_CLK_ENABLE
|
|
2324 |
#define __USB_FORCE_RESET __HAL_RCC_USB_FORCE_RESET
|
|
2325 |
#define __USB_CLK_SLEEP_ENABLE __HAL_RCC_USB_CLK_SLEEP_ENABLE
|
|
2326 |
#define __USB_CLK_SLEEP_DISABLE __HAL_RCC_USB_CLK_SLEEP_DISABLE
|
|
2327 |
#define __USB_OTG_FS_CLK_DISABLE __HAL_RCC_USB_OTG_FS_CLK_DISABLE
|
|
2328 |
#define __USB_OTG_FS_CLK_ENABLE __HAL_RCC_USB_OTG_FS_CLK_ENABLE
|
|
2329 |
#define __USB_RELEASE_RESET __HAL_RCC_USB_RELEASE_RESET
|
|
2330 |
#define __WWDG_CLK_DISABLE __HAL_RCC_WWDG_CLK_DISABLE
|
|
2331 |
#define __WWDG_CLK_ENABLE __HAL_RCC_WWDG_CLK_ENABLE
|
|
2332 |
#define __WWDG_CLK_SLEEP_DISABLE __HAL_RCC_WWDG_CLK_SLEEP_DISABLE
|
|
2333 |
#define __WWDG_CLK_SLEEP_ENABLE __HAL_RCC_WWDG_CLK_SLEEP_ENABLE
|
|
2334 |
#define __WWDG_FORCE_RESET __HAL_RCC_WWDG_FORCE_RESET
|
|
2335 |
#define __WWDG_RELEASE_RESET __HAL_RCC_WWDG_RELEASE_RESET
|
|
2336 |
#define __TIM21_CLK_ENABLE __HAL_RCC_TIM21_CLK_ENABLE
|
|
2337 |
#define __TIM21_CLK_DISABLE __HAL_RCC_TIM21_CLK_DISABLE
|
|
2338 |
#define __TIM21_FORCE_RESET __HAL_RCC_TIM21_FORCE_RESET
|
|
2339 |
#define __TIM21_RELEASE_RESET __HAL_RCC_TIM21_RELEASE_RESET
|
|
2340 |
#define __TIM21_CLK_SLEEP_ENABLE __HAL_RCC_TIM21_CLK_SLEEP_ENABLE
|
|
2341 |
#define __TIM21_CLK_SLEEP_DISABLE __HAL_RCC_TIM21_CLK_SLEEP_DISABLE
|
|
2342 |
#define __TIM22_CLK_ENABLE __HAL_RCC_TIM22_CLK_ENABLE
|
|
2343 |
#define __TIM22_CLK_DISABLE __HAL_RCC_TIM22_CLK_DISABLE
|
|
2344 |
#define __TIM22_FORCE_RESET __HAL_RCC_TIM22_FORCE_RESET
|
|
2345 |
#define __TIM22_RELEASE_RESET __HAL_RCC_TIM22_RELEASE_RESET
|
|
2346 |
#define __TIM22_CLK_SLEEP_ENABLE __HAL_RCC_TIM22_CLK_SLEEP_ENABLE
|
|
2347 |
#define __TIM22_CLK_SLEEP_DISABLE __HAL_RCC_TIM22_CLK_SLEEP_DISABLE
|
|
2348 |
#define __CRS_CLK_DISABLE __HAL_RCC_CRS_CLK_DISABLE
|
|
2349 |
#define __CRS_CLK_ENABLE __HAL_RCC_CRS_CLK_ENABLE
|
|
2350 |
#define __CRS_CLK_SLEEP_DISABLE __HAL_RCC_CRS_CLK_SLEEP_DISABLE
|
|
2351 |
#define __CRS_CLK_SLEEP_ENABLE __HAL_RCC_CRS_CLK_SLEEP_ENABLE
|
|
2352 |
#define __CRS_FORCE_RESET __HAL_RCC_CRS_FORCE_RESET
|
|
2353 |
#define __CRS_RELEASE_RESET __HAL_RCC_CRS_RELEASE_RESET
|
|
2354 |
#define __RCC_BACKUPRESET_FORCE __HAL_RCC_BACKUPRESET_FORCE
|
|
2355 |
#define __RCC_BACKUPRESET_RELEASE __HAL_RCC_BACKUPRESET_RELEASE
|
|
2356 |
|
|
2357 |
#define __USB_OTG_FS_FORCE_RESET __HAL_RCC_USB_OTG_FS_FORCE_RESET
|
|
2358 |
#define __USB_OTG_FS_RELEASE_RESET __HAL_RCC_USB_OTG_FS_RELEASE_RESET
|
|
2359 |
#define __USB_OTG_FS_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_FS_CLK_SLEEP_ENABLE
|
|
2360 |
#define __USB_OTG_FS_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_FS_CLK_SLEEP_DISABLE
|
|
2361 |
#define __USB_OTG_HS_CLK_DISABLE __HAL_RCC_USB_OTG_HS_CLK_DISABLE
|
|
2362 |
#define __USB_OTG_HS_CLK_ENABLE __HAL_RCC_USB_OTG_HS_CLK_ENABLE
|
|
2363 |
#define __USB_OTG_HS_ULPI_CLK_ENABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_ENABLE
|
|
2364 |
#define __USB_OTG_HS_ULPI_CLK_DISABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_DISABLE
|
|
2365 |
#define __TIM9_CLK_SLEEP_ENABLE __HAL_RCC_TIM9_CLK_SLEEP_ENABLE
|
|
2366 |
#define __TIM9_CLK_SLEEP_DISABLE __HAL_RCC_TIM9_CLK_SLEEP_DISABLE
|
|
2367 |
#define __TIM10_CLK_SLEEP_ENABLE __HAL_RCC_TIM10_CLK_SLEEP_ENABLE
|
|
2368 |
#define __TIM10_CLK_SLEEP_DISABLE __HAL_RCC_TIM10_CLK_SLEEP_DISABLE
|
|
2369 |
#define __TIM11_CLK_SLEEP_ENABLE __HAL_RCC_TIM11_CLK_SLEEP_ENABLE
|
|
2370 |
#define __TIM11_CLK_SLEEP_DISABLE __HAL_RCC_TIM11_CLK_SLEEP_DISABLE
|
|
2371 |
#define __ETHMACPTP_CLK_SLEEP_ENABLE __HAL_RCC_ETHMACPTP_CLK_SLEEP_ENABLE
|
|
2372 |
#define __ETHMACPTP_CLK_SLEEP_DISABLE __HAL_RCC_ETHMACPTP_CLK_SLEEP_DISABLE
|
|
2373 |
#define __ETHMACPTP_CLK_ENABLE __HAL_RCC_ETHMACPTP_CLK_ENABLE
|
|
2374 |
#define __ETHMACPTP_CLK_DISABLE __HAL_RCC_ETHMACPTP_CLK_DISABLE
|
|
2375 |
#define __HASH_CLK_ENABLE __HAL_RCC_HASH_CLK_ENABLE
|
|
2376 |
#define __HASH_FORCE_RESET __HAL_RCC_HASH_FORCE_RESET
|
|
2377 |
#define __HASH_RELEASE_RESET __HAL_RCC_HASH_RELEASE_RESET
|
|
2378 |
#define __HASH_CLK_SLEEP_ENABLE __HAL_RCC_HASH_CLK_SLEEP_ENABLE
|
|
2379 |
#define __HASH_CLK_SLEEP_DISABLE __HAL_RCC_HASH_CLK_SLEEP_DISABLE
|
|
2380 |
#define __HASH_CLK_DISABLE __HAL_RCC_HASH_CLK_DISABLE
|
|
2381 |
#define __SPI5_CLK_ENABLE __HAL_RCC_SPI5_CLK_ENABLE
|
|
2382 |
#define __SPI5_CLK_DISABLE __HAL_RCC_SPI5_CLK_DISABLE
|
|
2383 |
#define __SPI5_FORCE_RESET __HAL_RCC_SPI5_FORCE_RESET
|
|
2384 |
#define __SPI5_RELEASE_RESET __HAL_RCC_SPI5_RELEASE_RESET
|
|
2385 |
#define __SPI5_CLK_SLEEP_ENABLE __HAL_RCC_SPI5_CLK_SLEEP_ENABLE
|
|
2386 |
#define __SPI5_CLK_SLEEP_DISABLE __HAL_RCC_SPI5_CLK_SLEEP_DISABLE
|
|
2387 |
#define __SPI6_CLK_ENABLE __HAL_RCC_SPI6_CLK_ENABLE
|
|
2388 |
#define __SPI6_CLK_DISABLE __HAL_RCC_SPI6_CLK_DISABLE
|
|
2389 |
#define __SPI6_FORCE_RESET __HAL_RCC_SPI6_FORCE_RESET
|
|
2390 |
#define __SPI6_RELEASE_RESET __HAL_RCC_SPI6_RELEASE_RESET
|
|
2391 |
#define __SPI6_CLK_SLEEP_ENABLE __HAL_RCC_SPI6_CLK_SLEEP_ENABLE
|
|
2392 |
#define __SPI6_CLK_SLEEP_DISABLE __HAL_RCC_SPI6_CLK_SLEEP_DISABLE
|
|
2393 |
#define __LTDC_CLK_ENABLE __HAL_RCC_LTDC_CLK_ENABLE
|
|
2394 |
#define __LTDC_CLK_DISABLE __HAL_RCC_LTDC_CLK_DISABLE
|
|
2395 |
#define __LTDC_FORCE_RESET __HAL_RCC_LTDC_FORCE_RESET
|
|
2396 |
#define __LTDC_RELEASE_RESET __HAL_RCC_LTDC_RELEASE_RESET
|
|
2397 |
#define __LTDC_CLK_SLEEP_ENABLE __HAL_RCC_LTDC_CLK_SLEEP_ENABLE
|
|
2398 |
#define __ETHMAC_CLK_SLEEP_ENABLE __HAL_RCC_ETHMAC_CLK_SLEEP_ENABLE
|
|
2399 |
#define __ETHMAC_CLK_SLEEP_DISABLE __HAL_RCC_ETHMAC_CLK_SLEEP_DISABLE
|
|
2400 |
#define __ETHMACTX_CLK_SLEEP_ENABLE __HAL_RCC_ETHMACTX_CLK_SLEEP_ENABLE
|
|
2401 |
#define __ETHMACTX_CLK_SLEEP_DISABLE __HAL_RCC_ETHMACTX_CLK_SLEEP_DISABLE
|
|
2402 |
#define __ETHMACRX_CLK_SLEEP_ENABLE __HAL_RCC_ETHMACRX_CLK_SLEEP_ENABLE
|
|
2403 |
#define __ETHMACRX_CLK_SLEEP_DISABLE __HAL_RCC_ETHMACRX_CLK_SLEEP_DISABLE
|
|
2404 |
#define __TIM12_CLK_SLEEP_ENABLE __HAL_RCC_TIM12_CLK_SLEEP_ENABLE
|
|
2405 |
#define __TIM12_CLK_SLEEP_DISABLE __HAL_RCC_TIM12_CLK_SLEEP_DISABLE
|
|
2406 |
#define __TIM13_CLK_SLEEP_ENABLE __HAL_RCC_TIM13_CLK_SLEEP_ENABLE
|
|
2407 |
#define __TIM13_CLK_SLEEP_DISABLE __HAL_RCC_TIM13_CLK_SLEEP_DISABLE
|
|
2408 |
#define __TIM14_CLK_SLEEP_ENABLE __HAL_RCC_TIM14_CLK_SLEEP_ENABLE
|
|
2409 |
#define __TIM14_CLK_SLEEP_DISABLE __HAL_RCC_TIM14_CLK_SLEEP_DISABLE
|
|
2410 |
#define __BKPSRAM_CLK_ENABLE __HAL_RCC_BKPSRAM_CLK_ENABLE
|
|
2411 |
#define __BKPSRAM_CLK_DISABLE __HAL_RCC_BKPSRAM_CLK_DISABLE
|
|
2412 |
#define __BKPSRAM_CLK_SLEEP_ENABLE __HAL_RCC_BKPSRAM_CLK_SLEEP_ENABLE
|
|
2413 |
#define __BKPSRAM_CLK_SLEEP_DISABLE __HAL_RCC_BKPSRAM_CLK_SLEEP_DISABLE
|
|
2414 |
#define __CCMDATARAMEN_CLK_ENABLE __HAL_RCC_CCMDATARAMEN_CLK_ENABLE
|
|
2415 |
#define __CCMDATARAMEN_CLK_DISABLE __HAL_RCC_CCMDATARAMEN_CLK_DISABLE
|
|
2416 |
#define __USART6_CLK_ENABLE __HAL_RCC_USART6_CLK_ENABLE
|
|
2417 |
#define __USART6_CLK_DISABLE __HAL_RCC_USART6_CLK_DISABLE
|
|
2418 |
#define __USART6_FORCE_RESET __HAL_RCC_USART6_FORCE_RESET
|
|
2419 |
#define __USART6_RELEASE_RESET __HAL_RCC_USART6_RELEASE_RESET
|
|
2420 |
#define __USART6_CLK_SLEEP_ENABLE __HAL_RCC_USART6_CLK_SLEEP_ENABLE
|
|
2421 |
#define __USART6_CLK_SLEEP_DISABLE __HAL_RCC_USART6_CLK_SLEEP_DISABLE
|
|
2422 |
#define __SPI4_CLK_ENABLE __HAL_RCC_SPI4_CLK_ENABLE
|
|
2423 |
#define __SPI4_CLK_DISABLE __HAL_RCC_SPI4_CLK_DISABLE
|
|
2424 |
#define __SPI4_FORCE_RESET __HAL_RCC_SPI4_FORCE_RESET
|
|
2425 |
#define __SPI4_RELEASE_RESET __HAL_RCC_SPI4_RELEASE_RESET
|
|
2426 |
#define __SPI4_CLK_SLEEP_ENABLE __HAL_RCC_SPI4_CLK_SLEEP_ENABLE
|
|
2427 |
#define __SPI4_CLK_SLEEP_DISABLE __HAL_RCC_SPI4_CLK_SLEEP_DISABLE
|
|
2428 |
#define __GPIOI_CLK_ENABLE __HAL_RCC_GPIOI_CLK_ENABLE
|
|
2429 |
#define __GPIOI_CLK_DISABLE __HAL_RCC_GPIOI_CLK_DISABLE
|
|
2430 |
#define __GPIOI_FORCE_RESET __HAL_RCC_GPIOI_FORCE_RESET
|
|
2431 |
#define __GPIOI_RELEASE_RESET __HAL_RCC_GPIOI_RELEASE_RESET
|
|
2432 |
#define __GPIOI_CLK_SLEEP_ENABLE __HAL_RCC_GPIOI_CLK_SLEEP_ENABLE
|
|
2433 |
#define __GPIOI_CLK_SLEEP_DISABLE __HAL_RCC_GPIOI_CLK_SLEEP_DISABLE
|
|
2434 |
#define __GPIOJ_CLK_ENABLE __HAL_RCC_GPIOJ_CLK_ENABLE
|
|
2435 |
#define __GPIOJ_CLK_DISABLE __HAL_RCC_GPIOJ_CLK_DISABLE
|
|
2436 |
#define __GPIOJ_FORCE_RESET __HAL_RCC_GPIOJ_FORCE_RESET
|
|
2437 |
#define __GPIOJ_RELEASE_RESET __HAL_RCC_GPIOJ_RELEASE_RESET
|
|
2438 |
#define __GPIOJ_CLK_SLEEP_ENABLE __HAL_RCC_GPIOJ_CLK_SLEEP_ENABLE
|
|
2439 |
#define __GPIOJ_CLK_SLEEP_DISABLE __HAL_RCC_GPIOJ_CLK_SLEEP_DISABLE
|
|
2440 |
#define __GPIOK_CLK_ENABLE __HAL_RCC_GPIOK_CLK_ENABLE
|
|
2441 |
#define __GPIOK_CLK_DISABLE __HAL_RCC_GPIOK_CLK_DISABLE
|
|
2442 |
#define __GPIOK_RELEASE_RESET __HAL_RCC_GPIOK_RELEASE_RESET
|
|
2443 |
#define __GPIOK_CLK_SLEEP_ENABLE __HAL_RCC_GPIOK_CLK_SLEEP_ENABLE
|
|
2444 |
#define __GPIOK_CLK_SLEEP_DISABLE __HAL_RCC_GPIOK_CLK_SLEEP_DISABLE
|
|
2445 |
#define __ETH_CLK_ENABLE __HAL_RCC_ETH_CLK_ENABLE
|
|
2446 |
#define __ETH_CLK_DISABLE __HAL_RCC_ETH_CLK_DISABLE
|
|
2447 |
#define __DCMI_CLK_ENABLE __HAL_RCC_DCMI_CLK_ENABLE
|
|
2448 |
#define __DCMI_CLK_DISABLE __HAL_RCC_DCMI_CLK_DISABLE
|
|
2449 |
#define __DCMI_FORCE_RESET __HAL_RCC_DCMI_FORCE_RESET
|
|
2450 |
#define __DCMI_RELEASE_RESET __HAL_RCC_DCMI_RELEASE_RESET
|
|
2451 |
#define __DCMI_CLK_SLEEP_ENABLE __HAL_RCC_DCMI_CLK_SLEEP_ENABLE
|
|
2452 |
#define __DCMI_CLK_SLEEP_DISABLE __HAL_RCC_DCMI_CLK_SLEEP_DISABLE
|
|
2453 |
#define __UART7_CLK_ENABLE __HAL_RCC_UART7_CLK_ENABLE
|
|
2454 |
#define __UART7_CLK_DISABLE __HAL_RCC_UART7_CLK_DISABLE
|
|
2455 |
#define __UART7_RELEASE_RESET __HAL_RCC_UART7_RELEASE_RESET
|
|
2456 |
#define __UART7_FORCE_RESET __HAL_RCC_UART7_FORCE_RESET
|
|
2457 |
#define __UART7_CLK_SLEEP_ENABLE __HAL_RCC_UART7_CLK_SLEEP_ENABLE
|
|
2458 |
#define __UART7_CLK_SLEEP_DISABLE __HAL_RCC_UART7_CLK_SLEEP_DISABLE
|
|
2459 |
#define __UART8_CLK_ENABLE __HAL_RCC_UART8_CLK_ENABLE
|
|
2460 |
#define __UART8_CLK_DISABLE __HAL_RCC_UART8_CLK_DISABLE
|
|
2461 |
#define __UART8_FORCE_RESET __HAL_RCC_UART8_FORCE_RESET
|
|
2462 |
#define __UART8_RELEASE_RESET __HAL_RCC_UART8_RELEASE_RESET
|
|
2463 |
#define __UART8_CLK_SLEEP_ENABLE __HAL_RCC_UART8_CLK_SLEEP_ENABLE
|
|
2464 |
#define __UART8_CLK_SLEEP_DISABLE __HAL_RCC_UART8_CLK_SLEEP_DISABLE
|
|
2465 |
#define __OTGHS_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE
|
|
2466 |
#define __OTGHS_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE
|
|
2467 |
#define __OTGHS_FORCE_RESET __HAL_RCC_USB_OTG_HS_FORCE_RESET
|
|
2468 |
#define __OTGHS_RELEASE_RESET __HAL_RCC_USB_OTG_HS_RELEASE_RESET
|
|
2469 |
#define __OTGHSULPI_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE
|
|
2470 |
#define __OTGHSULPI_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE
|
|
2471 |
#define __HAL_RCC_OTGHS_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_ENABLE
|
|
2472 |
#define __HAL_RCC_OTGHS_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_CLK_SLEEP_DISABLE
|
|
2473 |
#define __HAL_RCC_OTGHS_IS_CLK_SLEEP_ENABLED __HAL_RCC_USB_OTG_HS_IS_CLK_SLEEP_ENABLED
|
|
2474 |
#define __HAL_RCC_OTGHS_IS_CLK_SLEEP_DISABLED __HAL_RCC_USB_OTG_HS_IS_CLK_SLEEP_DISABLED
|
|
2475 |
#define __HAL_RCC_OTGHS_FORCE_RESET __HAL_RCC_USB_OTG_HS_FORCE_RESET
|
|
2476 |
#define __HAL_RCC_OTGHS_RELEASE_RESET __HAL_RCC_USB_OTG_HS_RELEASE_RESET
|
|
2477 |
#define __HAL_RCC_OTGHSULPI_CLK_SLEEP_ENABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_ENABLE
|
|
2478 |
#define __HAL_RCC_OTGHSULPI_CLK_SLEEP_DISABLE __HAL_RCC_USB_OTG_HS_ULPI_CLK_SLEEP_DISABLE
|
|
2479 |
#define __HAL_RCC_OTGHSULPI_IS_CLK_SLEEP_ENABLED __HAL_RCC_USB_OTG_HS_ULPI_IS_CLK_SLEEP_ENABLED
|
|
2480 |
#define __HAL_RCC_OTGHSULPI_IS_CLK_SLEEP_DISABLED __HAL_RCC_USB_OTG_HS_ULPI_IS_CLK_SLEEP_DISABLED
|
|
2481 |
#define __SRAM3_CLK_SLEEP_ENABLE __HAL_RCC_SRAM3_CLK_SLEEP_ENABLE
|
|
2482 |
#define __CAN2_CLK_SLEEP_ENABLE __HAL_RCC_CAN2_CLK_SLEEP_ENABLE
|
|
2483 |
#define __CAN2_CLK_SLEEP_DISABLE __HAL_RCC_CAN2_CLK_SLEEP_DISABLE
|
|
2484 |
#define __DAC_CLK_SLEEP_ENABLE __HAL_RCC_DAC_CLK_SLEEP_ENABLE
|
|
2485 |
#define __DAC_CLK_SLEEP_DISABLE __HAL_RCC_DAC_CLK_SLEEP_DISABLE
|
|
2486 |
#define __ADC2_CLK_SLEEP_ENABLE __HAL_RCC_ADC2_CLK_SLEEP_ENABLE
|
|
2487 |
#define __ADC2_CLK_SLEEP_DISABLE __HAL_RCC_ADC2_CLK_SLEEP_DISABLE
|
|
2488 |
#define __ADC3_CLK_SLEEP_ENABLE __HAL_RCC_ADC3_CLK_SLEEP_ENABLE
|
|
2489 |
#define __ADC3_CLK_SLEEP_DISABLE __HAL_RCC_ADC3_CLK_SLEEP_DISABLE
|
|
2490 |
#define __FSMC_FORCE_RESET __HAL_RCC_FSMC_FORCE_RESET
|
|
2491 |
#define __FSMC_RELEASE_RESET __HAL_RCC_FSMC_RELEASE_RESET
|
|
2492 |
#define __FSMC_CLK_SLEEP_ENABLE __HAL_RCC_FSMC_CLK_SLEEP_ENABLE
|
|
2493 |
#define __FSMC_CLK_SLEEP_DISABLE __HAL_RCC_FSMC_CLK_SLEEP_DISABLE
|
|
2494 |
#define __SDIO_FORCE_RESET __HAL_RCC_SDIO_FORCE_RESET
|
|
2495 |
#define __SDIO_RELEASE_RESET __HAL_RCC_SDIO_RELEASE_RESET
|
|
2496 |
#define __SDIO_CLK_SLEEP_DISABLE __HAL_RCC_SDIO_CLK_SLEEP_DISABLE
|
|
2497 |
#define __SDIO_CLK_SLEEP_ENABLE __HAL_RCC_SDIO_CLK_SLEEP_ENABLE
|
|
2498 |
#define __DMA2D_CLK_ENABLE __HAL_RCC_DMA2D_CLK_ENABLE
|
|
2499 |
#define __DMA2D_CLK_DISABLE __HAL_RCC_DMA2D_CLK_DISABLE
|
|
2500 |
#define __DMA2D_FORCE_RESET __HAL_RCC_DMA2D_FORCE_RESET
|
|
2501 |
#define __DMA2D_RELEASE_RESET __HAL_RCC_DMA2D_RELEASE_RESET
|
|
2502 |
#define __DMA2D_CLK_SLEEP_ENABLE __HAL_RCC_DMA2D_CLK_SLEEP_ENABLE
|
|
2503 |
#define __DMA2D_CLK_SLEEP_DISABLE __HAL_RCC_DMA2D_CLK_SLEEP_DISABLE
|
|
2504 |
|
|
2505 |
/* alias define maintained for legacy */
|
|
2506 |
#define __HAL_RCC_OTGFS_FORCE_RESET __HAL_RCC_USB_OTG_FS_FORCE_RESET
|
|
2507 |
#define __HAL_RCC_OTGFS_RELEASE_RESET __HAL_RCC_USB_OTG_FS_RELEASE_RESET
|
|
2508 |
|
|
2509 |
#define __ADC12_CLK_ENABLE __HAL_RCC_ADC12_CLK_ENABLE
|
|
2510 |
#define __ADC12_CLK_DISABLE __HAL_RCC_ADC12_CLK_DISABLE
|
|
2511 |
#define __ADC34_CLK_ENABLE __HAL_RCC_ADC34_CLK_ENABLE
|
|
2512 |
#define __ADC34_CLK_DISABLE __HAL_RCC_ADC34_CLK_DISABLE
|
|
2513 |
#define __DAC2_CLK_ENABLE __HAL_RCC_DAC2_CLK_ENABLE
|
|
2514 |
#define __DAC2_CLK_DISABLE __HAL_RCC_DAC2_CLK_DISABLE
|
|
2515 |
#define __TIM18_CLK_ENABLE __HAL_RCC_TIM18_CLK_ENABLE
|
|
2516 |
#define __TIM18_CLK_DISABLE __HAL_RCC_TIM18_CLK_DISABLE
|
|
2517 |
#define __TIM19_CLK_ENABLE __HAL_RCC_TIM19_CLK_ENABLE
|
|
2518 |
#define __TIM19_CLK_DISABLE __HAL_RCC_TIM19_CLK_DISABLE
|
|
2519 |
#define __TIM20_CLK_ENABLE __HAL_RCC_TIM20_CLK_ENABLE
|
|
2520 |
#define __TIM20_CLK_DISABLE __HAL_RCC_TIM20_CLK_DISABLE
|
|
2521 |
#define __HRTIM1_CLK_ENABLE __HAL_RCC_HRTIM1_CLK_ENABLE
|
|
2522 |
#define __HRTIM1_CLK_DISABLE __HAL_RCC_HRTIM1_CLK_DISABLE
|
|
2523 |
#define __SDADC1_CLK_ENABLE __HAL_RCC_SDADC1_CLK_ENABLE
|
|
2524 |
#define __SDADC2_CLK_ENABLE __HAL_RCC_SDADC2_CLK_ENABLE
|
|
2525 |
#define __SDADC3_CLK_ENABLE __HAL_RCC_SDADC3_CLK_ENABLE
|
|
2526 |
#define __SDADC1_CLK_DISABLE __HAL_RCC_SDADC1_CLK_DISABLE
|
|
2527 |
#define __SDADC2_CLK_DISABLE __HAL_RCC_SDADC2_CLK_DISABLE
|
|
2528 |
#define __SDADC3_CLK_DISABLE __HAL_RCC_SDADC3_CLK_DISABLE
|
|
2529 |
|
|
2530 |
#define __ADC12_FORCE_RESET __HAL_RCC_ADC12_FORCE_RESET
|
|
2531 |
#define __ADC12_RELEASE_RESET __HAL_RCC_ADC12_RELEASE_RESET
|
|
2532 |
#define __ADC34_FORCE_RESET __HAL_RCC_ADC34_FORCE_RESET
|
|
2533 |
#define __ADC34_RELEASE_RESET __HAL_RCC_ADC34_RELEASE_RESET
|
|
2534 |
#define __DAC2_FORCE_RESET __HAL_RCC_DAC2_FORCE_RESET
|
|
2535 |
#define __DAC2_RELEASE_RESET __HAL_RCC_DAC2_RELEASE_RESET
|
|
2536 |
#define __TIM18_FORCE_RESET __HAL_RCC_TIM18_FORCE_RESET
|
|
2537 |
#define __TIM18_RELEASE_RESET __HAL_RCC_TIM18_RELEASE_RESET
|
|
2538 |
#define __TIM19_FORCE_RESET __HAL_RCC_TIM19_FORCE_RESET
|
|
2539 |
#define __TIM19_RELEASE_RESET __HAL_RCC_TIM19_RELEASE_RESET
|
|
2540 |
#define __TIM20_FORCE_RESET __HAL_RCC_TIM20_FORCE_RESET
|
|
2541 |
#define __TIM20_RELEASE_RESET __HAL_RCC_TIM20_RELEASE_RESET
|
|
2542 |
#define __HRTIM1_FORCE_RESET __HAL_RCC_HRTIM1_FORCE_RESET
|
|
2543 |
#define __HRTIM1_RELEASE_RESET __HAL_RCC_HRTIM1_RELEASE_RESET
|
|
2544 |
#define __SDADC1_FORCE_RESET __HAL_RCC_SDADC1_FORCE_RESET
|
|
2545 |
#define __SDADC2_FORCE_RESET __HAL_RCC_SDADC2_FORCE_RESET
|
|
2546 |
#define __SDADC3_FORCE_RESET __HAL_RCC_SDADC3_FORCE_RESET
|
|
2547 |
#define __SDADC1_RELEASE_RESET __HAL_RCC_SDADC1_RELEASE_RESET
|
|
2548 |
#define __SDADC2_RELEASE_RESET __HAL_RCC_SDADC2_RELEASE_RESET
|
|
2549 |
#define __SDADC3_RELEASE_RESET __HAL_RCC_SDADC3_RELEASE_RESET
|
|
2550 |
|
|
2551 |
#define __ADC1_IS_CLK_ENABLED __HAL_RCC_ADC1_IS_CLK_ENABLED
|
|
2552 |
#define __ADC1_IS_CLK_DISABLED __HAL_RCC_ADC1_IS_CLK_DISABLED
|
|
2553 |
#define __ADC12_IS_CLK_ENABLED __HAL_RCC_ADC12_IS_CLK_ENABLED
|
|
2554 |
#define __ADC12_IS_CLK_DISABLED __HAL_RCC_ADC12_IS_CLK_DISABLED
|
|
2555 |
#define __ADC34_IS_CLK_ENABLED __HAL_RCC_ADC34_IS_CLK_ENABLED
|
|
2556 |
#define __ADC34_IS_CLK_DISABLED __HAL_RCC_ADC34_IS_CLK_DISABLED
|
|
2557 |
#define __CEC_IS_CLK_ENABLED __HAL_RCC_CEC_IS_CLK_ENABLED
|
|
2558 |
#define __CEC_IS_CLK_DISABLED __HAL_RCC_CEC_IS_CLK_DISABLED
|
|
2559 |
#define __CRC_IS_CLK_ENABLED __HAL_RCC_CRC_IS_CLK_ENABLED
|
|
2560 |
#define __CRC_IS_CLK_DISABLED __HAL_RCC_CRC_IS_CLK_DISABLED
|
|
2561 |
#define __DAC1_IS_CLK_ENABLED __HAL_RCC_DAC1_IS_CLK_ENABLED
|
|
2562 |
#define __DAC1_IS_CLK_DISABLED __HAL_RCC_DAC1_IS_CLK_DISABLED
|
|
2563 |
#define __DAC2_IS_CLK_ENABLED __HAL_RCC_DAC2_IS_CLK_ENABLED
|
|
2564 |
#define __DAC2_IS_CLK_DISABLED __HAL_RCC_DAC2_IS_CLK_DISABLED
|
|
2565 |
#define __DMA1_IS_CLK_ENABLED __HAL_RCC_DMA1_IS_CLK_ENABLED
|
|
2566 |
#define __DMA1_IS_CLK_DISABLED __HAL_RCC_DMA1_IS_CLK_DISABLED
|
|
2567 |
#define __DMA2_IS_CLK_ENABLED __HAL_RCC_DMA2_IS_CLK_ENABLED
|
|
2568 |
#define __DMA2_IS_CLK_DISABLED __HAL_RCC_DMA2_IS_CLK_DISABLED
|
|
2569 |
#define __FLITF_IS_CLK_ENABLED __HAL_RCC_FLITF_IS_CLK_ENABLED
|
|
2570 |
#define __FLITF_IS_CLK_DISABLED __HAL_RCC_FLITF_IS_CLK_DISABLED
|
|
2571 |
#define __FMC_IS_CLK_ENABLED __HAL_RCC_FMC_IS_CLK_ENABLED
|
|
2572 |
#define __FMC_IS_CLK_DISABLED __HAL_RCC_FMC_IS_CLK_DISABLED
|
|
2573 |
#define __GPIOA_IS_CLK_ENABLED __HAL_RCC_GPIOA_IS_CLK_ENABLED
|
|
2574 |
#define __GPIOA_IS_CLK_DISABLED __HAL_RCC_GPIOA_IS_CLK_DISABLED
|
|
2575 |
#define __GPIOB_IS_CLK_ENABLED __HAL_RCC_GPIOB_IS_CLK_ENABLED
|
|
2576 |
#define __GPIOB_IS_CLK_DISABLED __HAL_RCC_GPIOB_IS_CLK_DISABLED
|
|
2577 |
#define __GPIOC_IS_CLK_ENABLED __HAL_RCC_GPIOC_IS_CLK_ENABLED
|
|
2578 |
#define __GPIOC_IS_CLK_DISABLED __HAL_RCC_GPIOC_IS_CLK_DISABLED
|
|
2579 |
#define __GPIOD_IS_CLK_ENABLED __HAL_RCC_GPIOD_IS_CLK_ENABLED
|
|
2580 |
#define __GPIOD_IS_CLK_DISABLED __HAL_RCC_GPIOD_IS_CLK_DISABLED
|
|
2581 |
#define __GPIOE_IS_CLK_ENABLED __HAL_RCC_GPIOE_IS_CLK_ENABLED
|
|
2582 |
#define __GPIOE_IS_CLK_DISABLED __HAL_RCC_GPIOE_IS_CLK_DISABLED
|
|
2583 |
#define __GPIOF_IS_CLK_ENABLED __HAL_RCC_GPIOF_IS_CLK_ENABLED
|
|
2584 |
#define __GPIOF_IS_CLK_DISABLED __HAL_RCC_GPIOF_IS_CLK_DISABLED
|
|
2585 |
#define __GPIOG_IS_CLK_ENABLED __HAL_RCC_GPIOG_IS_CLK_ENABLED
|
|
2586 |
#define __GPIOG_IS_CLK_DISABLED __HAL_RCC_GPIOG_IS_CLK_DISABLED
|
|
2587 |
#define __GPIOH_IS_CLK_ENABLED __HAL_RCC_GPIOH_IS_CLK_ENABLED
|
|
2588 |
#define __GPIOH_IS_CLK_DISABLED __HAL_RCC_GPIOH_IS_CLK_DISABLED
|
|
2589 |
#define __HRTIM1_IS_CLK_ENABLED __HAL_RCC_HRTIM1_IS_CLK_ENABLED
|
|
2590 |
#define __HRTIM1_IS_CLK_DISABLED __HAL_RCC_HRTIM1_IS_CLK_DISABLED
|
|
2591 |
#define __I2C1_IS_CLK_ENABLED __HAL_RCC_I2C1_IS_CLK_ENABLED
|
|
2592 |
#define __I2C1_IS_CLK_DISABLED __HAL_RCC_I2C1_IS_CLK_DISABLED
|
|
2593 |
#define __I2C2_IS_CLK_ENABLED __HAL_RCC_I2C2_IS_CLK_ENABLED
|
|
2594 |
#define __I2C2_IS_CLK_DISABLED __HAL_RCC_I2C2_IS_CLK_DISABLED
|
|
2595 |
#define __I2C3_IS_CLK_ENABLED __HAL_RCC_I2C3_IS_CLK_ENABLED
|
|
2596 |
#define __I2C3_IS_CLK_DISABLED __HAL_RCC_I2C3_IS_CLK_DISABLED
|
|
2597 |
#define __PWR_IS_CLK_ENABLED __HAL_RCC_PWR_IS_CLK_ENABLED
|
|
2598 |
#define __PWR_IS_CLK_DISABLED __HAL_RCC_PWR_IS_CLK_DISABLED
|
|
2599 |
#define __SYSCFG_IS_CLK_ENABLED __HAL_RCC_SYSCFG_IS_CLK_ENABLED
|
|
2600 |
#define __SYSCFG_IS_CLK_DISABLED __HAL_RCC_SYSCFG_IS_CLK_DISABLED
|
|
2601 |
#define __SPI1_IS_CLK_ENABLED __HAL_RCC_SPI1_IS_CLK_ENABLED
|
|
2602 |
#define __SPI1_IS_CLK_DISABLED __HAL_RCC_SPI1_IS_CLK_DISABLED
|
|
2603 |
#define __SPI2_IS_CLK_ENABLED __HAL_RCC_SPI2_IS_CLK_ENABLED
|
|
2604 |
#define __SPI2_IS_CLK_DISABLED __HAL_RCC_SPI2_IS_CLK_DISABLED
|
|
2605 |
#define __SPI3_IS_CLK_ENABLED __HAL_RCC_SPI3_IS_CLK_ENABLED
|
|
2606 |
#define __SPI3_IS_CLK_DISABLED __HAL_RCC_SPI3_IS_CLK_DISABLED
|
|
2607 |
#define __SPI4_IS_CLK_ENABLED __HAL_RCC_SPI4_IS_CLK_ENABLED
|
|
2608 |
#define __SPI4_IS_CLK_DISABLED __HAL_RCC_SPI4_IS_CLK_DISABLED
|
|
2609 |
#define __SDADC1_IS_CLK_ENABLED __HAL_RCC_SDADC1_IS_CLK_ENABLED
|
|
2610 |
#define __SDADC1_IS_CLK_DISABLED __HAL_RCC_SDADC1_IS_CLK_DISABLED
|
|
2611 |
#define __SDADC2_IS_CLK_ENABLED __HAL_RCC_SDADC2_IS_CLK_ENABLED
|
|
2612 |
#define __SDADC2_IS_CLK_DISABLED __HAL_RCC_SDADC2_IS_CLK_DISABLED
|
|
2613 |
#define __SDADC3_IS_CLK_ENABLED __HAL_RCC_SDADC3_IS_CLK_ENABLED
|
|
2614 |
#define __SDADC3_IS_CLK_DISABLED __HAL_RCC_SDADC3_IS_CLK_DISABLED
|
|
2615 |
#define __SRAM_IS_CLK_ENABLED __HAL_RCC_SRAM_IS_CLK_ENABLED
|
|
2616 |
#define __SRAM_IS_CLK_DISABLED __HAL_RCC_SRAM_IS_CLK_DISABLED
|
|
2617 |
#define __TIM1_IS_CLK_ENABLED __HAL_RCC_TIM1_IS_CLK_ENABLED
|
|
2618 |
#define __TIM1_IS_CLK_DISABLED __HAL_RCC_TIM1_IS_CLK_DISABLED
|
|
2619 |
#define __TIM2_IS_CLK_ENABLED __HAL_RCC_TIM2_IS_CLK_ENABLED
|
|
2620 |
#define __TIM2_IS_CLK_DISABLED __HAL_RCC_TIM2_IS_CLK_DISABLED
|
|
2621 |
#define __TIM3_IS_CLK_ENABLED __HAL_RCC_TIM3_IS_CLK_ENABLED
|
|
2622 |
#define __TIM3_IS_CLK_DISABLED __HAL_RCC_TIM3_IS_CLK_DISABLED
|
|
2623 |
#define __TIM4_IS_CLK_ENABLED __HAL_RCC_TIM4_IS_CLK_ENABLED
|
|
2624 |
#define __TIM4_IS_CLK_DISABLED __HAL_RCC_TIM4_IS_CLK_DISABLED
|
|
2625 |
#define __TIM5_IS_CLK_ENABLED __HAL_RCC_TIM5_IS_CLK_ENABLED
|
|
2626 |
#define __TIM5_IS_CLK_DISABLED __HAL_RCC_TIM5_IS_CLK_DISABLED
|
|
2627 |
#define __TIM6_IS_CLK_ENABLED __HAL_RCC_TIM6_IS_CLK_ENABLED
|
|
2628 |
#define __TIM6_IS_CLK_DISABLED __HAL_RCC_TIM6_IS_CLK_DISABLED
|
|
2629 |
#define __TIM7_IS_CLK_ENABLED __HAL_RCC_TIM7_IS_CLK_ENABLED
|
|
2630 |
#define __TIM7_IS_CLK_DISABLED __HAL_RCC_TIM7_IS_CLK_DISABLED
|
|
2631 |
#define __TIM8_IS_CLK_ENABLED __HAL_RCC_TIM8_IS_CLK_ENABLED
|
|
2632 |
#define __TIM8_IS_CLK_DISABLED __HAL_RCC_TIM8_IS_CLK_DISABLED
|
|
2633 |
#define __TIM12_IS_CLK_ENABLED __HAL_RCC_TIM12_IS_CLK_ENABLED
|
|
2634 |
#define __TIM12_IS_CLK_DISABLED __HAL_RCC_TIM12_IS_CLK_DISABLED
|
|
2635 |
#define __TIM13_IS_CLK_ENABLED __HAL_RCC_TIM13_IS_CLK_ENABLED
|
|
2636 |
#define __TIM13_IS_CLK_DISABLED __HAL_RCC_TIM13_IS_CLK_DISABLED
|
|
2637 |
#define __TIM14_IS_CLK_ENABLED __HAL_RCC_TIM14_IS_CLK_ENABLED
|
|
2638 |
#define __TIM14_IS_CLK_DISABLED __HAL_RCC_TIM14_IS_CLK_DISABLED
|
|
2639 |
#define __TIM15_IS_CLK_ENABLED __HAL_RCC_TIM15_IS_CLK_ENABLED
|
|
2640 |
#define __TIM15_IS_CLK_DISABLED __HAL_RCC_TIM15_IS_CLK_DISABLED
|
|
2641 |
#define __TIM16_IS_CLK_ENABLED __HAL_RCC_TIM16_IS_CLK_ENABLED
|
|
2642 |
#define __TIM16_IS_CLK_DISABLED __HAL_RCC_TIM16_IS_CLK_DISABLED
|
|
2643 |
#define __TIM17_IS_CLK_ENABLED __HAL_RCC_TIM17_IS_CLK_ENABLED
|
|
2644 |
#define __TIM17_IS_CLK_DISABLED __HAL_RCC_TIM17_IS_CLK_DISABLED
|
|
2645 |
#define __TIM18_IS_CLK_ENABLED __HAL_RCC_TIM18_IS_CLK_ENABLED
|
|
2646 |
#define __TIM18_IS_CLK_DISABLED __HAL_RCC_TIM18_IS_CLK_DISABLED
|
|
2647 |
#define __TIM19_IS_CLK_ENABLED __HAL_RCC_TIM19_IS_CLK_ENABLED
|
|
2648 |
#define __TIM19_IS_CLK_DISABLED __HAL_RCC_TIM19_IS_CLK_DISABLED
|
|
2649 |
#define __TIM20_IS_CLK_ENABLED __HAL_RCC_TIM20_IS_CLK_ENABLED
|
|
2650 |
#define __TIM20_IS_CLK_DISABLED __HAL_RCC_TIM20_IS_CLK_DISABLED
|
|
2651 |
#define __TSC_IS_CLK_ENABLED __HAL_RCC_TSC_IS_CLK_ENABLED
|
|
2652 |
#define __TSC_IS_CLK_DISABLED __HAL_RCC_TSC_IS_CLK_DISABLED
|
|
2653 |
#define __UART4_IS_CLK_ENABLED __HAL_RCC_UART4_IS_CLK_ENABLED
|
|
2654 |
#define __UART4_IS_CLK_DISABLED __HAL_RCC_UART4_IS_CLK_DISABLED
|
|
2655 |
#define __UART5_IS_CLK_ENABLED __HAL_RCC_UART5_IS_CLK_ENABLED
|
|
2656 |
#define __UART5_IS_CLK_DISABLED __HAL_RCC_UART5_IS_CLK_DISABLED
|
|
2657 |
#define __USART1_IS_CLK_ENABLED __HAL_RCC_USART1_IS_CLK_ENABLED
|
|
2658 |
#define __USART1_IS_CLK_DISABLED __HAL_RCC_USART1_IS_CLK_DISABLED
|
|
2659 |
#define __USART2_IS_CLK_ENABLED __HAL_RCC_USART2_IS_CLK_ENABLED
|
|
2660 |
#define __USART2_IS_CLK_DISABLED __HAL_RCC_USART2_IS_CLK_DISABLED
|
|
2661 |
#define __USART3_IS_CLK_ENABLED __HAL_RCC_USART3_IS_CLK_ENABLED
|
|
2662 |
#define __USART3_IS_CLK_DISABLED __HAL_RCC_USART3_IS_CLK_DISABLED
|
|
2663 |
#define __USB_IS_CLK_ENABLED __HAL_RCC_USB_IS_CLK_ENABLED
|
|
2664 |
#define __USB_IS_CLK_DISABLED __HAL_RCC_USB_IS_CLK_DISABLED
|
|
2665 |
#define __WWDG_IS_CLK_ENABLED __HAL_RCC_WWDG_IS_CLK_ENABLED
|
|
2666 |
#define __WWDG_IS_CLK_DISABLED __HAL_RCC_WWDG_IS_CLK_DISABLED
|
|
2667 |
|
|
2668 |
#if defined(STM32F4)
|
|
2669 |
#define __HAL_RCC_SDMMC1_FORCE_RESET __HAL_RCC_SDIO_FORCE_RESET
|
|
2670 |
#define __HAL_RCC_SDMMC1_RELEASE_RESET __HAL_RCC_SDIO_RELEASE_RESET
|
|
2671 |
#define __HAL_RCC_SDMMC1_CLK_SLEEP_ENABLE __HAL_RCC_SDIO_CLK_SLEEP_ENABLE
|
|
2672 |
#define __HAL_RCC_SDMMC1_CLK_SLEEP_DISABLE __HAL_RCC_SDIO_CLK_SLEEP_DISABLE
|
|
2673 |
#define __HAL_RCC_SDMMC1_CLK_ENABLE __HAL_RCC_SDIO_CLK_ENABLE
|
|
2674 |
#define __HAL_RCC_SDMMC1_CLK_DISABLE __HAL_RCC_SDIO_CLK_DISABLE
|
|
2675 |
#define __HAL_RCC_SDMMC1_IS_CLK_ENABLED __HAL_RCC_SDIO_IS_CLK_ENABLED
|
|
2676 |
#define __HAL_RCC_SDMMC1_IS_CLK_DISABLED __HAL_RCC_SDIO_IS_CLK_DISABLED
|
|
2677 |
#define Sdmmc1ClockSelection SdioClockSelection
|
|
2678 |
#define RCC_PERIPHCLK_SDMMC1 RCC_PERIPHCLK_SDIO
|
|
2679 |
#define RCC_SDMMC1CLKSOURCE_CLK48 RCC_SDIOCLKSOURCE_CK48
|
|
2680 |
#define RCC_SDMMC1CLKSOURCE_SYSCLK RCC_SDIOCLKSOURCE_SYSCLK
|
|
2681 |
#define __HAL_RCC_SDMMC1_CONFIG __HAL_RCC_SDIO_CONFIG
|
|
2682 |
#define __HAL_RCC_GET_SDMMC1_SOURCE __HAL_RCC_GET_SDIO_SOURCE
|
|
2683 |
#endif
|
|
2684 |
|
|
2685 |
#if defined(STM32F7) || defined(STM32L4)
|
|
2686 |
#define __HAL_RCC_SDIO_FORCE_RESET __HAL_RCC_SDMMC1_FORCE_RESET
|
|
2687 |
#define __HAL_RCC_SDIO_RELEASE_RESET __HAL_RCC_SDMMC1_RELEASE_RESET
|
|
2688 |
#define __HAL_RCC_SDIO_CLK_SLEEP_ENABLE __HAL_RCC_SDMMC1_CLK_SLEEP_ENABLE
|
|
2689 |
#define __HAL_RCC_SDIO_CLK_SLEEP_DISABLE __HAL_RCC_SDMMC1_CLK_SLEEP_DISABLE
|
|
2690 |
#define __HAL_RCC_SDIO_CLK_ENABLE __HAL_RCC_SDMMC1_CLK_ENABLE
|
|
2691 |
#define __HAL_RCC_SDIO_CLK_DISABLE __HAL_RCC_SDMMC1_CLK_DISABLE
|
|
2692 |
#define __HAL_RCC_SDIO_IS_CLK_ENABLED __HAL_RCC_SDMMC1_IS_CLK_ENABLED
|
|
2693 |
#define __HAL_RCC_SDIO_IS_CLK_DISABLED __HAL_RCC_SDMMC1_IS_CLK_DISABLED
|
|
2694 |
#define SdioClockSelection Sdmmc1ClockSelection
|
|
2695 |
#define RCC_PERIPHCLK_SDIO RCC_PERIPHCLK_SDMMC1
|
|
2696 |
#define __HAL_RCC_SDIO_CONFIG __HAL_RCC_SDMMC1_CONFIG
|
|
2697 |
#define __HAL_RCC_GET_SDIO_SOURCE __HAL_RCC_GET_SDMMC1_SOURCE
|
|
2698 |
#endif
|
|
2699 |
|
|
2700 |
#if defined(STM32F7)
|
|
2701 |
#define RCC_SDIOCLKSOURCE_CLK48 RCC_SDMMC1CLKSOURCE_CLK48
|
|
2702 |
#define RCC_SDIOCLKSOURCE_SYSCLK RCC_SDMMC1CLKSOURCE_SYSCLK
|
|
2703 |
#endif
|
|
2704 |
|
|
2705 |
#define __HAL_RCC_I2SCLK __HAL_RCC_I2S_CONFIG
|
|
2706 |
#define __HAL_RCC_I2SCLK_CONFIG __HAL_RCC_I2S_CONFIG
|
|
2707 |
|
|
2708 |
#define __RCC_PLLSRC RCC_GET_PLL_OSCSOURCE
|
|
2709 |
|
|
2710 |
#define IS_RCC_MSIRANGE IS_RCC_MSI_CLOCK_RANGE
|
|
2711 |
#define IS_RCC_RTCCLK_SOURCE IS_RCC_RTCCLKSOURCE
|
|
2712 |
#define IS_RCC_SYSCLK_DIV IS_RCC_HCLK
|
|
2713 |
#define IS_RCC_HCLK_DIV IS_RCC_PCLK
|
|
2714 |
#define IS_RCC_PERIPHCLK IS_RCC_PERIPHCLOCK
|
|
2715 |
|
|
2716 |
#define RCC_IT_HSI14 RCC_IT_HSI14RDY
|
|
2717 |
|
|
2718 |
#define RCC_IT_CSSLSE RCC_IT_LSECSS
|
|
2719 |
#define RCC_IT_CSSHSE RCC_IT_CSS
|
|
2720 |
|
|
2721 |
#define RCC_PLLMUL_3 RCC_PLL_MUL3
|
|
2722 |
#define RCC_PLLMUL_4 RCC_PLL_MUL4
|
|
2723 |
#define RCC_PLLMUL_6 RCC_PLL_MUL6
|
|
2724 |
#define RCC_PLLMUL_8 RCC_PLL_MUL8
|
|
2725 |
#define RCC_PLLMUL_12 RCC_PLL_MUL12
|
|
2726 |
#define RCC_PLLMUL_16 RCC_PLL_MUL16
|
|
2727 |
#define RCC_PLLMUL_24 RCC_PLL_MUL24
|
|
2728 |
#define RCC_PLLMUL_32 RCC_PLL_MUL32
|
|
2729 |
#define RCC_PLLMUL_48 RCC_PLL_MUL48
|
|
2730 |
|
|
2731 |
#define RCC_PLLDIV_2 RCC_PLL_DIV2
|
|
2732 |
#define RCC_PLLDIV_3 RCC_PLL_DIV3
|
|
2733 |
#define RCC_PLLDIV_4 RCC_PLL_DIV4
|
|
2734 |
|
|
2735 |
#define IS_RCC_MCOSOURCE IS_RCC_MCO1SOURCE
|
|
2736 |
#define __HAL_RCC_MCO_CONFIG __HAL_RCC_MCO1_CONFIG
|
|
2737 |
#define RCC_MCO_NODIV RCC_MCODIV_1
|
|
2738 |
#define RCC_MCO_DIV1 RCC_MCODIV_1
|
|
2739 |
#define RCC_MCO_DIV2 RCC_MCODIV_2
|
|
2740 |
#define RCC_MCO_DIV4 RCC_MCODIV_4
|
|
2741 |
#define RCC_MCO_DIV8 RCC_MCODIV_8
|
|
2742 |
#define RCC_MCO_DIV16 RCC_MCODIV_16
|
|
2743 |
#define RCC_MCO_DIV32 RCC_MCODIV_32
|
|
2744 |
#define RCC_MCO_DIV64 RCC_MCODIV_64
|
|
2745 |
#define RCC_MCO_DIV128 RCC_MCODIV_128
|
|
2746 |
#define RCC_MCOSOURCE_NONE RCC_MCO1SOURCE_NOCLOCK
|
|
2747 |
#define RCC_MCOSOURCE_LSI RCC_MCO1SOURCE_LSI
|
|
2748 |
#define RCC_MCOSOURCE_LSE RCC_MCO1SOURCE_LSE
|
|
2749 |
#define RCC_MCOSOURCE_SYSCLK RCC_MCO1SOURCE_SYSCLK
|
|
2750 |
#define RCC_MCOSOURCE_HSI RCC_MCO1SOURCE_HSI
|
|
2751 |
#define RCC_MCOSOURCE_HSI14 RCC_MCO1SOURCE_HSI14
|
|
2752 |
#define RCC_MCOSOURCE_HSI48 RCC_MCO1SOURCE_HSI48
|
|
2753 |
#define RCC_MCOSOURCE_HSE RCC_MCO1SOURCE_HSE
|
|
2754 |
#define RCC_MCOSOURCE_PLLCLK_DIV1 RCC_MCO1SOURCE_PLLCLK
|
|
2755 |
#define RCC_MCOSOURCE_PLLCLK_NODIV RCC_MCO1SOURCE_PLLCLK
|
|
2756 |
#define RCC_MCOSOURCE_PLLCLK_DIV2 RCC_MCO1SOURCE_PLLCLK_DIV2
|
|
2757 |
|
|
2758 |
#if defined(STM32WB)
|
|
2759 |
#else
|
|
2760 |
#define RCC_RTCCLKSOURCE_NONE RCC_RTCCLKSOURCE_NO_CLK
|
|
2761 |
#endif
|
|
2762 |
|
|
2763 |
#define RCC_USBCLK_PLLSAI1 RCC_USBCLKSOURCE_PLLSAI1
|
|
2764 |
#define RCC_USBCLK_PLL RCC_USBCLKSOURCE_PLL
|
|
2765 |
#define RCC_USBCLK_MSI RCC_USBCLKSOURCE_MSI
|
|
2766 |
#define RCC_USBCLKSOURCE_PLLCLK RCC_USBCLKSOURCE_PLL
|
|
2767 |
#define RCC_USBPLLCLK_DIV1 RCC_USBCLKSOURCE_PLL
|
|
2768 |
#define RCC_USBPLLCLK_DIV1_5 RCC_USBCLKSOURCE_PLL_DIV1_5
|
|
2769 |
#define RCC_USBPLLCLK_DIV2 RCC_USBCLKSOURCE_PLL_DIV2
|
|
2770 |
#define RCC_USBPLLCLK_DIV3 RCC_USBCLKSOURCE_PLL_DIV3
|
|
2771 |
|
|
2772 |
#define HSION_BitNumber RCC_HSION_BIT_NUMBER
|
|
2773 |
#define HSION_BITNUMBER RCC_HSION_BIT_NUMBER
|
|
2774 |
#define HSEON_BitNumber RCC_HSEON_BIT_NUMBER
|
|
2775 |
#define HSEON_BITNUMBER RCC_HSEON_BIT_NUMBER
|
|
2776 |
#define MSION_BITNUMBER RCC_MSION_BIT_NUMBER
|
|
2777 |
#define CSSON_BitNumber RCC_CSSON_BIT_NUMBER
|
|
2778 |
#define CSSON_BITNUMBER RCC_CSSON_BIT_NUMBER
|
|
2779 |
#define PLLON_BitNumber RCC_PLLON_BIT_NUMBER
|
|
2780 |
#define PLLON_BITNUMBER RCC_PLLON_BIT_NUMBER
|
|
2781 |
#define PLLI2SON_BitNumber RCC_PLLI2SON_BIT_NUMBER
|
|
2782 |
#define I2SSRC_BitNumber RCC_I2SSRC_BIT_NUMBER
|
|
2783 |
#define RTCEN_BitNumber RCC_RTCEN_BIT_NUMBER
|
|
2784 |
#define RTCEN_BITNUMBER RCC_RTCEN_BIT_NUMBER
|
|
2785 |
#define BDRST_BitNumber RCC_BDRST_BIT_NUMBER
|
|
2786 |
#define BDRST_BITNUMBER RCC_BDRST_BIT_NUMBER
|
|
2787 |
#define RTCRST_BITNUMBER RCC_RTCRST_BIT_NUMBER
|
|
2788 |
#define LSION_BitNumber RCC_LSION_BIT_NUMBER
|
|
2789 |
#define LSION_BITNUMBER RCC_LSION_BIT_NUMBER
|
|
2790 |
#define LSEON_BitNumber RCC_LSEON_BIT_NUMBER
|
|
2791 |
#define LSEON_BITNUMBER RCC_LSEON_BIT_NUMBER
|
|
2792 |
#define LSEBYP_BITNUMBER RCC_LSEBYP_BIT_NUMBER
|
|
2793 |
#define PLLSAION_BitNumber RCC_PLLSAION_BIT_NUMBER
|
|
2794 |
#define TIMPRE_BitNumber RCC_TIMPRE_BIT_NUMBER
|
|
2795 |
#define RMVF_BitNumber RCC_RMVF_BIT_NUMBER
|
|
2796 |
#define RMVF_BITNUMBER RCC_RMVF_BIT_NUMBER
|
|
2797 |
#define RCC_CR2_HSI14TRIM_BitNumber RCC_HSI14TRIM_BIT_NUMBER
|
|
2798 |
#define CR_BYTE2_ADDRESS RCC_CR_BYTE2_ADDRESS
|
|
2799 |
#define CIR_BYTE1_ADDRESS RCC_CIR_BYTE1_ADDRESS
|
|
2800 |
#define CIR_BYTE2_ADDRESS RCC_CIR_BYTE2_ADDRESS
|
|
2801 |
#define BDCR_BYTE0_ADDRESS RCC_BDCR_BYTE0_ADDRESS
|
|
2802 |
#define DBP_TIMEOUT_VALUE RCC_DBP_TIMEOUT_VALUE
|
|
2803 |
#define LSE_TIMEOUT_VALUE RCC_LSE_TIMEOUT_VALUE
|
|
2804 |
|
|
2805 |
#define CR_HSION_BB RCC_CR_HSION_BB
|
|
2806 |
#define CR_CSSON_BB RCC_CR_CSSON_BB
|
|
2807 |
#define CR_PLLON_BB RCC_CR_PLLON_BB
|
|
2808 |
#define CR_PLLI2SON_BB RCC_CR_PLLI2SON_BB
|
|
2809 |
#define CR_MSION_BB RCC_CR_MSION_BB
|
|
2810 |
#define CSR_LSION_BB RCC_CSR_LSION_BB
|
|
2811 |
#define CSR_LSEON_BB RCC_CSR_LSEON_BB
|
|
2812 |
#define CSR_LSEBYP_BB RCC_CSR_LSEBYP_BB
|
|
2813 |
#define CSR_RTCEN_BB RCC_CSR_RTCEN_BB
|
|
2814 |
#define CSR_RTCRST_BB RCC_CSR_RTCRST_BB
|
|
2815 |
#define CFGR_I2SSRC_BB RCC_CFGR_I2SSRC_BB
|
|
2816 |
#define BDCR_RTCEN_BB RCC_BDCR_RTCEN_BB
|
|
2817 |
#define BDCR_BDRST_BB RCC_BDCR_BDRST_BB
|
|
2818 |
#define CR_HSEON_BB RCC_CR_HSEON_BB
|
|
2819 |
#define CSR_RMVF_BB RCC_CSR_RMVF_BB
|
|
2820 |
#define CR_PLLSAION_BB RCC_CR_PLLSAION_BB
|
|
2821 |
#define DCKCFGR_TIMPRE_BB RCC_DCKCFGR_TIMPRE_BB
|
|
2822 |
|
|
2823 |
#define __HAL_RCC_CRS_ENABLE_FREQ_ERROR_COUNTER __HAL_RCC_CRS_FREQ_ERROR_COUNTER_ENABLE
|
|
2824 |
#define __HAL_RCC_CRS_DISABLE_FREQ_ERROR_COUNTER __HAL_RCC_CRS_FREQ_ERROR_COUNTER_DISABLE
|
|
2825 |
#define __HAL_RCC_CRS_ENABLE_AUTOMATIC_CALIB __HAL_RCC_CRS_AUTOMATIC_CALIB_ENABLE
|
|
2826 |
#define __HAL_RCC_CRS_DISABLE_AUTOMATIC_CALIB __HAL_RCC_CRS_AUTOMATIC_CALIB_DISABLE
|
|
2827 |
#define __HAL_RCC_CRS_CALCULATE_RELOADVALUE __HAL_RCC_CRS_RELOADVALUE_CALCULATE
|
|
2828 |
|
|
2829 |
#define __HAL_RCC_GET_IT_SOURCE __HAL_RCC_GET_IT
|
|
2830 |
|
|
2831 |
#define RCC_CRS_SYNCWARM RCC_CRS_SYNCWARN
|
|
2832 |
#define RCC_CRS_TRIMOV RCC_CRS_TRIMOVF
|
|
2833 |
|
|
2834 |
#define RCC_PERIPHCLK_CK48 RCC_PERIPHCLK_CLK48
|
|
2835 |
#define RCC_CK48CLKSOURCE_PLLQ RCC_CLK48CLKSOURCE_PLLQ
|
|
2836 |
#define RCC_CK48CLKSOURCE_PLLSAIP RCC_CLK48CLKSOURCE_PLLSAIP
|
|
2837 |
#define RCC_CK48CLKSOURCE_PLLI2SQ RCC_CLK48CLKSOURCE_PLLI2SQ
|
|
2838 |
#define IS_RCC_CK48CLKSOURCE IS_RCC_CLK48CLKSOURCE
|
|
2839 |
#define RCC_SDIOCLKSOURCE_CK48 RCC_SDIOCLKSOURCE_CLK48
|
|
2840 |
|
|
2841 |
#define __HAL_RCC_DFSDM_CLK_ENABLE __HAL_RCC_DFSDM1_CLK_ENABLE
|
|
2842 |
#define __HAL_RCC_DFSDM_CLK_DISABLE __HAL_RCC_DFSDM1_CLK_DISABLE
|
|
2843 |
#define __HAL_RCC_DFSDM_IS_CLK_ENABLED __HAL_RCC_DFSDM1_IS_CLK_ENABLED
|
|
2844 |
#define __HAL_RCC_DFSDM_IS_CLK_DISABLED __HAL_RCC_DFSDM1_IS_CLK_DISABLED
|
|
2845 |
#define __HAL_RCC_DFSDM_FORCE_RESET __HAL_RCC_DFSDM1_FORCE_RESET
|
|
2846 |
#define __HAL_RCC_DFSDM_RELEASE_RESET __HAL_RCC_DFSDM1_RELEASE_RESET
|
|
2847 |
#define __HAL_RCC_DFSDM_CLK_SLEEP_ENABLE __HAL_RCC_DFSDM1_CLK_SLEEP_ENABLE
|
|
2848 |
#define __HAL_RCC_DFSDM_CLK_SLEEP_DISABLE __HAL_RCC_DFSDM1_CLK_SLEEP_DISABLE
|
|
2849 |
#define __HAL_RCC_DFSDM_IS_CLK_SLEEP_ENABLED __HAL_RCC_DFSDM1_IS_CLK_SLEEP_ENABLED
|
|
2850 |
#define __HAL_RCC_DFSDM_IS_CLK_SLEEP_DISABLED __HAL_RCC_DFSDM1_IS_CLK_SLEEP_DISABLED
|
|
2851 |
#define DfsdmClockSelection Dfsdm1ClockSelection
|
|
2852 |
#define RCC_PERIPHCLK_DFSDM RCC_PERIPHCLK_DFSDM1
|
|
2853 |
#define RCC_DFSDMCLKSOURCE_PCLK RCC_DFSDM1CLKSOURCE_PCLK
|
|
2854 |
#define RCC_DFSDMCLKSOURCE_SYSCLK RCC_DFSDM1CLKSOURCE_SYSCLK
|
|
2855 |
#define __HAL_RCC_DFSDM_CONFIG __HAL_RCC_DFSDM1_CONFIG
|
|
2856 |
#define __HAL_RCC_GET_DFSDM_SOURCE __HAL_RCC_GET_DFSDM1_SOURCE
|
|
2857 |
/**
|
|
2858 |
* @}
|
|
2859 |
*/
|
|
2860 |
|
|
2861 |
/** @defgroup HAL_RNG_Aliased_Macros HAL RNG Aliased Macros maintained for legacy purpose
|
|
2862 |
* @{
|
|
2863 |
*/
|
|
2864 |
#define HAL_RNG_ReadyCallback(__HANDLE__) HAL_RNG_ReadyDataCallback((__HANDLE__), uint32_t random32bit)
|
|
2865 |
|
|
2866 |
/**
|
|
2867 |
* @}
|
|
2868 |
*/
|
|
2869 |
|
|
2870 |
/** @defgroup HAL_RTC_Aliased_Macros HAL RTC Aliased Macros maintained for legacy purpose
|
|
2871 |
* @{
|
|
2872 |
*/
|
|
2873 |
|
|
2874 |
#define __HAL_RTC_CLEAR_FLAG __HAL_RTC_EXTI_CLEAR_FLAG
|
|
2875 |
#define __HAL_RTC_DISABLE_IT __HAL_RTC_EXTI_DISABLE_IT
|
|
2876 |
#define __HAL_RTC_ENABLE_IT __HAL_RTC_EXTI_ENABLE_IT
|
|
2877 |
|
|
2878 |
#if defined (STM32F1)
|
|
2879 |
#define __HAL_RTC_EXTI_CLEAR_FLAG(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_CLEAR_FLAG()
|
|
2880 |
|
|
2881 |
#define __HAL_RTC_EXTI_ENABLE_IT(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_ENABLE_IT()
|
|
2882 |
|
|
2883 |
#define __HAL_RTC_EXTI_DISABLE_IT(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_DISABLE_IT()
|
|
2884 |
|
|
2885 |
#define __HAL_RTC_EXTI_GET_FLAG(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_GET_FLAG()
|
|
2886 |
|
|
2887 |
#define __HAL_RTC_EXTI_GENERATE_SWIT(RTC_EXTI_LINE_ALARM_EVENT) __HAL_RTC_ALARM_EXTI_GENERATE_SWIT()
|
|
2888 |
#else
|
|
2889 |
#define __HAL_RTC_EXTI_CLEAR_FLAG(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_CLEAR_FLAG() : \
|
|
2890 |
(((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_CLEAR_FLAG() : \
|
|
2891 |
__HAL_RTC_TAMPER_TIMESTAMP_EXTI_CLEAR_FLAG()))
|
|
2892 |
#define __HAL_RTC_EXTI_ENABLE_IT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_ENABLE_IT() : \
|
|
2893 |
(((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_ENABLE_IT() : \
|
|
2894 |
__HAL_RTC_TAMPER_TIMESTAMP_EXTI_ENABLE_IT()))
|
|
2895 |
#define __HAL_RTC_EXTI_DISABLE_IT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_DISABLE_IT() : \
|
|
2896 |
(((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_DISABLE_IT() : \
|
|
2897 |
__HAL_RTC_TAMPER_TIMESTAMP_EXTI_DISABLE_IT()))
|
|
2898 |
#define __HAL_RTC_EXTI_GET_FLAG(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_GET_FLAG() : \
|
|
2899 |
(((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GET_FLAG() : \
|
|
2900 |
__HAL_RTC_TAMPER_TIMESTAMP_EXTI_GET_FLAG()))
|
|
2901 |
#define __HAL_RTC_EXTI_GENERATE_SWIT(__EXTI_LINE__) (((__EXTI_LINE__) == RTC_EXTI_LINE_ALARM_EVENT) ? __HAL_RTC_ALARM_EXTI_GENERATE_SWIT() : \
|
|
2902 |
(((__EXTI_LINE__) == RTC_EXTI_LINE_WAKEUPTIMER_EVENT) ? __HAL_RTC_WAKEUPTIMER_EXTI_GENERATE_SWIT() : \
|
|
2903 |
__HAL_RTC_TAMPER_TIMESTAMP_EXTI_GENERATE_SWIT()))
|
|
2904 |
#endif /* STM32F1 */
|
|
2905 |
|
|
2906 |
#define IS_ALARM IS_RTC_ALARM
|
|
2907 |
#define IS_ALARM_MASK IS_RTC_ALARM_MASK
|
|
2908 |
#define IS_TAMPER IS_RTC_TAMPER
|
|
2909 |
#define IS_TAMPER_ERASE_MODE IS_RTC_TAMPER_ERASE_MODE
|
|
2910 |
#define IS_TAMPER_FILTER IS_RTC_TAMPER_FILTER
|
|
2911 |
#define IS_TAMPER_INTERRUPT IS_RTC_TAMPER_INTERRUPT
|
|
2912 |
#define IS_TAMPER_MASKFLAG_STATE IS_RTC_TAMPER_MASKFLAG_STATE
|
|
2913 |
#define IS_TAMPER_PRECHARGE_DURATION IS_RTC_TAMPER_PRECHARGE_DURATION
|
|
2914 |
#define IS_TAMPER_PULLUP_STATE IS_RTC_TAMPER_PULLUP_STATE
|
|
2915 |
#define IS_TAMPER_SAMPLING_FREQ IS_RTC_TAMPER_SAMPLING_FREQ
|
|
2916 |
#define IS_TAMPER_TIMESTAMPONTAMPER_DETECTION IS_RTC_TAMPER_TIMESTAMPONTAMPER_DETECTION
|
|
2917 |
#define IS_TAMPER_TRIGGER IS_RTC_TAMPER_TRIGGER
|
|
2918 |
#define IS_WAKEUP_CLOCK IS_RTC_WAKEUP_CLOCK
|
|
2919 |
#define IS_WAKEUP_COUNTER IS_RTC_WAKEUP_COUNTER
|
|
2920 |
|
|
2921 |
#define __RTC_WRITEPROTECTION_ENABLE __HAL_RTC_WRITEPROTECTION_ENABLE
|
|
2922 |
#define __RTC_WRITEPROTECTION_DISABLE __HAL_RTC_WRITEPROTECTION_DISABLE
|
|
2923 |
|
|
2924 |
/**
|
|
2925 |
* @}
|
|
2926 |
*/
|
|
2927 |
|
|
2928 |
/** @defgroup HAL_SD_Aliased_Macros HAL SD Aliased Macros maintained for legacy purpose
|
|
2929 |
* @{
|
|
2930 |
*/
|
|
2931 |
|
|
2932 |
#define SD_OCR_CID_CSD_OVERWRIETE SD_OCR_CID_CSD_OVERWRITE
|
|
2933 |
#define SD_CMD_SD_APP_STAUS SD_CMD_SD_APP_STATUS
|
|
2934 |
|
|
2935 |
#if defined(STM32F4)
|
|
2936 |
#define SD_SDMMC_DISABLED SD_SDIO_DISABLED
|
|
2937 |
#define SD_SDMMC_FUNCTION_BUSY SD_SDIO_FUNCTION_BUSY
|
|
2938 |
#define SD_SDMMC_FUNCTION_FAILED SD_SDIO_FUNCTION_FAILED
|
|
2939 |
#define SD_SDMMC_UNKNOWN_FUNCTION SD_SDIO_UNKNOWN_FUNCTION
|
|
2940 |
#define SD_CMD_SDMMC_SEN_OP_COND SD_CMD_SDIO_SEN_OP_COND
|
|
2941 |
#define SD_CMD_SDMMC_RW_DIRECT SD_CMD_SDIO_RW_DIRECT
|
|
2942 |
#define SD_CMD_SDMMC_RW_EXTENDED SD_CMD_SDIO_RW_EXTENDED
|
|
2943 |
#define __HAL_SD_SDMMC_ENABLE __HAL_SD_SDIO_ENABLE
|
|
2944 |
#define __HAL_SD_SDMMC_DISABLE __HAL_SD_SDIO_DISABLE
|
|
2945 |
#define __HAL_SD_SDMMC_DMA_ENABLE __HAL_SD_SDIO_DMA_ENABLE
|
|
2946 |
#define __HAL_SD_SDMMC_DMA_DISABLE __HAL_SD_SDIO_DMA_DISABL
|
|
2947 |
#define __HAL_SD_SDMMC_ENABLE_IT __HAL_SD_SDIO_ENABLE_IT
|
|
2948 |
#define __HAL_SD_SDMMC_DISABLE_IT __HAL_SD_SDIO_DISABLE_IT
|
|
2949 |
#define __HAL_SD_SDMMC_GET_FLAG __HAL_SD_SDIO_GET_FLAG
|
|
2950 |
#define __HAL_SD_SDMMC_CLEAR_FLAG __HAL_SD_SDIO_CLEAR_FLAG
|
|
2951 |
#define __HAL_SD_SDMMC_GET_IT __HAL_SD_SDIO_GET_IT
|
|
2952 |
#define __HAL_SD_SDMMC_CLEAR_IT __HAL_SD_SDIO_CLEAR_IT
|
|
2953 |
#define SDMMC_STATIC_FLAGS SDIO_STATIC_FLAGS
|
|
2954 |
#define SDMMC_CMD0TIMEOUT SDIO_CMD0TIMEOUT
|
|
2955 |
#define SD_SDMMC_SEND_IF_COND SD_SDIO_SEND_IF_COND
|
|
2956 |
/* alias CMSIS */
|
|
2957 |
#define SDMMC1_IRQn SDIO_IRQn
|
|
2958 |
#define SDMMC1_IRQHandler SDIO_IRQHandler
|
|
2959 |
#endif
|
|
2960 |
|
|
2961 |
#if defined(STM32F7) || defined(STM32L4)
|
|
2962 |
#define SD_SDIO_DISABLED SD_SDMMC_DISABLED
|
|
2963 |
#define SD_SDIO_FUNCTION_BUSY SD_SDMMC_FUNCTION_BUSY
|
|
2964 |
#define SD_SDIO_FUNCTION_FAILED SD_SDMMC_FUNCTION_FAILED
|
|
2965 |
#define SD_SDIO_UNKNOWN_FUNCTION SD_SDMMC_UNKNOWN_FUNCTION
|
|
2966 |
#define SD_CMD_SDIO_SEN_OP_COND SD_CMD_SDMMC_SEN_OP_COND
|
|
2967 |
#define SD_CMD_SDIO_RW_DIRECT SD_CMD_SDMMC_RW_DIRECT
|
|
2968 |
#define SD_CMD_SDIO_RW_EXTENDED SD_CMD_SDMMC_RW_EXTENDED
|
|
2969 |
#define __HAL_SD_SDIO_ENABLE __HAL_SD_SDMMC_ENABLE
|
|
2970 |
#define __HAL_SD_SDIO_DISABLE __HAL_SD_SDMMC_DISABLE
|
|
2971 |
#define __HAL_SD_SDIO_DMA_ENABLE __HAL_SD_SDMMC_DMA_ENABLE
|
|
2972 |
#define __HAL_SD_SDIO_DMA_DISABL __HAL_SD_SDMMC_DMA_DISABLE
|
|
2973 |
#define __HAL_SD_SDIO_ENABLE_IT __HAL_SD_SDMMC_ENABLE_IT
|
|
2974 |
#define __HAL_SD_SDIO_DISABLE_IT __HAL_SD_SDMMC_DISABLE_IT
|
|
2975 |
#define __HAL_SD_SDIO_GET_FLAG __HAL_SD_SDMMC_GET_FLAG
|
|
2976 |
#define __HAL_SD_SDIO_CLEAR_FLAG __HAL_SD_SDMMC_CLEAR_FLAG
|
|
2977 |
#define __HAL_SD_SDIO_GET_IT __HAL_SD_SDMMC_GET_IT
|
|
2978 |
#define __HAL_SD_SDIO_CLEAR_IT __HAL_SD_SDMMC_CLEAR_IT
|
|
2979 |
#define SDIO_STATIC_FLAGS SDMMC_STATIC_FLAGS
|
|
2980 |
#define SDIO_CMD0TIMEOUT SDMMC_CMD0TIMEOUT
|
|
2981 |
#define SD_SDIO_SEND_IF_COND SD_SDMMC_SEND_IF_COND
|
|
2982 |
/* alias CMSIS for compatibilities */
|
|
2983 |
#define SDIO_IRQn SDMMC1_IRQn
|
|
2984 |
#define SDIO_IRQHandler SDMMC1_IRQHandler
|
|
2985 |
#endif
|
|
2986 |
/**
|
|
2987 |
* @}
|
|
2988 |
*/
|
|
2989 |
|
|
2990 |
/** @defgroup HAL_SMARTCARD_Aliased_Macros HAL SMARTCARD Aliased Macros maintained for legacy purpose
|
|
2991 |
* @{
|
|
2992 |
*/
|
|
2993 |
|
|
2994 |
#define __SMARTCARD_ENABLE_IT __HAL_SMARTCARD_ENABLE_IT
|
|
2995 |
#define __SMARTCARD_DISABLE_IT __HAL_SMARTCARD_DISABLE_IT
|
|
2996 |
#define __SMARTCARD_ENABLE __HAL_SMARTCARD_ENABLE
|
|
2997 |
#define __SMARTCARD_DISABLE __HAL_SMARTCARD_DISABLE
|
|
2998 |
#define __SMARTCARD_DMA_REQUEST_ENABLE __HAL_SMARTCARD_DMA_REQUEST_ENABLE
|
|
2999 |
#define __SMARTCARD_DMA_REQUEST_DISABLE __HAL_SMARTCARD_DMA_REQUEST_DISABLE
|
|
3000 |
|
|
3001 |
#define __HAL_SMARTCARD_GETCLOCKSOURCE SMARTCARD_GETCLOCKSOURCE
|
|
3002 |
#define __SMARTCARD_GETCLOCKSOURCE SMARTCARD_GETCLOCKSOURCE
|
|
3003 |
|
|
3004 |
#define IS_SMARTCARD_ONEBIT_SAMPLING IS_SMARTCARD_ONE_BIT_SAMPLE
|
|
3005 |
|
|
3006 |
/**
|
|
3007 |
* @}
|
|
3008 |
*/
|
|
3009 |
|
|
3010 |
/** @defgroup HAL_SMBUS_Aliased_Macros HAL SMBUS Aliased Macros maintained for legacy purpose
|
|
3011 |
* @{
|
|
3012 |
*/
|
|
3013 |
#define __HAL_SMBUS_RESET_CR1 SMBUS_RESET_CR1
|
|
3014 |
#define __HAL_SMBUS_RESET_CR2 SMBUS_RESET_CR2
|
|
3015 |
#define __HAL_SMBUS_GENERATE_START SMBUS_GENERATE_START
|
|
3016 |
#define __HAL_SMBUS_GET_ADDR_MATCH SMBUS_GET_ADDR_MATCH
|
|
3017 |
#define __HAL_SMBUS_GET_DIR SMBUS_GET_DIR
|
|
3018 |
#define __HAL_SMBUS_GET_STOP_MODE SMBUS_GET_STOP_MODE
|
|
3019 |
#define __HAL_SMBUS_GET_PEC_MODE SMBUS_GET_PEC_MODE
|
|
3020 |
#define __HAL_SMBUS_GET_ALERT_ENABLED SMBUS_GET_ALERT_ENABLED
|
|
3021 |
/**
|
|
3022 |
* @}
|
|
3023 |
*/
|
|
3024 |
|
|
3025 |
/** @defgroup HAL_SPI_Aliased_Macros HAL SPI Aliased Macros maintained for legacy purpose
|
|
3026 |
* @{
|
|
3027 |
*/
|
|
3028 |
|
|
3029 |
#define __HAL_SPI_1LINE_TX SPI_1LINE_TX
|
|
3030 |
#define __HAL_SPI_1LINE_RX SPI_1LINE_RX
|
|
3031 |
#define __HAL_SPI_RESET_CRC SPI_RESET_CRC
|
|
3032 |
|
|
3033 |
/**
|
|
3034 |
* @}
|
|
3035 |
*/
|
|
3036 |
|
|
3037 |
/** @defgroup HAL_UART_Aliased_Macros HAL UART Aliased Macros maintained for legacy purpose
|
|
3038 |
* @{
|
|
3039 |
*/
|
|
3040 |
|
|
3041 |
#define __HAL_UART_GETCLOCKSOURCE UART_GETCLOCKSOURCE
|
|
3042 |
#define __HAL_UART_MASK_COMPUTATION UART_MASK_COMPUTATION
|
|
3043 |
#define __UART_GETCLOCKSOURCE UART_GETCLOCKSOURCE
|
|
3044 |
#define __UART_MASK_COMPUTATION UART_MASK_COMPUTATION
|
|
3045 |
|
|
3046 |
#define IS_UART_WAKEUPMETHODE IS_UART_WAKEUPMETHOD
|
|
3047 |
|
|
3048 |
#define IS_UART_ONEBIT_SAMPLE IS_UART_ONE_BIT_SAMPLE
|
|
3049 |
#define IS_UART_ONEBIT_SAMPLING IS_UART_ONE_BIT_SAMPLE
|
|
3050 |
|
|
3051 |
/**
|
|
3052 |
* @}
|
|
3053 |
*/
|
|
3054 |
|
|
3055 |
|
|
3056 |
/** @defgroup HAL_USART_Aliased_Macros HAL USART Aliased Macros maintained for legacy purpose
|
|
3057 |
* @{
|
|
3058 |
*/
|
|
3059 |
|
|
3060 |
#define __USART_ENABLE_IT __HAL_USART_ENABLE_IT
|
|
3061 |
#define __USART_DISABLE_IT __HAL_USART_DISABLE_IT
|
|
3062 |
#define __USART_ENABLE __HAL_USART_ENABLE
|
|
3063 |
#define __USART_DISABLE __HAL_USART_DISABLE
|
|
3064 |
|
|
3065 |
#define __HAL_USART_GETCLOCKSOURCE USART_GETCLOCKSOURCE
|
|
3066 |
#define __USART_GETCLOCKSOURCE USART_GETCLOCKSOURCE
|
|
3067 |
|
|
3068 |
/**
|
|
3069 |
* @}
|
|
3070 |
*/
|
|
3071 |
|
|
3072 |
/** @defgroup HAL_USB_Aliased_Macros HAL USB Aliased Macros maintained for legacy purpose
|
|
3073 |
* @{
|
|
3074 |
*/
|
|
3075 |
#define USB_EXTI_LINE_WAKEUP USB_WAKEUP_EXTI_LINE
|
|
3076 |
|
|
3077 |
#define USB_FS_EXTI_TRIGGER_RISING_EDGE USB_OTG_FS_WAKEUP_EXTI_RISING_EDGE
|
|
3078 |
#define USB_FS_EXTI_TRIGGER_FALLING_EDGE USB_OTG_FS_WAKEUP_EXTI_FALLING_EDGE
|
|
3079 |
#define USB_FS_EXTI_TRIGGER_BOTH_EDGE USB_OTG_FS_WAKEUP_EXTI_RISING_FALLING_EDGE
|
|
3080 |
#define USB_FS_EXTI_LINE_WAKEUP USB_OTG_FS_WAKEUP_EXTI_LINE
|
|
3081 |
|
|
3082 |
#define USB_HS_EXTI_TRIGGER_RISING_EDGE USB_OTG_HS_WAKEUP_EXTI_RISING_EDGE
|
|
3083 |
#define USB_HS_EXTI_TRIGGER_FALLING_EDGE USB_OTG_HS_WAKEUP_EXTI_FALLING_EDGE
|
|
3084 |
#define USB_HS_EXTI_TRIGGER_BOTH_EDGE USB_OTG_HS_WAKEUP_EXTI_RISING_FALLING_EDGE
|
|
3085 |
#define USB_HS_EXTI_LINE_WAKEUP USB_OTG_HS_WAKEUP_EXTI_LINE
|
|
3086 |
|
|
3087 |
#define __HAL_USB_EXTI_ENABLE_IT __HAL_USB_WAKEUP_EXTI_ENABLE_IT
|
|
3088 |
#define __HAL_USB_EXTI_DISABLE_IT __HAL_USB_WAKEUP_EXTI_DISABLE_IT
|
|
3089 |
#define __HAL_USB_EXTI_GET_FLAG __HAL_USB_WAKEUP_EXTI_GET_FLAG
|
|
3090 |
#define __HAL_USB_EXTI_CLEAR_FLAG __HAL_USB_WAKEUP_EXTI_CLEAR_FLAG
|
|
3091 |
#define __HAL_USB_EXTI_SET_RISING_EDGE_TRIGGER __HAL_USB_WAKEUP_EXTI_ENABLE_RISING_EDGE
|
|
3092 |
#define __HAL_USB_EXTI_SET_FALLING_EDGE_TRIGGER __HAL_USB_WAKEUP_EXTI_ENABLE_FALLING_EDGE
|
|
3093 |
#define __HAL_USB_EXTI_SET_FALLINGRISING_TRIGGER __HAL_USB_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE
|
|
3094 |
|
|
3095 |
#define __HAL_USB_FS_EXTI_ENABLE_IT __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_IT
|
|
3096 |
#define __HAL_USB_FS_EXTI_DISABLE_IT __HAL_USB_OTG_FS_WAKEUP_EXTI_DISABLE_IT
|
|
3097 |
#define __HAL_USB_FS_EXTI_GET_FLAG __HAL_USB_OTG_FS_WAKEUP_EXTI_GET_FLAG
|
|
3098 |
#define __HAL_USB_FS_EXTI_CLEAR_FLAG __HAL_USB_OTG_FS_WAKEUP_EXTI_CLEAR_FLAG
|
|
3099 |
#define __HAL_USB_FS_EXTI_SET_RISING_EGDE_TRIGGER __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_EDGE
|
|
3100 |
#define __HAL_USB_FS_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_FALLING_EDGE
|
|
3101 |
#define __HAL_USB_FS_EXTI_SET_FALLINGRISING_TRIGGER __HAL_USB_OTG_FS_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE
|
|
3102 |
#define __HAL_USB_FS_EXTI_GENERATE_SWIT __HAL_USB_OTG_FS_WAKEUP_EXTI_GENERATE_SWIT
|
|
3103 |
|
|
3104 |
#define __HAL_USB_HS_EXTI_ENABLE_IT __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_IT
|
|
3105 |
#define __HAL_USB_HS_EXTI_DISABLE_IT __HAL_USB_OTG_HS_WAKEUP_EXTI_DISABLE_IT
|
|
3106 |
#define __HAL_USB_HS_EXTI_GET_FLAG __HAL_USB_OTG_HS_WAKEUP_EXTI_GET_FLAG
|
|
3107 |
#define __HAL_USB_HS_EXTI_CLEAR_FLAG __HAL_USB_OTG_HS_WAKEUP_EXTI_CLEAR_FLAG
|
|
3108 |
#define __HAL_USB_HS_EXTI_SET_RISING_EGDE_TRIGGER __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_RISING_EDGE
|
|
3109 |
#define __HAL_USB_HS_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_FALLING_EDGE
|
|
3110 |
#define __HAL_USB_HS_EXTI_SET_FALLINGRISING_TRIGGER __HAL_USB_OTG_HS_WAKEUP_EXTI_ENABLE_RISING_FALLING_EDGE
|
|
3111 |
#define __HAL_USB_HS_EXTI_GENERATE_SWIT __HAL_USB_OTG_HS_WAKEUP_EXTI_GENERATE_SWIT
|
|
3112 |
|
|
3113 |
#define HAL_PCD_ActiveRemoteWakeup HAL_PCD_ActivateRemoteWakeup
|
|
3114 |
#define HAL_PCD_DeActiveRemoteWakeup HAL_PCD_DeActivateRemoteWakeup
|
|
3115 |
|
|
3116 |
#define HAL_PCD_SetTxFiFo HAL_PCDEx_SetTxFiFo
|
|
3117 |
#define HAL_PCD_SetRxFiFo HAL_PCDEx_SetRxFiFo
|
|
3118 |
/**
|
|
3119 |
* @}
|
|
3120 |
*/
|
|
3121 |
|
|
3122 |
/** @defgroup HAL_TIM_Aliased_Macros HAL TIM Aliased Macros maintained for legacy purpose
|
|
3123 |
* @{
|
|
3124 |
*/
|
|
3125 |
#define __HAL_TIM_SetICPrescalerValue TIM_SET_ICPRESCALERVALUE
|
|
3126 |
#define __HAL_TIM_ResetICPrescalerValue TIM_RESET_ICPRESCALERVALUE
|
|
3127 |
|
|
3128 |
#define TIM_GET_ITSTATUS __HAL_TIM_GET_IT_SOURCE
|
|
3129 |
#define TIM_GET_CLEAR_IT __HAL_TIM_CLEAR_IT
|
|
3130 |
|
|
3131 |
#define __HAL_TIM_GET_ITSTATUS __HAL_TIM_GET_IT_SOURCE
|
|
3132 |
|
|
3133 |
#define __HAL_TIM_DIRECTION_STATUS __HAL_TIM_IS_TIM_COUNTING_DOWN
|
|
3134 |
#define __HAL_TIM_PRESCALER __HAL_TIM_SET_PRESCALER
|
|
3135 |
#define __HAL_TIM_SetCounter __HAL_TIM_SET_COUNTER
|
|
3136 |
#define __HAL_TIM_GetCounter __HAL_TIM_GET_COUNTER
|
|
3137 |
#define __HAL_TIM_SetAutoreload __HAL_TIM_SET_AUTORELOAD
|
|
3138 |
#define __HAL_TIM_GetAutoreload __HAL_TIM_GET_AUTORELOAD
|
|
3139 |
#define __HAL_TIM_SetClockDivision __HAL_TIM_SET_CLOCKDIVISION
|
|
3140 |
#define __HAL_TIM_GetClockDivision __HAL_TIM_GET_CLOCKDIVISION
|
|
3141 |
#define __HAL_TIM_SetICPrescaler __HAL_TIM_SET_ICPRESCALER
|
|
3142 |
#define __HAL_TIM_GetICPrescaler __HAL_TIM_GET_ICPRESCALER
|
|
3143 |
#define __HAL_TIM_SetCompare __HAL_TIM_SET_COMPARE
|
|
3144 |
#define __HAL_TIM_GetCompare __HAL_TIM_GET_COMPARE
|
|
3145 |
|
|
3146 |
#define TIM_BREAKINPUTSOURCE_DFSDM TIM_BREAKINPUTSOURCE_DFSDM1
|
|
3147 |
/**
|
|
3148 |
* @}
|
|
3149 |
*/
|
|
3150 |
|
|
3151 |
/** @defgroup HAL_ETH_Aliased_Macros HAL ETH Aliased Macros maintained for legacy purpose
|
|
3152 |
* @{
|
|
3153 |
*/
|
|
3154 |
|
|
3155 |
#define __HAL_ETH_EXTI_ENABLE_IT __HAL_ETH_WAKEUP_EXTI_ENABLE_IT
|
|
3156 |
#define __HAL_ETH_EXTI_DISABLE_IT __HAL_ETH_WAKEUP_EXTI_DISABLE_IT
|
|
3157 |
#define __HAL_ETH_EXTI_GET_FLAG __HAL_ETH_WAKEUP_EXTI_GET_FLAG
|
|
3158 |
#define __HAL_ETH_EXTI_CLEAR_FLAG __HAL_ETH_WAKEUP_EXTI_CLEAR_FLAG
|
|
3159 |
#define __HAL_ETH_EXTI_SET_RISING_EGDE_TRIGGER __HAL_ETH_WAKEUP_EXTI_ENABLE_RISING_EDGE_TRIGGER
|
|
3160 |
#define __HAL_ETH_EXTI_SET_FALLING_EGDE_TRIGGER __HAL_ETH_WAKEUP_EXTI_ENABLE_FALLING_EDGE_TRIGGER
|
|
3161 |
#define __HAL_ETH_EXTI_SET_FALLINGRISING_TRIGGER __HAL_ETH_WAKEUP_EXTI_ENABLE_FALLINGRISING_TRIGGER
|
|
3162 |
|
|
3163 |
#define ETH_PROMISCIOUSMODE_ENABLE ETH_PROMISCUOUS_MODE_ENABLE
|
|
3164 |
#define ETH_PROMISCIOUSMODE_DISABLE ETH_PROMISCUOUS_MODE_DISABLE
|
|
3165 |
#define IS_ETH_PROMISCIOUS_MODE IS_ETH_PROMISCUOUS_MODE
|
|
3166 |
/**
|
|
3167 |
* @}
|
|
3168 |
*/
|
|
3169 |
|
|
3170 |
/** @defgroup HAL_LTDC_Aliased_Macros HAL LTDC Aliased Macros maintained for legacy purpose
|
|
3171 |
* @{
|
|
3172 |
*/
|
|
3173 |
#define __HAL_LTDC_LAYER LTDC_LAYER
|
|
3174 |
/**
|
|
3175 |
* @}
|
|
3176 |
*/
|
|
3177 |
|
|
3178 |
/** @defgroup HAL_SAI_Aliased_Macros HAL SAI Aliased Macros maintained for legacy purpose
|
|
3179 |
* @{
|
|
3180 |
*/
|
|
3181 |
#define SAI_OUTPUTDRIVE_DISABLED SAI_OUTPUTDRIVE_DISABLE
|
|
3182 |
#define SAI_OUTPUTDRIVE_ENABLED SAI_OUTPUTDRIVE_ENABLE
|
|
3183 |
#define SAI_MASTERDIVIDER_ENABLED SAI_MASTERDIVIDER_ENABLE
|
|
3184 |
#define SAI_MASTERDIVIDER_DISABLED SAI_MASTERDIVIDER_DISABLE
|
|
3185 |
#define SAI_STREOMODE SAI_STEREOMODE
|
|
3186 |
#define SAI_FIFOStatus_Empty SAI_FIFOSTATUS_EMPTY
|
|
3187 |
#define SAI_FIFOStatus_Less1QuarterFull SAI_FIFOSTATUS_LESS1QUARTERFULL
|
|
3188 |
#define SAI_FIFOStatus_1QuarterFull SAI_FIFOSTATUS_1QUARTERFULL
|
|
3189 |
#define SAI_FIFOStatus_HalfFull SAI_FIFOSTATUS_HALFFULL
|
|
3190 |
#define SAI_FIFOStatus_3QuartersFull SAI_FIFOSTATUS_3QUARTERFULL
|
|
3191 |
#define SAI_FIFOStatus_Full SAI_FIFOSTATUS_FULL
|
|
3192 |
#define IS_SAI_BLOCK_MONO_STREO_MODE IS_SAI_BLOCK_MONO_STEREO_MODE
|
|
3193 |
#define SAI_SYNCHRONOUS_EXT SAI_SYNCHRONOUS_EXT_SAI1
|
|
3194 |
#define SAI_SYNCEXT_IN_ENABLE SAI_SYNCEXT_OUTBLOCKA_ENABLE
|
|
3195 |
/**
|
|
3196 |
* @}
|
|
3197 |
*/
|
|
3198 |
|
|
3199 |
|
|
3200 |
/** @defgroup HAL_PPP_Aliased_Macros HAL PPP Aliased Macros maintained for legacy purpose
|
|
3201 |
* @{
|
|
3202 |
*/
|
|
3203 |
|
|
3204 |
/**
|
|
3205 |
* @}
|
|
3206 |
*/
|
|
3207 |
|
|
3208 |
#ifdef __cplusplus
|
|
3209 |
}
|
|
3210 |
#endif
|
|
3211 |
|
|
3212 |
#endif /* ___STM32_HAL_LEGACY */
|
|
3213 |
|
|
3214 |
/************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/
|
|
3215 |
|