Merge pull request #11270 from haslinghuis/rename_attr
[betaflight.git] / lib / main / STM32H7 / Drivers / STM32H7xx_HAL_Driver / Inc / stm32h7xx_ll_exti.h
blob1e25e0109266d19e830cc35ad395fb7460688cde
1 /**
2 ******************************************************************************
3 * @file stm32h7xx_ll_exti.h
4 * @author MCD Application Team
5 * @brief Header file of EXTI LL module.
6 ******************************************************************************
7 * @attention
9 * <h2><center>&copy; Copyright (c) 2017 STMicroelectronics.
10 * All rights reserved.</center></h2>
12 * This software component is licensed by ST under BSD 3-Clause license,
13 * the "License"; You may not use this file except in compliance with the
14 * License. You may obtain a copy of the License at:
15 * opensource.org/licenses/BSD-3-Clause
17 ******************************************************************************
20 /* Define to prevent recursive inclusion -------------------------------------*/
21 #ifndef __STM32H7xx_LL_EXTI_H
22 #define __STM32H7xx_LL_EXTI_H
24 #ifdef __cplusplus
25 extern "C" {
26 #endif
28 /* Includes ------------------------------------------------------------------*/
29 #include "stm32h7xx.h"
31 /** @addtogroup STM32H7xx_LL_Driver
32 * @{
35 #if defined (EXTI)
37 /** @defgroup EXTI_LL EXTI
38 * @{
41 /* Private types -------------------------------------------------------------*/
42 /* Private variables ---------------------------------------------------------*/
43 /* Private constants ---------------------------------------------------------*/
44 /* Private Macros ------------------------------------------------------------*/
45 #if defined(USE_FULL_LL_DRIVER)
46 /** @defgroup EXTI_LL_Private_Macros EXTI Private Macros
47 * @{
49 /**
50 * @}
52 #endif /*USE_FULL_LL_DRIVER*/
53 /* Exported types ------------------------------------------------------------*/
54 #if defined(USE_FULL_LL_DRIVER)
55 /** @defgroup EXTI_LL_ES_INIT EXTI Exported Init structure
56 * @{
58 typedef struct
61 uint32_t Line_0_31; /*!< Specifies the EXTI lines to be enabled or disabled for Lines in range 0 to 31
62 This parameter can be any combination of @ref EXTI_LL_EC_LINE */
64 uint32_t Line_32_63; /*!< Specifies the EXTI lines to be enabled or disabled for Lines in range 32 to 63
65 This parameter can be any combination of @ref EXTI_LL_EC_LINE */
67 uint32_t Line_64_95; /*!< Specifies the EXTI lines to be enabled or disabled for Lines in range 64 to 95
68 This parameter can be any combination of @ref EXTI_LL_EC_LINE */
70 FunctionalState LineCommand; /*!< Specifies the new state of the selected EXTI lines.
71 This parameter can be set either to ENABLE or DISABLE */
73 uint8_t Mode; /*!< Specifies the mode for the EXTI lines.
74 This parameter can be a value of @ref EXTI_LL_EC_MODE. */
76 uint8_t Trigger; /*!< Specifies the trigger signal active edge for the EXTI lines.
77 This parameter can be a value of @ref EXTI_LL_EC_TRIGGER. */
78 } LL_EXTI_InitTypeDef;
80 /**
81 * @}
83 #endif /*USE_FULL_LL_DRIVER*/
85 /* Exported constants --------------------------------------------------------*/
86 /** @defgroup EXTI_LL_Exported_Constants EXTI Exported Constants
87 * @{
90 /** @defgroup EXTI_LL_EC_LINE LINE
91 * @{
93 #define LL_EXTI_LINE_0 EXTI_IMR1_IM0 /*!< Extended line 0 */
94 #define LL_EXTI_LINE_1 EXTI_IMR1_IM1 /*!< Extended line 1 */
95 #define LL_EXTI_LINE_2 EXTI_IMR1_IM2 /*!< Extended line 2 */
96 #define LL_EXTI_LINE_3 EXTI_IMR1_IM3 /*!< Extended line 3 */
97 #define LL_EXTI_LINE_4 EXTI_IMR1_IM4 /*!< Extended line 4 */
98 #define LL_EXTI_LINE_5 EXTI_IMR1_IM5 /*!< Extended line 5 */
99 #define LL_EXTI_LINE_6 EXTI_IMR1_IM6 /*!< Extended line 6 */
100 #define LL_EXTI_LINE_7 EXTI_IMR1_IM7 /*!< Extended line 7 */
101 #define LL_EXTI_LINE_8 EXTI_IMR1_IM8 /*!< Extended line 8 */
102 #define LL_EXTI_LINE_9 EXTI_IMR1_IM9 /*!< Extended line 9 */
103 #define LL_EXTI_LINE_10 EXTI_IMR1_IM10 /*!< Extended line 10 */
104 #define LL_EXTI_LINE_11 EXTI_IMR1_IM11 /*!< Extended line 11 */
105 #define LL_EXTI_LINE_12 EXTI_IMR1_IM12 /*!< Extended line 12 */
106 #define LL_EXTI_LINE_13 EXTI_IMR1_IM13 /*!< Extended line 13 */
107 #define LL_EXTI_LINE_14 EXTI_IMR1_IM14 /*!< Extended line 14 */
108 #define LL_EXTI_LINE_15 EXTI_IMR1_IM15 /*!< Extended line 15 */
109 #define LL_EXTI_LINE_16 EXTI_IMR1_IM16 /*!< Extended line 16 */
110 #define LL_EXTI_LINE_17 EXTI_IMR1_IM17 /*!< Extended line 17 */
111 #define LL_EXTI_LINE_18 EXTI_IMR1_IM18 /*!< Extended line 18 */
112 #define LL_EXTI_LINE_19 EXTI_IMR1_IM19 /*!< Extended line 19 */
113 #define LL_EXTI_LINE_20 EXTI_IMR1_IM20 /*!< Extended line 20 */
114 #define LL_EXTI_LINE_21 EXTI_IMR1_IM21 /*!< Extended line 21 */
115 #define LL_EXTI_LINE_22 EXTI_IMR1_IM22 /*!< Extended line 22 */
116 #define LL_EXTI_LINE_23 EXTI_IMR1_IM23 /*!< Extended line 23 */
117 #define LL_EXTI_LINE_24 EXTI_IMR1_IM24 /*!< Extended line 24 */
118 #define LL_EXTI_LINE_25 EXTI_IMR1_IM25 /*!< Extended line 25 */
119 #define LL_EXTI_LINE_26 EXTI_IMR1_IM26 /*!< Extended line 26 */
120 #define LL_EXTI_LINE_27 EXTI_IMR1_IM27 /*!< Extended line 27 */
121 #define LL_EXTI_LINE_28 EXTI_IMR1_IM28 /*!< Extended line 28 */
122 #define LL_EXTI_LINE_29 EXTI_IMR1_IM29 /*!< Extended line 29 */
123 #define LL_EXTI_LINE_30 EXTI_IMR1_IM30 /*!< Extended line 30 */
124 #define LL_EXTI_LINE_31 EXTI_IMR1_IM31 /*!< Extended line 31 */
125 #define LL_EXTI_LINE_ALL_0_31 EXTI_IMR1_IM /*!< All Extended line not reserved*/
127 #define LL_EXTI_LINE_32 EXTI_IMR2_IM32 /*!< Extended line 32 */
128 #define LL_EXTI_LINE_33 EXTI_IMR2_IM33 /*!< Extended line 33 */
129 #define LL_EXTI_LINE_34 EXTI_IMR2_IM34 /*!< Extended line 34 */
130 #define LL_EXTI_LINE_35 EXTI_IMR2_IM35 /*!< Extended line 35 */
131 #define LL_EXTI_LINE_36 EXTI_IMR2_IM36 /*!< Extended line 36 */
132 #define LL_EXTI_LINE_37 EXTI_IMR2_IM37 /*!< Extended line 37 */
133 #define LL_EXTI_LINE_38 EXTI_IMR2_IM38 /*!< Extended line 38 */
134 #define LL_EXTI_LINE_39 EXTI_IMR2_IM39 /*!< Extended line 39 */
135 #define LL_EXTI_LINE_40 EXTI_IMR2_IM40 /*!< Extended line 40 */
136 #define LL_EXTI_LINE_41 EXTI_IMR2_IM41 /*!< Extended line 41 */
137 #define LL_EXTI_LINE_42 EXTI_IMR2_IM42 /*!< Extended line 42 */
138 #define LL_EXTI_LINE_43 EXTI_IMR2_IM43 /*!< Extended line 43 */
139 #if defined(USB2_OTG_FS)
140 #define LL_EXTI_LINE_44 EXTI_IMR2_IM44 /*!< Extended line 44 */
141 #endif /* USB2_OTG_FS */
142 #if defined(DSI)
143 #define LL_EXTI_LINE_46 EXTI_IMR2_IM46 /*!< Extended line 46 */
144 #endif /* DSI */
145 #define LL_EXTI_LINE_47 EXTI_IMR2_IM47 /*!< Extended line 47 */
146 #define LL_EXTI_LINE_48 EXTI_IMR2_IM48 /*!< Extended line 48 */
147 #define LL_EXTI_LINE_49 EXTI_IMR2_IM49 /*!< Extended line 49 */
148 #define LL_EXTI_LINE_50 EXTI_IMR2_IM50 /*!< Extended line 50 */
149 #define LL_EXTI_LINE_51 EXTI_IMR2_IM51 /*!< Extended line 51 */
150 #define LL_EXTI_LINE_52 EXTI_IMR2_IM52 /*!< Extended line 52 */
151 #define LL_EXTI_LINE_53 EXTI_IMR2_IM53 /*!< Extended line 53 */
152 #define LL_EXTI_LINE_54 EXTI_IMR2_IM54 /*!< Extended line 54 */
153 #define LL_EXTI_LINE_55 EXTI_IMR2_IM55 /*!< Extended line 55 */
154 #define LL_EXTI_LINE_56 EXTI_IMR2_IM56 /*!< Extended line 56 */
155 #if defined(EXTI_IMR2_IM57)
156 #define LL_EXTI_LINE_57 EXTI_IMR2_IM57 /*!< Extended line 57 */
157 #endif /*EXTI_IMR2_IM57*/
158 #define LL_EXTI_LINE_58 EXTI_IMR2_IM58 /*!< Extended line 58 */
159 #if defined(EXTI_IMR2_IM59)
160 #define LL_EXTI_LINE_59 EXTI_IMR2_IM59 /*!< Extended line 59 */
161 #endif /*EXTI_IMR2_IM59*/
162 #define LL_EXTI_LINE_60 EXTI_IMR2_IM60 /*!< Extended line 60 */
163 #define LL_EXTI_LINE_61 EXTI_IMR2_IM61 /*!< Extended line 61 */
164 #define LL_EXTI_LINE_62 EXTI_IMR2_IM62 /*!< Extended line 62 */
165 #define LL_EXTI_LINE_63 EXTI_IMR2_IM63 /*!< Extended line 63 */
166 #define LL_EXTI_LINE_ALL_32_63 EXTI_IMR2_IM /*!< All Extended line not reserved*/
168 #define LL_EXTI_LINE_64 EXTI_IMR3_IM64 /*!< Extended line 64 */
169 #define LL_EXTI_LINE_65 EXTI_IMR3_IM65 /*!< Extended line 65 */
170 #define LL_EXTI_LINE_66 EXTI_IMR3_IM66 /*!< Extended line 66 */
171 #define LL_EXTI_LINE_67 EXTI_IMR3_IM67 /*!< Extended line 67 */
172 #define LL_EXTI_LINE_68 EXTI_IMR3_IM68 /*!< Extended line 68 */
173 #define LL_EXTI_LINE_69 EXTI_IMR3_IM69 /*!< Extended line 69 */
174 #define LL_EXTI_LINE_70 EXTI_IMR3_IM70 /*!< Extended line 70 */
175 #define LL_EXTI_LINE_71 EXTI_IMR3_IM71 /*!< Extended line 71 */
176 #define LL_EXTI_LINE_72 EXTI_IMR3_IM72 /*!< Extended line 72 */
177 #define LL_EXTI_LINE_73 EXTI_IMR3_IM73 /*!< Extended line 73 */
178 #define LL_EXTI_LINE_74 EXTI_IMR3_IM74 /*!< Extended line 74 */
179 #if defined(ADC3)
180 #define LL_EXTI_LINE_75 EXTI_IMR3_IM75 /*!< Extended line 75 */
181 #endif /* ADC3 */
182 #if defined(SAI4)
183 #define LL_EXTI_LINE_76 EXTI_IMR3_IM76 /*!< Extended line 76 */
184 #endif /* SAI4 */
185 #if defined(DUAL_CORE)
186 #define LL_EXTI_LINE_77 EXTI_IMR3_IM77 /*!< Extended line 77 */
187 #define LL_EXTI_LINE_78 EXTI_IMR3_IM78 /*!< Extended line 78 */
188 #define LL_EXTI_LINE_79 EXTI_IMR3_IM79 /*!< Extended line 79 */
189 #define LL_EXTI_LINE_80 EXTI_IMR3_IM80 /*!< Extended line 80 */
190 #define LL_EXTI_LINE_82 EXTI_IMR3_IM82 /*!< Extended line 82 */
191 #define LL_EXTI_LINE_84 EXTI_IMR3_IM84 /*!< Extended line 84 */
192 #endif /* DUAL_CORE */
193 #define LL_EXTI_LINE_85 EXTI_IMR3_IM85 /*!< Extended line 85 */
194 #if defined(ETH)
195 #define LL_EXTI_LINE_86 EXTI_IMR3_IM86 /*!< Extended line 86 */
196 #endif /* ETH */
197 #define LL_EXTI_LINE_87 EXTI_IMR3_IM87 /*!< Extended line 87 */
198 #if defined(DTS)
199 #define LL_EXTI_LINE_88 EXTI_IMR3_IM88 /*!< Extended line 88 */
200 #endif /* DTS */
201 #if defined(EXTI_IMR3_IM89)
202 #define LL_EXTI_LINE_89 EXTI_IMR3_IM89 /*!< Extended line 89 */
203 #endif /* EXTI_IMR3_IM89 */
204 #if defined(EXTI_IMR3_IM90)
205 #define LL_EXTI_LINE_90 EXTI_IMR3_IM90 /*!< Extended line 90 */
206 #endif /* EXTI_IMR3_IM90 */
207 #if defined(I2C5)
208 #define LL_EXTI_LINE_91 EXTI_IMR3_IM91 /*!< Extended line 91 */
209 #endif /* I2C5 */
210 #define LL_EXTI_LINE_ALL_64_95 EXTI_IMR3_IM /*!< All Extended line not reserved*/
213 #define LL_EXTI_LINE_ALL (0xFFFFFFFFU) /*!< All Extended line */
215 #if defined(USE_FULL_LL_DRIVER)
216 #define LL_EXTI_LINE_NONE (0x00000000U) /*!< None Extended line */
217 #endif /*USE_FULL_LL_DRIVER*/
220 * @}
222 #if defined(USE_FULL_LL_DRIVER)
224 /** @defgroup EXTI_LL_EC_MODE Mode
225 * @{
227 #define LL_EXTI_MODE_IT ((uint8_t)0x01U) /*!< Cortex-M7 Interrupt Mode */
228 #define LL_EXTI_MODE_EVENT ((uint8_t)0x02U) /*!< Cortex-M7 Event Mode */
229 #define LL_EXTI_MODE_IT_EVENT ((uint8_t)0x03U) /*!< Cortex-M7 Interrupt & Event Mode */
231 #if defined(DUAL_CORE)
232 #define LL_EXTI_MODE_C1_IT LL_EXTI_MODE_IT /*!< Cortex-M7 Interrupt Mode */
233 #define LL_EXTI_MODE_C1_EVENT LL_EXTI_MODE_EVENT /*!< Cortex-M7 Event Mode */
234 #define LL_EXTI_MODE_C1_IT_EVENT LL_EXTI_MODE_IT_EVENT /*!< Cortex-M7 Interrupt & Event Mode */
236 #define LL_EXTI_MODE_C2_IT ((uint8_t)0x10U) /*!< Cortex-M4 Interrupt Mode */
237 #define LL_EXTI_MODE_C2_EVENT ((uint8_t)0x20U) /*!< Cortex-M4 Event Mode */
238 #define LL_EXTI_MODE_C2_IT_EVENT ((uint8_t)0x30U) /*!< Cortex-M4 Interrupt & Event Mode */
239 #endif /* DUAL_CORE */
242 * @}
245 /** @defgroup EXTI_LL_EC_TRIGGER Edge Trigger
246 * @{
248 #define LL_EXTI_TRIGGER_NONE ((uint8_t)0x00U) /*!< No Trigger Mode */
249 #define LL_EXTI_TRIGGER_RISING ((uint8_t)0x01U) /*!< Trigger Rising Mode */
250 #define LL_EXTI_TRIGGER_FALLING ((uint8_t)0x02U) /*!< Trigger Falling Mode */
251 #define LL_EXTI_TRIGGER_RISING_FALLING ((uint8_t)0x03U) /*!< Trigger Rising & Falling Mode */
254 * @}
257 /** @defgroup EXTI_LL_D3_PEND_CLR D3 Pend Clear Source
258 * @{
260 #define LL_EXTI_D3_PEND_CLR_DMACH6 ((uint8_t)0x00U) /*!< DMA ch6 event selected as D3 domain pendclear source */
261 #define LL_EXTI_D3_PEND_CLR_DMACH7 ((uint8_t)0x01U) /*!< DMA ch7 event selected as D3 domain pendclear source */
262 #if defined (LPTIM4)
263 #define LL_EXTI_D3_PEND_CLR_LPTIM4 ((uint8_t)0x02U) /*!< LPTIM4 out selected as D3 domain pendclear source */
264 #else
265 #define LL_EXTI_D3_PEND_CLR_LPTIM2 ((uint8_t)0x02U) /*!< LPTIM2 out selected as D3 domain pendclear source */
266 #endif /*LPTIM4*/
267 #if defined (LPTIM5)
268 #define LL_EXTI_D3_PEND_CLR_LPTIM5 ((uint8_t)0x03U) /*!< LPTIM5 out selected as D3 domain pendclear source */
269 #else
270 #define LL_EXTI_D3_PEND_CLR_LPTIM3 ((uint8_t)0x02U) /*!< LPTIM3 out selected as D3 domain pendclear source */
271 #endif /*LPTIM5*/
273 * @}
277 #endif /*USE_FULL_LL_DRIVER*/
281 * @}
284 /* Exported macro ------------------------------------------------------------*/
285 /** @defgroup EXTI_LL_Exported_Macros EXTI Exported Macros
286 * @{
289 /** @defgroup EXTI_LL_EM_WRITE_READ Common Write and read registers Macros
290 * @{
294 * @brief Write a value in EXTI register
295 * @param __REG__ Register to be written
296 * @param __VALUE__ Value to be written in the register
297 * @retval None
299 #define LL_EXTI_WriteReg(__REG__, __VALUE__) WRITE_REG(EXTI->__REG__, (__VALUE__))
302 * @brief Read a value in EXTI register
303 * @param __REG__ Register to be read
304 * @retval Register value
306 #define LL_EXTI_ReadReg(__REG__) READ_REG(EXTI->__REG__)
309 * @}
314 * @}
319 /* Exported functions --------------------------------------------------------*/
320 /** @defgroup EXTI_LL_Exported_Functions EXTI Exported Functions
321 * @{
323 /** @defgroup EXTI_LL_EF_IT_Management IT_Management
324 * @{
328 * @brief Enable ExtiLine Interrupt request for Lines in range 0 to 31
329 * @rmtoll IMR1 IMx LL_EXTI_EnableIT_0_31
330 * @param ExtiLine This parameter can be one of the following values:
331 * @arg @ref LL_EXTI_LINE_0
332 * @arg @ref LL_EXTI_LINE_1
333 * @arg @ref LL_EXTI_LINE_2
334 * @arg @ref LL_EXTI_LINE_3
335 * @arg @ref LL_EXTI_LINE_4
336 * @arg @ref LL_EXTI_LINE_5
337 * @arg @ref LL_EXTI_LINE_6
338 * @arg @ref LL_EXTI_LINE_7
339 * @arg @ref LL_EXTI_LINE_8
340 * @arg @ref LL_EXTI_LINE_9
341 * @arg @ref LL_EXTI_LINE_10
342 * @arg @ref LL_EXTI_LINE_11
343 * @arg @ref LL_EXTI_LINE_12
344 * @arg @ref LL_EXTI_LINE_13
345 * @arg @ref LL_EXTI_LINE_14
346 * @arg @ref LL_EXTI_LINE_15
347 * @arg @ref LL_EXTI_LINE_16
348 * @arg @ref LL_EXTI_LINE_17
349 * @arg @ref LL_EXTI_LINE_18
350 * @arg @ref LL_EXTI_LINE_19
351 * @arg @ref LL_EXTI_LINE_20
352 * @arg @ref LL_EXTI_LINE_21
353 * @arg @ref LL_EXTI_LINE_22
354 * @arg @ref LL_EXTI_LINE_23
355 * @arg @ref LL_EXTI_LINE_24
356 * @arg @ref LL_EXTI_LINE_25
357 * @arg @ref LL_EXTI_LINE_26
358 * @arg @ref LL_EXTI_LINE_27
359 * @arg @ref LL_EXTI_LINE_28
360 * @arg @ref LL_EXTI_LINE_29
361 * @arg @ref LL_EXTI_LINE_30
362 * @arg @ref LL_EXTI_LINE_31
363 * @arg @ref LL_EXTI_LINE_ALL_0_31
364 * @retval None
366 __STATIC_INLINE void LL_EXTI_EnableIT_0_31(uint32_t ExtiLine)
368 SET_BIT(EXTI->IMR1, ExtiLine);
372 * @brief Enable ExtiLine Interrupt request for Lines in range 32 to 63
373 * @rmtoll IMR2 IMx LL_EXTI_EnableIT_32_63
374 * @param ExtiLine This parameter can be one of the following values:
375 * @arg @ref LL_EXTI_LINE_32
376 * @arg @ref LL_EXTI_LINE_33
377 * @arg @ref LL_EXTI_LINE_34
378 * @arg @ref LL_EXTI_LINE_35
379 * @arg @ref LL_EXTI_LINE_36
380 * @arg @ref LL_EXTI_LINE_37
381 * @arg @ref LL_EXTI_LINE_38
382 * @arg @ref LL_EXTI_LINE_39
383 * @arg @ref LL_EXTI_LINE_40
384 * @arg @ref LL_EXTI_LINE_41
385 * @arg @ref LL_EXTI_LINE_42
386 * @arg @ref LL_EXTI_LINE_43
387 * @arg @ref LL_EXTI_LINE_44 (*)
388 * @arg @ref LL_EXTI_LINE_46 (*)
389 * @arg @ref LL_EXTI_LINE_47
390 * @arg @ref LL_EXTI_LINE_48
391 * @arg @ref LL_EXTI_LINE_49
392 * @arg @ref LL_EXTI_LINE_50
393 * @arg @ref LL_EXTI_LINE_51
394 * @arg @ref LL_EXTI_LINE_52
395 * @arg @ref LL_EXTI_LINE_53
396 * @arg @ref LL_EXTI_LINE_54
397 * @arg @ref LL_EXTI_LINE_55
398 * @arg @ref LL_EXTI_LINE_56
399 * @arg @ref LL_EXTI_LINE_57 (*)
400 * @arg @ref LL_EXTI_LINE_58
401 * @arg @ref LL_EXTI_LINE_59 (*)
402 * @arg @ref LL_EXTI_LINE_60
403 * @arg @ref LL_EXTI_LINE_61
404 * @arg @ref LL_EXTI_LINE_62
405 * @arg @ref LL_EXTI_LINE_63
406 * @arg @ref LL_EXTI_LINE_ALL_32_63
408 * (*) value not defined in all devices.
409 * @retval None
411 __STATIC_INLINE void LL_EXTI_EnableIT_32_63(uint32_t ExtiLine)
413 SET_BIT(EXTI->IMR2, ExtiLine);
418 * @brief Enable ExtiLine Interrupt request for Lines in range 64 to 95
419 * @rmtoll IMR3 IMx LL_EXTI_EnableIT_64_95
420 * @param ExtiLine This parameter can be one of the following values:
421 * @arg @ref LL_EXTI_LINE_64
422 * @arg @ref LL_EXTI_LINE_65
423 * @arg @ref LL_EXTI_LINE_66
424 * @arg @ref LL_EXTI_LINE_67
425 * @arg @ref LL_EXTI_LINE_68
426 * @arg @ref LL_EXTI_LINE_69
427 * @arg @ref LL_EXTI_LINE_70
428 * @arg @ref LL_EXTI_LINE_71
429 * @arg @ref LL_EXTI_LINE_72
430 * @arg @ref LL_EXTI_LINE_73
431 * @arg @ref LL_EXTI_LINE_74
432 * @arg @ref LL_EXTI_LINE_75 (*)
433 * @arg @ref LL_EXTI_LINE_76 (*)
434 * @arg @ref LL_EXTI_LINE_77 (**)
435 * @arg @ref LL_EXTI_LINE_78 (**)
436 * @arg @ref LL_EXTI_LINE_79 (**)
437 * @arg @ref LL_EXTI_LINE_80 (**)
438 * @arg @ref LL_EXTI_LINE_82 (**)
439 * @arg @ref LL_EXTI_LINE_84 (**)
440 * @arg @ref LL_EXTI_LINE_85
441 * @arg @ref LL_EXTI_LINE_86 (*)
442 * @arg @ref LL_EXTI_LINE_87
443 * @arg @ref LL_EXTI_LINE_88 (*)
444 * @arg @ref LL_EXTI_LINE_89 (*)
445 * @arg @ref LL_EXTI_LINE_90 (*)
446 * @arg @ref LL_EXTI_LINE_91 (*)
447 * @arg @ref LL_EXTI_LINE_ALL_64_95
449 * (*) value not defined in all devices.
450 * (**) value only defined in dual core devices.
451 * @retval None
453 __STATIC_INLINE void LL_EXTI_EnableIT_64_95(uint32_t ExtiLine)
455 SET_BIT(EXTI->IMR3, ExtiLine);
460 * @brief Disable ExtiLine Interrupt request for Lines in range 0 to 31
461 * @rmtoll IMR1 IMx LL_EXTI_DisableIT_0_31
462 * @param ExtiLine This parameter can be one of the following values:
463 * @arg @ref LL_EXTI_LINE_0
464 * @arg @ref LL_EXTI_LINE_1
465 * @arg @ref LL_EXTI_LINE_2
466 * @arg @ref LL_EXTI_LINE_3
467 * @arg @ref LL_EXTI_LINE_4
468 * @arg @ref LL_EXTI_LINE_5
469 * @arg @ref LL_EXTI_LINE_6
470 * @arg @ref LL_EXTI_LINE_7
471 * @arg @ref LL_EXTI_LINE_8
472 * @arg @ref LL_EXTI_LINE_9
473 * @arg @ref LL_EXTI_LINE_10
474 * @arg @ref LL_EXTI_LINE_11
475 * @arg @ref LL_EXTI_LINE_12
476 * @arg @ref LL_EXTI_LINE_13
477 * @arg @ref LL_EXTI_LINE_14
478 * @arg @ref LL_EXTI_LINE_15
479 * @arg @ref LL_EXTI_LINE_16
480 * @arg @ref LL_EXTI_LINE_17
481 * @arg @ref LL_EXTI_LINE_18
482 * @arg @ref LL_EXTI_LINE_19
483 * @arg @ref LL_EXTI_LINE_20
484 * @arg @ref LL_EXTI_LINE_21
485 * @arg @ref LL_EXTI_LINE_22
486 * @arg @ref LL_EXTI_LINE_23
487 * @arg @ref LL_EXTI_LINE_24
488 * @arg @ref LL_EXTI_LINE_25
489 * @arg @ref LL_EXTI_LINE_26
490 * @arg @ref LL_EXTI_LINE_27
491 * @arg @ref LL_EXTI_LINE_28
492 * @arg @ref LL_EXTI_LINE_29
493 * @arg @ref LL_EXTI_LINE_30
494 * @arg @ref LL_EXTI_LINE_31
495 * @arg @ref LL_EXTI_LINE_ALL_0_31
496 * @retval None
498 __STATIC_INLINE void LL_EXTI_DisableIT_0_31(uint32_t ExtiLine)
500 CLEAR_BIT(EXTI->IMR1, ExtiLine);
505 * @brief Disable ExtiLine Interrupt request for Lines in range 32 to 63
506 * @rmtoll IMR2 IMx LL_EXTI_DisableIT_32_63
507 * @param ExtiLine This parameter can be one of the following values:
508 * @arg @ref LL_EXTI_LINE_32
509 * @arg @ref LL_EXTI_LINE_33
510 * @arg @ref LL_EXTI_LINE_34
511 * @arg @ref LL_EXTI_LINE_35
512 * @arg @ref LL_EXTI_LINE_36
513 * @arg @ref LL_EXTI_LINE_37
514 * @arg @ref LL_EXTI_LINE_38
515 * @arg @ref LL_EXTI_LINE_39
516 * @arg @ref LL_EXTI_LINE_40
517 * @arg @ref LL_EXTI_LINE_41
518 * @arg @ref LL_EXTI_LINE_42
519 * @arg @ref LL_EXTI_LINE_43
520 * @arg @ref LL_EXTI_LINE_44 (*)
521 * @arg @ref LL_EXTI_LINE_46 (*)
522 * @arg @ref LL_EXTI_LINE_47
523 * @arg @ref LL_EXTI_LINE_48
524 * @arg @ref LL_EXTI_LINE_49
525 * @arg @ref LL_EXTI_LINE_50
526 * @arg @ref LL_EXTI_LINE_51
527 * @arg @ref LL_EXTI_LINE_52
528 * @arg @ref LL_EXTI_LINE_53
529 * @arg @ref LL_EXTI_LINE_54
530 * @arg @ref LL_EXTI_LINE_55
531 * @arg @ref LL_EXTI_LINE_56
532 * @arg @ref LL_EXTI_LINE_57 (*)
533 * @arg @ref LL_EXTI_LINE_58
534 * @arg @ref LL_EXTI_LINE_59 (*)
535 * @arg @ref LL_EXTI_LINE_60
536 * @arg @ref LL_EXTI_LINE_61
537 * @arg @ref LL_EXTI_LINE_62
538 * @arg @ref LL_EXTI_LINE_63
539 * @arg @ref LL_EXTI_LINE_ALL_32_63
541 * (*) value not defined in all devices.
542 * @retval None
544 __STATIC_INLINE void LL_EXTI_DisableIT_32_63(uint32_t ExtiLine)
546 CLEAR_BIT(EXTI->IMR2, ExtiLine);
550 * @brief Disable ExtiLine Interrupt request for Lines in range 64 to 95
551 * @rmtoll IMR3 IMx LL_EXTI_DisableIT_64_95
552 * @param ExtiLine This parameter can be one of the following values:
553 * @arg @ref LL_EXTI_LINE_64
554 * @arg @ref LL_EXTI_LINE_65
555 * @arg @ref LL_EXTI_LINE_66
556 * @arg @ref LL_EXTI_LINE_67
557 * @arg @ref LL_EXTI_LINE_68
558 * @arg @ref LL_EXTI_LINE_69
559 * @arg @ref LL_EXTI_LINE_70
560 * @arg @ref LL_EXTI_LINE_71
561 * @arg @ref LL_EXTI_LINE_72
562 * @arg @ref LL_EXTI_LINE_73
563 * @arg @ref LL_EXTI_LINE_74
564 * @arg @ref LL_EXTI_LINE_75 (*)
565 * @arg @ref LL_EXTI_LINE_76 (*)
566 * @arg @ref LL_EXTI_LINE_77 (**)
567 * @arg @ref LL_EXTI_LINE_78 (**)
568 * @arg @ref LL_EXTI_LINE_79 (**)
569 * @arg @ref LL_EXTI_LINE_80 (**)
570 * @arg @ref LL_EXTI_LINE_82 (**)
571 * @arg @ref LL_EXTI_LINE_84 (**)
572 * @arg @ref LL_EXTI_LINE_85
573 * @arg @ref LL_EXTI_LINE_86 (*)
574 * @arg @ref LL_EXTI_LINE_87
575 * @arg @ref LL_EXTI_LINE_88 (*)
576 * @arg @ref LL_EXTI_LINE_89 (*)
577 * @arg @ref LL_EXTI_LINE_90 (*)
578 * @arg @ref LL_EXTI_LINE_91 (*)
579 * @arg @ref LL_EXTI_LINE_ALL_64_95
581 * (*) value not defined in all devices.
582 * (**) value only defined in dual core devices.
583 * @retval None
585 __STATIC_INLINE void LL_EXTI_DisableIT_64_95(uint32_t ExtiLine)
587 CLEAR_BIT(EXTI->IMR3, ExtiLine);
592 * @brief Indicate if ExtiLine Interrupt request is enabled for Lines in range 0 to 31
593 * @rmtoll IMR1 IMx LL_EXTI_IsEnabledIT_0_31
594 * @param ExtiLine This parameter can be one of the following values:
595 * @arg @ref LL_EXTI_LINE_0
596 * @arg @ref LL_EXTI_LINE_1
597 * @arg @ref LL_EXTI_LINE_2
598 * @arg @ref LL_EXTI_LINE_3
599 * @arg @ref LL_EXTI_LINE_4
600 * @arg @ref LL_EXTI_LINE_5
601 * @arg @ref LL_EXTI_LINE_6
602 * @arg @ref LL_EXTI_LINE_7
603 * @arg @ref LL_EXTI_LINE_8
604 * @arg @ref LL_EXTI_LINE_9
605 * @arg @ref LL_EXTI_LINE_10
606 * @arg @ref LL_EXTI_LINE_11
607 * @arg @ref LL_EXTI_LINE_12
608 * @arg @ref LL_EXTI_LINE_13
609 * @arg @ref LL_EXTI_LINE_14
610 * @arg @ref LL_EXTI_LINE_15
611 * @arg @ref LL_EXTI_LINE_16
612 * @arg @ref LL_EXTI_LINE_17
613 * @arg @ref LL_EXTI_LINE_18
614 * @arg @ref LL_EXTI_LINE_19
615 * @arg @ref LL_EXTI_LINE_20
616 * @arg @ref LL_EXTI_LINE_21
617 * @arg @ref LL_EXTI_LINE_22
618 * @arg @ref LL_EXTI_LINE_23
619 * @arg @ref LL_EXTI_LINE_24
620 * @arg @ref LL_EXTI_LINE_25
621 * @arg @ref LL_EXTI_LINE_26
622 * @arg @ref LL_EXTI_LINE_27
623 * @arg @ref LL_EXTI_LINE_28
624 * @arg @ref LL_EXTI_LINE_29
625 * @arg @ref LL_EXTI_LINE_30
626 * @arg @ref LL_EXTI_LINE_31
627 * @arg @ref LL_EXTI_LINE_ALL_0_31
628 * @retval State of bit (1 or 0).
630 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_0_31(uint32_t ExtiLine)
632 return ((READ_BIT(EXTI->IMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
637 * @brief Indicate if ExtiLine Interrupt request is enabled for Lines in range 32 to 63
638 * @rmtoll IMR2 IMx LL_EXTI_IsEnabledIT_32_63
639 * @param ExtiLine This parameter can be one of the following values:
640 * @arg @ref LL_EXTI_LINE_32
641 * @arg @ref LL_EXTI_LINE_33
642 * @arg @ref LL_EXTI_LINE_34
643 * @arg @ref LL_EXTI_LINE_35
644 * @arg @ref LL_EXTI_LINE_36
645 * @arg @ref LL_EXTI_LINE_37
646 * @arg @ref LL_EXTI_LINE_38
647 * @arg @ref LL_EXTI_LINE_39
648 * @arg @ref LL_EXTI_LINE_40
649 * @arg @ref LL_EXTI_LINE_41
650 * @arg @ref LL_EXTI_LINE_42
651 * @arg @ref LL_EXTI_LINE_43
652 * @arg @ref LL_EXTI_LINE_44 (*)
653 * @arg @ref LL_EXTI_LINE_46 (*)
654 * @arg @ref LL_EXTI_LINE_47
655 * @arg @ref LL_EXTI_LINE_48
656 * @arg @ref LL_EXTI_LINE_49
657 * @arg @ref LL_EXTI_LINE_50
658 * @arg @ref LL_EXTI_LINE_51
659 * @arg @ref LL_EXTI_LINE_52
660 * @arg @ref LL_EXTI_LINE_53
661 * @arg @ref LL_EXTI_LINE_54
662 * @arg @ref LL_EXTI_LINE_55
663 * @arg @ref LL_EXTI_LINE_56
664 * @arg @ref LL_EXTI_LINE_57 (*)
665 * @arg @ref LL_EXTI_LINE_58
666 * @arg @ref LL_EXTI_LINE_59 (*)
667 * @arg @ref LL_EXTI_LINE_60
668 * @arg @ref LL_EXTI_LINE_61
669 * @arg @ref LL_EXTI_LINE_62
670 * @arg @ref LL_EXTI_LINE_63
671 * @arg @ref LL_EXTI_LINE_ALL_32_63
673 * (*) value not defined in all devices.
674 * @retval State of bit (1 or 0).
676 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_32_63(uint32_t ExtiLine)
678 return ((READ_BIT(EXTI->IMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
683 * @brief Indicate if ExtiLine Interrupt request is enabled for Lines in range 64 to 95
684 * @rmtoll IMR3 IMx LL_EXTI_IsEnabledIT_64_95
685 * @param ExtiLine This parameter can be one of the following values:
686 * @arg @ref LL_EXTI_LINE_64
687 * @arg @ref LL_EXTI_LINE_65
688 * @arg @ref LL_EXTI_LINE_66
689 * @arg @ref LL_EXTI_LINE_67
690 * @arg @ref LL_EXTI_LINE_68
691 * @arg @ref LL_EXTI_LINE_69
692 * @arg @ref LL_EXTI_LINE_70
693 * @arg @ref LL_EXTI_LINE_71
694 * @arg @ref LL_EXTI_LINE_72
695 * @arg @ref LL_EXTI_LINE_73
696 * @arg @ref LL_EXTI_LINE_74
697 * @arg @ref LL_EXTI_LINE_75 (*)
698 * @arg @ref LL_EXTI_LINE_76 (*)
699 * @arg @ref LL_EXTI_LINE_77 (**)
700 * @arg @ref LL_EXTI_LINE_78 (**)
701 * @arg @ref LL_EXTI_LINE_79 (**)
702 * @arg @ref LL_EXTI_LINE_80 (**)
703 * @arg @ref LL_EXTI_LINE_82 (**)
704 * @arg @ref LL_EXTI_LINE_84 (**)
705 * @arg @ref LL_EXTI_LINE_85
706 * @arg @ref LL_EXTI_LINE_86 (*)
707 * @arg @ref LL_EXTI_LINE_87
708 * @arg @ref LL_EXTI_LINE_88 (*)
709 * @arg @ref LL_EXTI_LINE_89 (*)
710 * @arg @ref LL_EXTI_LINE_90 (*)
711 * @arg @ref LL_EXTI_LINE_91 (*)
712 * @arg @ref LL_EXTI_LINE_ALL_64_95
714 * (*) value not defined in all devices.
715 * (**) value only defined in dual core devices.
716 * @retval State of bit (1 or 0).
718 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_64_95(uint32_t ExtiLine)
720 return ((READ_BIT(EXTI->IMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
723 #if defined(DUAL_CORE)
725 * @brief Enable ExtiLine Interrupt request for Lines in range 0 to 31 for cpu2
726 * @rmtoll C2IMR1 IMx LL_C2_EXTI_EnableIT_0_31
727 * @param ExtiLine This parameter can be one of the following values:
728 * @arg @ref LL_EXTI_LINE_0
729 * @arg @ref LL_EXTI_LINE_1
730 * @arg @ref LL_EXTI_LINE_2
731 * @arg @ref LL_EXTI_LINE_3
732 * @arg @ref LL_EXTI_LINE_4
733 * @arg @ref LL_EXTI_LINE_5
734 * @arg @ref LL_EXTI_LINE_6
735 * @arg @ref LL_EXTI_LINE_7
736 * @arg @ref LL_EXTI_LINE_8
737 * @arg @ref LL_EXTI_LINE_9
738 * @arg @ref LL_EXTI_LINE_10
739 * @arg @ref LL_EXTI_LINE_11
740 * @arg @ref LL_EXTI_LINE_12
741 * @arg @ref LL_EXTI_LINE_13
742 * @arg @ref LL_EXTI_LINE_14
743 * @arg @ref LL_EXTI_LINE_15
744 * @arg @ref LL_EXTI_LINE_16
745 * @arg @ref LL_EXTI_LINE_17
746 * @arg @ref LL_EXTI_LINE_18
747 * @arg @ref LL_EXTI_LINE_19
748 * @arg @ref LL_EXTI_LINE_20
749 * @arg @ref LL_EXTI_LINE_21
750 * @arg @ref LL_EXTI_LINE_22
751 * @arg @ref LL_EXTI_LINE_23
752 * @arg @ref LL_EXTI_LINE_24
753 * @arg @ref LL_EXTI_LINE_25
754 * @arg @ref LL_EXTI_LINE_26
755 * @arg @ref LL_EXTI_LINE_27
756 * @arg @ref LL_EXTI_LINE_28
757 * @arg @ref LL_EXTI_LINE_29
758 * @arg @ref LL_EXTI_LINE_30
759 * @arg @ref LL_EXTI_LINE_31
760 * @arg @ref LL_EXTI_LINE_ALL_0_31
761 * @retval None
763 __STATIC_INLINE void LL_C2_EXTI_EnableIT_0_31(uint32_t ExtiLine)
765 SET_BIT(EXTI->C2IMR1, ExtiLine);
770 * @brief Enable ExtiLine Interrupt request for Lines in range 32 to 63 for cpu2
771 * @rmtoll C2IMR2 IMx LL_C2_EXTI_EnableIT_32_63
772 * @param ExtiLine This parameter can be one of the following values:
773 * @arg @ref LL_EXTI_LINE_32
774 * @arg @ref LL_EXTI_LINE_33
775 * @arg @ref LL_EXTI_LINE_34
776 * @arg @ref LL_EXTI_LINE_35
777 * @arg @ref LL_EXTI_LINE_36
778 * @arg @ref LL_EXTI_LINE_37
779 * @arg @ref LL_EXTI_LINE_38
780 * @arg @ref LL_EXTI_LINE_39
781 * @arg @ref LL_EXTI_LINE_40
782 * @arg @ref LL_EXTI_LINE_41
783 * @arg @ref LL_EXTI_LINE_42
784 * @arg @ref LL_EXTI_LINE_43
785 * @arg @ref LL_EXTI_LINE_44
786 * @arg @ref LL_EXTI_LINE_46
787 * @arg @ref LL_EXTI_LINE_47
788 * @arg @ref LL_EXTI_LINE_48
789 * @arg @ref LL_EXTI_LINE_49
790 * @arg @ref LL_EXTI_LINE_50
791 * @arg @ref LL_EXTI_LINE_51
792 * @arg @ref LL_EXTI_LINE_52
793 * @arg @ref LL_EXTI_LINE_53
794 * @arg @ref LL_EXTI_LINE_54
795 * @arg @ref LL_EXTI_LINE_55
796 * @arg @ref LL_EXTI_LINE_56
797 * @arg @ref LL_EXTI_LINE_57
798 * @arg @ref LL_EXTI_LINE_58
799 * @arg @ref LL_EXTI_LINE_59
800 * @arg @ref LL_EXTI_LINE_60
801 * @arg @ref LL_EXTI_LINE_61
802 * @arg @ref LL_EXTI_LINE_62
803 * @arg @ref LL_EXTI_LINE_63
804 * @arg @ref LL_EXTI_LINE_ALL_32_63
805 * @retval None
807 __STATIC_INLINE void LL_C2_EXTI_EnableIT_32_63(uint32_t ExtiLine)
809 SET_BIT(EXTI->C2IMR2, ExtiLine);
814 * @brief Enable ExtiLine Interrupt request for Lines in range 64 to 95
815 * @rmtoll C2IMR3 IMx LL_C2_EXTI_EnableIT_64_95
816 * @param ExtiLine This parameter can be one of the following values:
817 * @arg @ref LL_EXTI_LINE_64
818 * @arg @ref LL_EXTI_LINE_65
819 * @arg @ref LL_EXTI_LINE_66
820 * @arg @ref LL_EXTI_LINE_67
821 * @arg @ref LL_EXTI_LINE_68
822 * @arg @ref LL_EXTI_LINE_69
823 * @arg @ref LL_EXTI_LINE_70
824 * @arg @ref LL_EXTI_LINE_71
825 * @arg @ref LL_EXTI_LINE_72
826 * @arg @ref LL_EXTI_LINE_73
827 * @arg @ref LL_EXTI_LINE_74
828 * @arg @ref LL_EXTI_LINE_75
829 * @arg @ref LL_EXTI_LINE_76
830 * @arg @ref LL_EXTI_LINE_77
831 * @arg @ref LL_EXTI_LINE_78
832 * @arg @ref LL_EXTI_LINE_79
833 * @arg @ref LL_EXTI_LINE_80
834 * @arg @ref LL_EXTI_LINE_82
835 * @arg @ref LL_EXTI_LINE_84
836 * @arg @ref LL_EXTI_LINE_85
837 * @arg @ref LL_EXTI_LINE_86
838 * @arg @ref LL_EXTI_LINE_87
839 * @arg @ref LL_EXTI_LINE_ALL_64_95
840 * @retval None
842 __STATIC_INLINE void LL_C2_EXTI_EnableIT_64_95(uint32_t ExtiLine)
844 SET_BIT(EXTI->C2IMR3, ExtiLine);
849 * @brief Disable ExtiLine Interrupt request for Lines in range 0 to 31 for cpu2
850 * @rmtoll C2IMR1 IMx LL_C2_EXTI_DisableIT_0_31
851 * @param ExtiLine This parameter can be one of the following values:
852 * @arg @ref LL_EXTI_LINE_0
853 * @arg @ref LL_EXTI_LINE_1
854 * @arg @ref LL_EXTI_LINE_2
855 * @arg @ref LL_EXTI_LINE_3
856 * @arg @ref LL_EXTI_LINE_4
857 * @arg @ref LL_EXTI_LINE_5
858 * @arg @ref LL_EXTI_LINE_6
859 * @arg @ref LL_EXTI_LINE_7
860 * @arg @ref LL_EXTI_LINE_8
861 * @arg @ref LL_EXTI_LINE_9
862 * @arg @ref LL_EXTI_LINE_10
863 * @arg @ref LL_EXTI_LINE_11
864 * @arg @ref LL_EXTI_LINE_12
865 * @arg @ref LL_EXTI_LINE_13
866 * @arg @ref LL_EXTI_LINE_14
867 * @arg @ref LL_EXTI_LINE_15
868 * @arg @ref LL_EXTI_LINE_16
869 * @arg @ref LL_EXTI_LINE_17
870 * @arg @ref LL_EXTI_LINE_18
871 * @arg @ref LL_EXTI_LINE_19
872 * @arg @ref LL_EXTI_LINE_20
873 * @arg @ref LL_EXTI_LINE_21
874 * @arg @ref LL_EXTI_LINE_22
875 * @arg @ref LL_EXTI_LINE_23
876 * @arg @ref LL_EXTI_LINE_24
877 * @arg @ref LL_EXTI_LINE_25
878 * @arg @ref LL_EXTI_LINE_26
879 * @arg @ref LL_EXTI_LINE_27
880 * @arg @ref LL_EXTI_LINE_28
881 * @arg @ref LL_EXTI_LINE_29
882 * @arg @ref LL_EXTI_LINE_30
883 * @arg @ref LL_EXTI_LINE_31
884 * @arg @ref LL_EXTI_LINE_ALL_0_31
885 * @retval None
887 __STATIC_INLINE void LL_C2_EXTI_DisableIT_0_31(uint32_t ExtiLine)
889 CLEAR_BIT(EXTI->C2IMR1, ExtiLine);
895 * @brief Disable ExtiLine Interrupt request for Lines in range 32 to 63 for cpu2
896 * @rmtoll C2IMR2 IMx LL_C2_EXTI_DisableIT_32_63
897 * @param ExtiLine This parameter can be one of the following values:
898 * @arg @ref LL_EXTI_LINE_32
899 * @arg @ref LL_EXTI_LINE_33
900 * @arg @ref LL_EXTI_LINE_34
901 * @arg @ref LL_EXTI_LINE_35
902 * @arg @ref LL_EXTI_LINE_36
903 * @arg @ref LL_EXTI_LINE_37
904 * @arg @ref LL_EXTI_LINE_38
905 * @arg @ref LL_EXTI_LINE_39
906 * @arg @ref LL_EXTI_LINE_40
907 * @arg @ref LL_EXTI_LINE_41
908 * @arg @ref LL_EXTI_LINE_42
909 * @arg @ref LL_EXTI_LINE_43
910 * @arg @ref LL_EXTI_LINE_44
911 * @arg @ref LL_EXTI_LINE_46
912 * @arg @ref LL_EXTI_LINE_47
913 * @arg @ref LL_EXTI_LINE_48
914 * @arg @ref LL_EXTI_LINE_49
915 * @arg @ref LL_EXTI_LINE_50
916 * @arg @ref LL_EXTI_LINE_51
917 * @arg @ref LL_EXTI_LINE_52
918 * @arg @ref LL_EXTI_LINE_53
919 * @arg @ref LL_EXTI_LINE_54
920 * @arg @ref LL_EXTI_LINE_55
921 * @arg @ref LL_EXTI_LINE_56
922 * @arg @ref LL_EXTI_LINE_57
923 * @arg @ref LL_EXTI_LINE_58
924 * @arg @ref LL_EXTI_LINE_59
925 * @arg @ref LL_EXTI_LINE_60
926 * @arg @ref LL_EXTI_LINE_61
927 * @arg @ref LL_EXTI_LINE_62
928 * @arg @ref LL_EXTI_LINE_63
929 * @arg @ref LL_EXTI_LINE_ALL_32_63
930 * @retval None
932 __STATIC_INLINE void LL_C2_EXTI_DisableIT_32_63(uint32_t ExtiLine)
934 CLEAR_BIT(EXTI->C2IMR2, ExtiLine);
939 * @brief Disable ExtiLine Interrupt request for Lines in range 64 to 95 for cpu2
940 * @rmtoll C2IMR3 IMx LL_C2_EXTI_DisableIT_64_95
941 * @param ExtiLine This parameter can be one of the following values:
942 * @arg @ref LL_EXTI_LINE_64
943 * @arg @ref LL_EXTI_LINE_65
944 * @arg @ref LL_EXTI_LINE_66
945 * @arg @ref LL_EXTI_LINE_67
946 * @arg @ref LL_EXTI_LINE_68
947 * @arg @ref LL_EXTI_LINE_69
948 * @arg @ref LL_EXTI_LINE_70
949 * @arg @ref LL_EXTI_LINE_71
950 * @arg @ref LL_EXTI_LINE_72
951 * @arg @ref LL_EXTI_LINE_73
952 * @arg @ref LL_EXTI_LINE_74
953 * @arg @ref LL_EXTI_LINE_75
954 * @arg @ref LL_EXTI_LINE_76
955 * @arg @ref LL_EXTI_LINE_77
956 * @arg @ref LL_EXTI_LINE_78
957 * @arg @ref LL_EXTI_LINE_79
958 * @arg @ref LL_EXTI_LINE_80
959 * @arg @ref LL_EXTI_LINE_82
960 * @arg @ref LL_EXTI_LINE_84
961 * @arg @ref LL_EXTI_LINE_85
962 * @arg @ref LL_EXTI_LINE_86
963 * @arg @ref LL_EXTI_LINE_87
964 * @arg @ref LL_EXTI_LINE_ALL_64_95
965 * @retval None
967 __STATIC_INLINE void LL_C2_EXTI_DisableIT_64_95(uint32_t ExtiLine)
969 CLEAR_BIT(EXTI->C2IMR3, ExtiLine);
974 * @brief Indicate if ExtiLine Interrupt request is enabled for Lines in range 0 to 31 for cpu2
975 * @rmtoll C2IMR1 IMx LL_C2_EXTI_IsEnabledIT_0_31
976 * @param ExtiLine This parameter can be one of the following values:
977 * @arg @ref LL_EXTI_LINE_0
978 * @arg @ref LL_EXTI_LINE_1
979 * @arg @ref LL_EXTI_LINE_2
980 * @arg @ref LL_EXTI_LINE_3
981 * @arg @ref LL_EXTI_LINE_4
982 * @arg @ref LL_EXTI_LINE_5
983 * @arg @ref LL_EXTI_LINE_6
984 * @arg @ref LL_EXTI_LINE_7
985 * @arg @ref LL_EXTI_LINE_8
986 * @arg @ref LL_EXTI_LINE_9
987 * @arg @ref LL_EXTI_LINE_10
988 * @arg @ref LL_EXTI_LINE_11
989 * @arg @ref LL_EXTI_LINE_12
990 * @arg @ref LL_EXTI_LINE_13
991 * @arg @ref LL_EXTI_LINE_14
992 * @arg @ref LL_EXTI_LINE_15
993 * @arg @ref LL_EXTI_LINE_16
994 * @arg @ref LL_EXTI_LINE_17
995 * @arg @ref LL_EXTI_LINE_18
996 * @arg @ref LL_EXTI_LINE_19
997 * @arg @ref LL_EXTI_LINE_20
998 * @arg @ref LL_EXTI_LINE_21
999 * @arg @ref LL_EXTI_LINE_22
1000 * @arg @ref LL_EXTI_LINE_23
1001 * @arg @ref LL_EXTI_LINE_24
1002 * @arg @ref LL_EXTI_LINE_25
1003 * @arg @ref LL_EXTI_LINE_26
1004 * @arg @ref LL_EXTI_LINE_27
1005 * @arg @ref LL_EXTI_LINE_28
1006 * @arg @ref LL_EXTI_LINE_29
1007 * @arg @ref LL_EXTI_LINE_30
1008 * @arg @ref LL_EXTI_LINE_31
1009 * @arg @ref LL_EXTI_LINE_ALL_0_31
1010 * @retval State of bit (1 or 0).
1012 __STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledIT_0_31(uint32_t ExtiLine)
1014 return ((READ_BIT(EXTI->C2IMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1019 * @brief Indicate if ExtiLine Interrupt request is enabled for Lines in range 32 to 63 for cpu2
1020 * @rmtoll C2IMR2 IMx LL_C2_EXTI_IsEnabledIT_32_63
1021 * @param ExtiLine This parameter can be one of the following values:
1022 * @arg @ref LL_EXTI_LINE_32
1023 * @arg @ref LL_EXTI_LINE_33
1024 * @arg @ref LL_EXTI_LINE_34
1025 * @arg @ref LL_EXTI_LINE_35
1026 * @arg @ref LL_EXTI_LINE_36
1027 * @arg @ref LL_EXTI_LINE_37
1028 * @arg @ref LL_EXTI_LINE_38
1029 * @arg @ref LL_EXTI_LINE_39
1030 * @arg @ref LL_EXTI_LINE_40
1031 * @arg @ref LL_EXTI_LINE_41
1032 * @arg @ref LL_EXTI_LINE_42
1033 * @arg @ref LL_EXTI_LINE_43
1034 * @arg @ref LL_EXTI_LINE_44
1035 * @arg @ref LL_EXTI_LINE_46
1036 * @arg @ref LL_EXTI_LINE_47
1037 * @arg @ref LL_EXTI_LINE_48
1038 * @arg @ref LL_EXTI_LINE_49
1039 * @arg @ref LL_EXTI_LINE_50
1040 * @arg @ref LL_EXTI_LINE_51
1041 * @arg @ref LL_EXTI_LINE_52
1042 * @arg @ref LL_EXTI_LINE_53
1043 * @arg @ref LL_EXTI_LINE_54
1044 * @arg @ref LL_EXTI_LINE_55
1045 * @arg @ref LL_EXTI_LINE_56
1046 * @arg @ref LL_EXTI_LINE_57
1047 * @arg @ref LL_EXTI_LINE_58
1048 * @arg @ref LL_EXTI_LINE_59
1049 * @arg @ref LL_EXTI_LINE_60
1050 * @arg @ref LL_EXTI_LINE_61
1051 * @arg @ref LL_EXTI_LINE_62
1052 * @arg @ref LL_EXTI_LINE_63
1053 * @arg @ref LL_EXTI_LINE_ALL_32_63
1054 * @retval State of bit (1 or 0).
1056 __STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledIT_32_63(uint32_t ExtiLine)
1058 return ((READ_BIT(EXTI->C2IMR2, ExtiLine) == (ExtiLine))? 1U : 0U);
1063 * @brief Indicate if ExtiLine Interrupt request is enabled for Lines in range 64 to 95
1064 * @rmtoll C2IMR3 IMx LL_C2_EXTI_IsEnabledIT_64_95
1065 * @param ExtiLine This parameter can be one of the following values:
1066 * @arg @ref LL_EXTI_LINE_64
1067 * @arg @ref LL_EXTI_LINE_65
1068 * @arg @ref LL_EXTI_LINE_66
1069 * @arg @ref LL_EXTI_LINE_67
1070 * @arg @ref LL_EXTI_LINE_68
1071 * @arg @ref LL_EXTI_LINE_69
1072 * @arg @ref LL_EXTI_LINE_70
1073 * @arg @ref LL_EXTI_LINE_71
1074 * @arg @ref LL_EXTI_LINE_72
1075 * @arg @ref LL_EXTI_LINE_73
1076 * @arg @ref LL_EXTI_LINE_74
1077 * @arg @ref LL_EXTI_LINE_75
1078 * @arg @ref LL_EXTI_LINE_76
1079 * @arg @ref LL_EXTI_LINE_77
1080 * @arg @ref LL_EXTI_LINE_78
1081 * @arg @ref LL_EXTI_LINE_79
1082 * @arg @ref LL_EXTI_LINE_80
1083 * @arg @ref LL_EXTI_LINE_82
1084 * @arg @ref LL_EXTI_LINE_84
1085 * @arg @ref LL_EXTI_LINE_85
1086 * @arg @ref LL_EXTI_LINE_86
1087 * @arg @ref LL_EXTI_LINE_87
1088 * @arg @ref LL_EXTI_LINE_ALL_64_95
1089 * @retval State of bit (1 or 0).
1091 __STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledIT_64_95(uint32_t ExtiLine)
1093 return ((READ_BIT(EXTI->C2IMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1096 #endif /* DUAL_CORE */
1100 * @}
1103 /** @defgroup EXTI_LL_EF_Event_Management Event_Management
1104 * @{
1108 * @brief Enable ExtiLine Event request for Lines in range 0 to 31
1109 * @rmtoll EMR1 EMx LL_EXTI_EnableEvent_0_31
1110 * @param ExtiLine This parameter can be one of the following values:
1111 * @arg @ref LL_EXTI_LINE_0
1112 * @arg @ref LL_EXTI_LINE_1
1113 * @arg @ref LL_EXTI_LINE_2
1114 * @arg @ref LL_EXTI_LINE_3
1115 * @arg @ref LL_EXTI_LINE_4
1116 * @arg @ref LL_EXTI_LINE_5
1117 * @arg @ref LL_EXTI_LINE_6
1118 * @arg @ref LL_EXTI_LINE_7
1119 * @arg @ref LL_EXTI_LINE_8
1120 * @arg @ref LL_EXTI_LINE_9
1121 * @arg @ref LL_EXTI_LINE_10
1122 * @arg @ref LL_EXTI_LINE_11
1123 * @arg @ref LL_EXTI_LINE_12
1124 * @arg @ref LL_EXTI_LINE_13
1125 * @arg @ref LL_EXTI_LINE_14
1126 * @arg @ref LL_EXTI_LINE_15
1127 * @arg @ref LL_EXTI_LINE_16
1128 * @arg @ref LL_EXTI_LINE_17
1129 * @arg @ref LL_EXTI_LINE_18
1130 * @arg @ref LL_EXTI_LINE_19
1131 * @arg @ref LL_EXTI_LINE_20
1132 * @arg @ref LL_EXTI_LINE_21
1133 * @arg @ref LL_EXTI_LINE_22
1134 * @arg @ref LL_EXTI_LINE_23
1135 * @arg @ref LL_EXTI_LINE_24
1136 * @arg @ref LL_EXTI_LINE_25
1137 * @arg @ref LL_EXTI_LINE_26
1138 * @arg @ref LL_EXTI_LINE_27
1139 * @arg @ref LL_EXTI_LINE_28
1140 * @arg @ref LL_EXTI_LINE_29
1141 * @arg @ref LL_EXTI_LINE_30
1142 * @arg @ref LL_EXTI_LINE_31
1143 * @arg @ref LL_EXTI_LINE_ALL_0_31
1144 * @retval None
1146 __STATIC_INLINE void LL_EXTI_EnableEvent_0_31(uint32_t ExtiLine)
1148 SET_BIT(EXTI->EMR1, ExtiLine);
1152 * @brief Enable ExtiLine Event request for Lines in range 32 to 63
1153 * @rmtoll EMR2 EMx LL_EXTI_EnableEvent_32_63
1154 * @param ExtiLine This parameter can be a combination of the following values:
1155 * @arg @ref LL_EXTI_LINE_32
1156 * @arg @ref LL_EXTI_LINE_33
1157 * @arg @ref LL_EXTI_LINE_34
1158 * @arg @ref LL_EXTI_LINE_35
1159 * @arg @ref LL_EXTI_LINE_36
1160 * @arg @ref LL_EXTI_LINE_37
1161 * @arg @ref LL_EXTI_LINE_38
1162 * @arg @ref LL_EXTI_LINE_39
1163 * @arg @ref LL_EXTI_LINE_40
1164 * @arg @ref LL_EXTI_LINE_41
1165 * @arg @ref LL_EXTI_LINE_42
1166 * @arg @ref LL_EXTI_LINE_43
1167 * @arg @ref LL_EXTI_LINE_44 (*)
1168 * @arg @ref LL_EXTI_LINE_46 (*)
1169 * @arg @ref LL_EXTI_LINE_47
1170 * @arg @ref LL_EXTI_LINE_48
1171 * @arg @ref LL_EXTI_LINE_49
1172 * @arg @ref LL_EXTI_LINE_50
1173 * @arg @ref LL_EXTI_LINE_51
1174 * @arg @ref LL_EXTI_LINE_52
1175 * @arg @ref LL_EXTI_LINE_53
1176 * @arg @ref LL_EXTI_LINE_54
1177 * @arg @ref LL_EXTI_LINE_55
1178 * @arg @ref LL_EXTI_LINE_56
1179 * @arg @ref LL_EXTI_LINE_57 (*)
1180 * @arg @ref LL_EXTI_LINE_58
1181 * @arg @ref LL_EXTI_LINE_59 (*)
1182 * @arg @ref LL_EXTI_LINE_60
1183 * @arg @ref LL_EXTI_LINE_61
1184 * @arg @ref LL_EXTI_LINE_62
1185 * @arg @ref LL_EXTI_LINE_63
1186 * @arg @ref LL_EXTI_LINE_ALL_32_63
1188 * (*) value not defined in all devices.
1189 * @retval None
1191 __STATIC_INLINE void LL_EXTI_EnableEvent_32_63(uint32_t ExtiLine)
1193 SET_BIT(EXTI->EMR2, ExtiLine);
1197 * @brief Enable ExtiLine Event request for Lines in range 64 to 95
1198 * @rmtoll EMR3 EMx LL_EXTI_EnableEvent_64_95
1199 * @param ExtiLine This parameter can be a combination of the following values:
1200 * @arg @ref LL_EXTI_LINE_64
1201 * @arg @ref LL_EXTI_LINE_65
1202 * @arg @ref LL_EXTI_LINE_66
1203 * @arg @ref LL_EXTI_LINE_67
1204 * @arg @ref LL_EXTI_LINE_68
1205 * @arg @ref LL_EXTI_LINE_69
1206 * @arg @ref LL_EXTI_LINE_70
1207 * @arg @ref LL_EXTI_LINE_71
1208 * @arg @ref LL_EXTI_LINE_72
1209 * @arg @ref LL_EXTI_LINE_73
1210 * @arg @ref LL_EXTI_LINE_74
1211 * @arg @ref LL_EXTI_LINE_75 (*)
1212 * @arg @ref LL_EXTI_LINE_76 (*)
1213 * @arg @ref LL_EXTI_LINE_77 (**)
1214 * @arg @ref LL_EXTI_LINE_78 (**)
1215 * @arg @ref LL_EXTI_LINE_79 (**)
1216 * @arg @ref LL_EXTI_LINE_80 (**)
1217 * @arg @ref LL_EXTI_LINE_82 (**)
1218 * @arg @ref LL_EXTI_LINE_84 (**)
1219 * @arg @ref LL_EXTI_LINE_85
1220 * @arg @ref LL_EXTI_LINE_86 (*)
1221 * @arg @ref LL_EXTI_LINE_87
1222 * @arg @ref LL_EXTI_LINE_88 (*)
1223 * @arg @ref LL_EXTI_LINE_89 (*)
1224 * @arg @ref LL_EXTI_LINE_90 (*)
1225 * @arg @ref LL_EXTI_LINE_91 (*)
1226 * @arg @ref LL_EXTI_LINE_ALL_64_95
1228 * (*) value not defined in all devices.
1229 * (**) value only defined in dual core devices.
1230 * @retval None
1232 __STATIC_INLINE void LL_EXTI_EnableEvent_64_95(uint32_t ExtiLine)
1234 SET_BIT(EXTI->EMR3, ExtiLine);
1238 * @brief Disable ExtiLine Event request for Lines in range 0 to 31
1239 * @rmtoll EMR1 EMx LL_EXTI_DisableEvent_0_31
1240 * @param ExtiLine This parameter can be one of the following values:
1241 * @arg @ref LL_EXTI_LINE_0
1242 * @arg @ref LL_EXTI_LINE_1
1243 * @arg @ref LL_EXTI_LINE_2
1244 * @arg @ref LL_EXTI_LINE_3
1245 * @arg @ref LL_EXTI_LINE_4
1246 * @arg @ref LL_EXTI_LINE_5
1247 * @arg @ref LL_EXTI_LINE_6
1248 * @arg @ref LL_EXTI_LINE_7
1249 * @arg @ref LL_EXTI_LINE_8
1250 * @arg @ref LL_EXTI_LINE_9
1251 * @arg @ref LL_EXTI_LINE_10
1252 * @arg @ref LL_EXTI_LINE_11
1253 * @arg @ref LL_EXTI_LINE_12
1254 * @arg @ref LL_EXTI_LINE_13
1255 * @arg @ref LL_EXTI_LINE_14
1256 * @arg @ref LL_EXTI_LINE_15
1257 * @arg @ref LL_EXTI_LINE_16
1258 * @arg @ref LL_EXTI_LINE_17
1259 * @arg @ref LL_EXTI_LINE_18
1260 * @arg @ref LL_EXTI_LINE_19
1261 * @arg @ref LL_EXTI_LINE_20
1262 * @arg @ref LL_EXTI_LINE_21
1263 * @arg @ref LL_EXTI_LINE_22
1264 * @arg @ref LL_EXTI_LINE_23
1265 * @arg @ref LL_EXTI_LINE_24
1266 * @arg @ref LL_EXTI_LINE_25
1267 * @arg @ref LL_EXTI_LINE_26
1268 * @arg @ref LL_EXTI_LINE_27
1269 * @arg @ref LL_EXTI_LINE_28
1270 * @arg @ref LL_EXTI_LINE_29
1271 * @arg @ref LL_EXTI_LINE_30
1272 * @arg @ref LL_EXTI_LINE_31
1273 * @arg @ref LL_EXTI_LINE_ALL_0_31
1274 * @retval None
1276 __STATIC_INLINE void LL_EXTI_DisableEvent_0_31(uint32_t ExtiLine)
1278 CLEAR_BIT(EXTI->EMR1, ExtiLine);
1282 * @brief Disable ExtiLine Event request for Lines in range 32 to 63
1283 * @rmtoll EMR2 EMx LL_EXTI_DisableEvent_32_63
1284 * @param ExtiLine This parameter can be a combination of the following values:
1285 * @arg @ref LL_EXTI_LINE_32
1286 * @arg @ref LL_EXTI_LINE_33
1287 * @arg @ref LL_EXTI_LINE_34
1288 * @arg @ref LL_EXTI_LINE_35
1289 * @arg @ref LL_EXTI_LINE_36
1290 * @arg @ref LL_EXTI_LINE_37
1291 * @arg @ref LL_EXTI_LINE_38
1292 * @arg @ref LL_EXTI_LINE_39
1293 * @arg @ref LL_EXTI_LINE_40
1294 * @arg @ref LL_EXTI_LINE_41
1295 * @arg @ref LL_EXTI_LINE_42
1296 * @arg @ref LL_EXTI_LINE_43
1297 * @arg @ref LL_EXTI_LINE_44 (*)
1298 * @arg @ref LL_EXTI_LINE_46 (*)
1299 * @arg @ref LL_EXTI_LINE_47
1300 * @arg @ref LL_EXTI_LINE_48
1301 * @arg @ref LL_EXTI_LINE_49
1302 * @arg @ref LL_EXTI_LINE_50
1303 * @arg @ref LL_EXTI_LINE_51
1304 * @arg @ref LL_EXTI_LINE_52
1305 * @arg @ref LL_EXTI_LINE_53
1306 * @arg @ref LL_EXTI_LINE_54
1307 * @arg @ref LL_EXTI_LINE_55
1308 * @arg @ref LL_EXTI_LINE_56
1309 * @arg @ref LL_EXTI_LINE_57 (*)
1310 * @arg @ref LL_EXTI_LINE_58
1311 * @arg @ref LL_EXTI_LINE_59 (*)
1312 * @arg @ref LL_EXTI_LINE_60
1313 * @arg @ref LL_EXTI_LINE_61
1314 * @arg @ref LL_EXTI_LINE_62
1315 * @arg @ref LL_EXTI_LINE_63
1316 * @arg @ref LL_EXTI_LINE_ALL_32_63
1318 * (*) value not defined in all devices.
1319 * @retval None
1321 __STATIC_INLINE void LL_EXTI_DisableEvent_32_63(uint32_t ExtiLine)
1323 CLEAR_BIT(EXTI->EMR2, ExtiLine);
1327 * @brief Disable ExtiLine Event request for Lines in range 64 to 95
1328 * @rmtoll EMR3 EMx LL_EXTI_DisableEvent_64_95
1329 * @param ExtiLine This parameter can be a combination of the following values:
1330 * @arg @ref LL_EXTI_LINE_64
1331 * @arg @ref LL_EXTI_LINE_65
1332 * @arg @ref LL_EXTI_LINE_66
1333 * @arg @ref LL_EXTI_LINE_67
1334 * @arg @ref LL_EXTI_LINE_68
1335 * @arg @ref LL_EXTI_LINE_69
1336 * @arg @ref LL_EXTI_LINE_70
1337 * @arg @ref LL_EXTI_LINE_71
1338 * @arg @ref LL_EXTI_LINE_72
1339 * @arg @ref LL_EXTI_LINE_73
1340 * @arg @ref LL_EXTI_LINE_74
1341 * @arg @ref LL_EXTI_LINE_75 (*)
1342 * @arg @ref LL_EXTI_LINE_76 (*)
1343 * @arg @ref LL_EXTI_LINE_77 (**)
1344 * @arg @ref LL_EXTI_LINE_78 (**)
1345 * @arg @ref LL_EXTI_LINE_79 (**)
1346 * @arg @ref LL_EXTI_LINE_80 (**)
1347 * @arg @ref LL_EXTI_LINE_82 (**)
1348 * @arg @ref LL_EXTI_LINE_84 (**)
1349 * @arg @ref LL_EXTI_LINE_85
1350 * @arg @ref LL_EXTI_LINE_86 (*)
1351 * @arg @ref LL_EXTI_LINE_87
1352 * @arg @ref LL_EXTI_LINE_88 (*)
1353 * @arg @ref LL_EXTI_LINE_89 (*)
1354 * @arg @ref LL_EXTI_LINE_90 (*)
1355 * @arg @ref LL_EXTI_LINE_91 (*)
1356 * @arg @ref LL_EXTI_LINE_ALL_64_95
1358 * (*) value not defined in all devices.
1359 * (**) value only defined in dual core devices.
1360 * @retval None
1362 __STATIC_INLINE void LL_EXTI_DisableEvent_64_95(uint32_t ExtiLine)
1364 CLEAR_BIT(EXTI->EMR3, ExtiLine);
1368 * @brief Indicate if ExtiLine Event request is enabled for Lines in range 0 to 31
1369 * @rmtoll EMR1 EMx LL_EXTI_IsEnabledEvent_0_31
1370 * @param ExtiLine This parameter can be one of the following values:
1371 * @arg @ref LL_EXTI_LINE_0
1372 * @arg @ref LL_EXTI_LINE_1
1373 * @arg @ref LL_EXTI_LINE_2
1374 * @arg @ref LL_EXTI_LINE_3
1375 * @arg @ref LL_EXTI_LINE_4
1376 * @arg @ref LL_EXTI_LINE_5
1377 * @arg @ref LL_EXTI_LINE_6
1378 * @arg @ref LL_EXTI_LINE_7
1379 * @arg @ref LL_EXTI_LINE_8
1380 * @arg @ref LL_EXTI_LINE_9
1381 * @arg @ref LL_EXTI_LINE_10
1382 * @arg @ref LL_EXTI_LINE_11
1383 * @arg @ref LL_EXTI_LINE_12
1384 * @arg @ref LL_EXTI_LINE_13
1385 * @arg @ref LL_EXTI_LINE_14
1386 * @arg @ref LL_EXTI_LINE_15
1387 * @arg @ref LL_EXTI_LINE_16
1388 * @arg @ref LL_EXTI_LINE_17
1389 * @arg @ref LL_EXTI_LINE_18
1390 * @arg @ref LL_EXTI_LINE_19
1391 * @arg @ref LL_EXTI_LINE_20
1392 * @arg @ref LL_EXTI_LINE_21
1393 * @arg @ref LL_EXTI_LINE_22
1394 * @arg @ref LL_EXTI_LINE_23
1395 * @arg @ref LL_EXTI_LINE_24
1396 * @arg @ref LL_EXTI_LINE_25
1397 * @arg @ref LL_EXTI_LINE_26
1398 * @arg @ref LL_EXTI_LINE_27
1399 * @arg @ref LL_EXTI_LINE_28
1400 * @arg @ref LL_EXTI_LINE_29
1401 * @arg @ref LL_EXTI_LINE_30
1402 * @arg @ref LL_EXTI_LINE_31
1403 * @arg @ref LL_EXTI_LINE_ALL_0_31
1404 * @note Please check each device line mapping for EXTI Line availability
1405 * @retval State of bit (1 or 0).
1407 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledEvent_0_31(uint32_t ExtiLine)
1409 return ((READ_BIT(EXTI->EMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1413 * @brief Indicate if ExtiLine Event request is enabled for Lines in range 32 to 63
1414 * @rmtoll EMR2 EMx LL_EXTI_IsEnabledEvent_32_63
1415 * @param ExtiLine This parameter can be a combination of the following values:
1416 * @arg @ref LL_EXTI_LINE_32
1417 * @arg @ref LL_EXTI_LINE_33
1418 * @arg @ref LL_EXTI_LINE_34
1419 * @arg @ref LL_EXTI_LINE_35
1420 * @arg @ref LL_EXTI_LINE_36
1421 * @arg @ref LL_EXTI_LINE_37
1422 * @arg @ref LL_EXTI_LINE_38
1423 * @arg @ref LL_EXTI_LINE_39
1424 * @arg @ref LL_EXTI_LINE_40
1425 * @arg @ref LL_EXTI_LINE_41
1426 * @arg @ref LL_EXTI_LINE_42
1427 * @arg @ref LL_EXTI_LINE_43
1428 * @arg @ref LL_EXTI_LINE_44 (*)
1429 * @arg @ref LL_EXTI_LINE_46 (*)
1430 * @arg @ref LL_EXTI_LINE_47
1431 * @arg @ref LL_EXTI_LINE_48
1432 * @arg @ref LL_EXTI_LINE_49
1433 * @arg @ref LL_EXTI_LINE_50
1434 * @arg @ref LL_EXTI_LINE_51
1435 * @arg @ref LL_EXTI_LINE_52
1436 * @arg @ref LL_EXTI_LINE_53
1437 * @arg @ref LL_EXTI_LINE_54
1438 * @arg @ref LL_EXTI_LINE_55
1439 * @arg @ref LL_EXTI_LINE_56
1440 * @arg @ref LL_EXTI_LINE_57 (*)
1441 * @arg @ref LL_EXTI_LINE_58
1442 * @arg @ref LL_EXTI_LINE_59 (*)
1443 * @arg @ref LL_EXTI_LINE_60
1444 * @arg @ref LL_EXTI_LINE_61
1445 * @arg @ref LL_EXTI_LINE_62
1446 * @arg @ref LL_EXTI_LINE_63
1447 * @arg @ref LL_EXTI_LINE_ALL_32_63
1449 * (*) value not defined in all devices.
1450 * @retval State of bit (1 or 0).
1452 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledEvent_32_63(uint32_t ExtiLine)
1454 return ((READ_BIT(EXTI->EMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1458 * @brief Indicate if ExtiLine Event request is enabled for Lines in range 64 to 95
1459 * @rmtoll EMR3 EMx LL_EXTI_IsEnabledEvent_64_95
1460 * @param ExtiLine This parameter can be a combination of the following values:
1461 * @arg @ref LL_EXTI_LINE_64
1462 * @arg @ref LL_EXTI_LINE_65
1463 * @arg @ref LL_EXTI_LINE_66
1464 * @arg @ref LL_EXTI_LINE_67
1465 * @arg @ref LL_EXTI_LINE_68
1466 * @arg @ref LL_EXTI_LINE_69
1467 * @arg @ref LL_EXTI_LINE_70
1468 * @arg @ref LL_EXTI_LINE_71
1469 * @arg @ref LL_EXTI_LINE_72
1470 * @arg @ref LL_EXTI_LINE_73
1471 * @arg @ref LL_EXTI_LINE_74
1472 * @arg @ref LL_EXTI_LINE_75 (*)
1473 * @arg @ref LL_EXTI_LINE_76 (*)
1474 * @arg @ref LL_EXTI_LINE_77 (**)
1475 * @arg @ref LL_EXTI_LINE_78 (**)
1476 * @arg @ref LL_EXTI_LINE_79 (**)
1477 * @arg @ref LL_EXTI_LINE_80 (**)
1478 * @arg @ref LL_EXTI_LINE_82 (**)
1479 * @arg @ref LL_EXTI_LINE_84 (**)
1480 * @arg @ref LL_EXTI_LINE_85
1481 * @arg @ref LL_EXTI_LINE_86 (*)
1482 * @arg @ref LL_EXTI_LINE_87
1483 * @arg @ref LL_EXTI_LINE_88 (*)
1484 * @arg @ref LL_EXTI_LINE_89 (*)
1485 * @arg @ref LL_EXTI_LINE_90 (*)
1486 * @arg @ref LL_EXTI_LINE_91 (*)
1487 * @arg @ref LL_EXTI_LINE_ALL_64_95
1489 * (*) value not defined in all devices.
1490 * (**) value only defined in dual core devices.
1491 * @retval State of bit (1 or 0).
1493 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledEvent_64_95(uint32_t ExtiLine)
1495 return ((READ_BIT(EXTI->EMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1498 #if defined(DUAL_CORE)
1501 * @brief Enable ExtiLine Event request for Lines in range 0 to 31 for cpu2
1502 * @rmtoll C2EMR1 EMx LL_C2_EXTI_EnableEvent_0_31
1503 * @param ExtiLine This parameter can be one of the following values:
1504 * @arg @ref LL_EXTI_LINE_0
1505 * @arg @ref LL_EXTI_LINE_1
1506 * @arg @ref LL_EXTI_LINE_2
1507 * @arg @ref LL_EXTI_LINE_3
1508 * @arg @ref LL_EXTI_LINE_4
1509 * @arg @ref LL_EXTI_LINE_5
1510 * @arg @ref LL_EXTI_LINE_6
1511 * @arg @ref LL_EXTI_LINE_7
1512 * @arg @ref LL_EXTI_LINE_8
1513 * @arg @ref LL_EXTI_LINE_9
1514 * @arg @ref LL_EXTI_LINE_10
1515 * @arg @ref LL_EXTI_LINE_11
1516 * @arg @ref LL_EXTI_LINE_12
1517 * @arg @ref LL_EXTI_LINE_13
1518 * @arg @ref LL_EXTI_LINE_14
1519 * @arg @ref LL_EXTI_LINE_15
1520 * @arg @ref LL_EXTI_LINE_16
1521 * @arg @ref LL_EXTI_LINE_17
1522 * @arg @ref LL_EXTI_LINE_18
1523 * @arg @ref LL_EXTI_LINE_19
1524 * @arg @ref LL_EXTI_LINE_20
1525 * @arg @ref LL_EXTI_LINE_21
1526 * @arg @ref LL_EXTI_LINE_22
1527 * @arg @ref LL_EXTI_LINE_23
1528 * @arg @ref LL_EXTI_LINE_24
1529 * @arg @ref LL_EXTI_LINE_25
1530 * @arg @ref LL_EXTI_LINE_26
1531 * @arg @ref LL_EXTI_LINE_27
1532 * @arg @ref LL_EXTI_LINE_28
1533 * @arg @ref LL_EXTI_LINE_29
1534 * @arg @ref LL_EXTI_LINE_30
1535 * @arg @ref LL_EXTI_LINE_31
1536 * @arg @ref LL_EXTI_LINE_ALL_0_31
1537 * @retval None
1539 __STATIC_INLINE void LL_C2_EXTI_EnableEvent_0_31(uint32_t ExtiLine)
1541 SET_BIT(EXTI->C2EMR1, ExtiLine);
1546 * @brief Enable ExtiLine Event request for Lines in range 32 to 63 for cpu2
1547 * @rmtoll C2EMR2 EMx LL_C2_EXTI_EnableEvent_32_63
1548 * @param ExtiLine This parameter can be a combination of the following values:
1549 * @arg @ref LL_EXTI_LINE_32
1550 * @arg @ref LL_EXTI_LINE_33
1551 * @arg @ref LL_EXTI_LINE_34
1552 * @arg @ref LL_EXTI_LINE_35
1553 * @arg @ref LL_EXTI_LINE_36
1554 * @arg @ref LL_EXTI_LINE_37
1555 * @arg @ref LL_EXTI_LINE_38
1556 * @arg @ref LL_EXTI_LINE_39
1557 * @arg @ref LL_EXTI_LINE_40
1558 * @arg @ref LL_EXTI_LINE_41
1559 * @arg @ref LL_EXTI_LINE_42
1560 * @arg @ref LL_EXTI_LINE_43
1561 * @arg @ref LL_EXTI_LINE_44
1562 * @arg @ref LL_EXTI_LINE_46
1563 * @arg @ref LL_EXTI_LINE_47
1564 * @arg @ref LL_EXTI_LINE_48
1565 * @arg @ref LL_EXTI_LINE_49
1566 * @arg @ref LL_EXTI_LINE_50
1567 * @arg @ref LL_EXTI_LINE_51
1568 * @arg @ref LL_EXTI_LINE_52
1569 * @arg @ref LL_EXTI_LINE_53
1570 * @arg @ref LL_EXTI_LINE_54
1571 * @arg @ref LL_EXTI_LINE_55
1572 * @arg @ref LL_EXTI_LINE_56
1573 * @arg @ref LL_EXTI_LINE_57
1574 * @arg @ref LL_EXTI_LINE_58
1575 * @arg @ref LL_EXTI_LINE_59
1576 * @arg @ref LL_EXTI_LINE_60
1577 * @arg @ref LL_EXTI_LINE_61
1578 * @arg @ref LL_EXTI_LINE_62
1579 * @arg @ref LL_EXTI_LINE_63
1580 * @arg @ref LL_EXTI_LINE_ALL_32_63
1581 * @retval None
1583 __STATIC_INLINE void LL_C2_EXTI_EnableEvent_32_63(uint32_t ExtiLine)
1585 SET_BIT(EXTI->C2EMR2, ExtiLine);
1589 * @brief Enable ExtiLine Event request for Lines in range 64 to 95 for cpu2
1590 * @rmtoll C2EMR3 EMx LL_C2_EXTI_EnableEvent_64_95
1591 * @param ExtiLine This parameter can be a combination of the following values:
1592 * @arg @ref LL_EXTI_LINE_64
1593 * @arg @ref LL_EXTI_LINE_65
1594 * @arg @ref LL_EXTI_LINE_66
1595 * @arg @ref LL_EXTI_LINE_67
1596 * @arg @ref LL_EXTI_LINE_68
1597 * @arg @ref LL_EXTI_LINE_69
1598 * @arg @ref LL_EXTI_LINE_70
1599 * @arg @ref LL_EXTI_LINE_71
1600 * @arg @ref LL_EXTI_LINE_72
1601 * @arg @ref LL_EXTI_LINE_73
1602 * @arg @ref LL_EXTI_LINE_74
1603 * @arg @ref LL_EXTI_LINE_75
1604 * @arg @ref LL_EXTI_LINE_76
1605 * @arg @ref LL_EXTI_LINE_77
1606 * @arg @ref LL_EXTI_LINE_78
1607 * @arg @ref LL_EXTI_LINE_79
1608 * @arg @ref LL_EXTI_LINE_80
1609 * @arg @ref LL_EXTI_LINE_82
1610 * @arg @ref LL_EXTI_LINE_84
1611 * @arg @ref LL_EXTI_LINE_85
1612 * @arg @ref LL_EXTI_LINE_86
1613 * @arg @ref LL_EXTI_LINE_87
1614 * @arg @ref LL_EXTI_LINE_ALL_64_95
1615 * @retval None
1617 __STATIC_INLINE void LL_C2_EXTI_EnableEvent_64_95(uint32_t ExtiLine)
1619 SET_BIT(EXTI->C2EMR3, ExtiLine);
1624 * @brief Disable ExtiLine Event request for Lines in range 0 to 31 for cpu2
1625 * @rmtoll C2EMR1 EMx LL_C2_EXTI_DisableEvent_0_31
1626 * @param ExtiLine This parameter can be one of the following values:
1627 * @arg @ref LL_EXTI_LINE_0
1628 * @arg @ref LL_EXTI_LINE_1
1629 * @arg @ref LL_EXTI_LINE_2
1630 * @arg @ref LL_EXTI_LINE_3
1631 * @arg @ref LL_EXTI_LINE_4
1632 * @arg @ref LL_EXTI_LINE_5
1633 * @arg @ref LL_EXTI_LINE_6
1634 * @arg @ref LL_EXTI_LINE_7
1635 * @arg @ref LL_EXTI_LINE_8
1636 * @arg @ref LL_EXTI_LINE_9
1637 * @arg @ref LL_EXTI_LINE_10
1638 * @arg @ref LL_EXTI_LINE_11
1639 * @arg @ref LL_EXTI_LINE_12
1640 * @arg @ref LL_EXTI_LINE_13
1641 * @arg @ref LL_EXTI_LINE_14
1642 * @arg @ref LL_EXTI_LINE_15
1643 * @arg @ref LL_EXTI_LINE_16
1644 * @arg @ref LL_EXTI_LINE_17
1645 * @arg @ref LL_EXTI_LINE_18
1646 * @arg @ref LL_EXTI_LINE_19
1647 * @arg @ref LL_EXTI_LINE_20
1648 * @arg @ref LL_EXTI_LINE_21
1649 * @arg @ref LL_EXTI_LINE_22
1650 * @arg @ref LL_EXTI_LINE_23
1651 * @arg @ref LL_EXTI_LINE_24
1652 * @arg @ref LL_EXTI_LINE_25
1653 * @arg @ref LL_EXTI_LINE_26
1654 * @arg @ref LL_EXTI_LINE_27
1655 * @arg @ref LL_EXTI_LINE_28
1656 * @arg @ref LL_EXTI_LINE_29
1657 * @arg @ref LL_EXTI_LINE_30
1658 * @arg @ref LL_EXTI_LINE_31
1659 * @arg @ref LL_EXTI_LINE_ALL_0_31
1660 * @retval None
1662 __STATIC_INLINE void LL_C2_EXTI_DisableEvent_0_31(uint32_t ExtiLine)
1664 CLEAR_BIT(EXTI->C2EMR1, ExtiLine);
1669 * @brief Disable ExtiLine Event request for Lines in range 32 to 63 for cpu2
1670 * @rmtoll C2EMR2 EMx LL_C2_EXTI_DisableEvent_32_63
1671 * @param ExtiLine This parameter can be a combination of the following values:
1672 * @arg @ref LL_EXTI_LINE_32
1673 * @arg @ref LL_EXTI_LINE_33
1674 * @arg @ref LL_EXTI_LINE_34
1675 * @arg @ref LL_EXTI_LINE_35
1676 * @arg @ref LL_EXTI_LINE_36
1677 * @arg @ref LL_EXTI_LINE_37
1678 * @arg @ref LL_EXTI_LINE_38
1679 * @arg @ref LL_EXTI_LINE_39
1680 * @arg @ref LL_EXTI_LINE_40
1681 * @arg @ref LL_EXTI_LINE_41
1682 * @arg @ref LL_EXTI_LINE_42
1683 * @arg @ref LL_EXTI_LINE_43
1684 * @arg @ref LL_EXTI_LINE_44
1685 * @arg @ref LL_EXTI_LINE_46
1686 * @arg @ref LL_EXTI_LINE_47
1687 * @arg @ref LL_EXTI_LINE_48
1688 * @arg @ref LL_EXTI_LINE_49
1689 * @arg @ref LL_EXTI_LINE_50
1690 * @arg @ref LL_EXTI_LINE_51
1691 * @arg @ref LL_EXTI_LINE_52
1692 * @arg @ref LL_EXTI_LINE_53
1693 * @arg @ref LL_EXTI_LINE_54
1694 * @arg @ref LL_EXTI_LINE_55
1695 * @arg @ref LL_EXTI_LINE_56
1696 * @arg @ref LL_EXTI_LINE_57
1697 * @arg @ref LL_EXTI_LINE_58
1698 * @arg @ref LL_EXTI_LINE_59
1699 * @arg @ref LL_EXTI_LINE_60
1700 * @arg @ref LL_EXTI_LINE_61
1701 * @arg @ref LL_EXTI_LINE_62
1702 * @arg @ref LL_EXTI_LINE_63
1703 * @arg @ref LL_EXTI_LINE_ALL_32_63
1704 * @retval None
1706 __STATIC_INLINE void LL_C2_EXTI_DisableEvent_32_63(uint32_t ExtiLine)
1708 CLEAR_BIT(EXTI->C2EMR2, ExtiLine);
1713 * @brief Disable ExtiLine Event request for Lines in range 64 to 95 for cpu2
1714 * @rmtoll C2EMR3 EMx LL_C2_EXTI_DisableEvent_64_95
1715 * @param ExtiLine This parameter can be a combination of the following values:
1716 * @arg @ref LL_EXTI_LINE_64
1717 * @arg @ref LL_EXTI_LINE_65
1718 * @arg @ref LL_EXTI_LINE_66
1719 * @arg @ref LL_EXTI_LINE_67
1720 * @arg @ref LL_EXTI_LINE_68
1721 * @arg @ref LL_EXTI_LINE_69
1722 * @arg @ref LL_EXTI_LINE_70
1723 * @arg @ref LL_EXTI_LINE_71
1724 * @arg @ref LL_EXTI_LINE_72
1725 * @arg @ref LL_EXTI_LINE_73
1726 * @arg @ref LL_EXTI_LINE_74
1727 * @arg @ref LL_EXTI_LINE_75
1728 * @arg @ref LL_EXTI_LINE_76
1729 * @arg @ref LL_EXTI_LINE_77
1730 * @arg @ref LL_EXTI_LINE_78
1731 * @arg @ref LL_EXTI_LINE_79
1732 * @arg @ref LL_EXTI_LINE_80
1733 * @arg @ref LL_EXTI_LINE_82
1734 * @arg @ref LL_EXTI_LINE_84
1735 * @arg @ref LL_EXTI_LINE_85
1736 * @arg @ref LL_EXTI_LINE_86
1737 * @arg @ref LL_EXTI_LINE_87
1738 * @arg @ref LL_EXTI_LINE_ALL_64_95
1739 * @retval None
1741 __STATIC_INLINE void LL_C2_EXTI_DisableEvent_64_95(uint32_t ExtiLine)
1743 CLEAR_BIT(EXTI->C2EMR3, ExtiLine);
1748 * @brief Indicate if ExtiLine Event request is enabled for Lines in range 0 to 31 for cpu2
1749 * @rmtoll C2EMR1 EMx LL_C2_EXTI_IsEnabledEvent_0_31
1750 * @param ExtiLine This parameter can be one of the following values:
1751 * @arg @ref LL_EXTI_LINE_0
1752 * @arg @ref LL_EXTI_LINE_1
1753 * @arg @ref LL_EXTI_LINE_2
1754 * @arg @ref LL_EXTI_LINE_3
1755 * @arg @ref LL_EXTI_LINE_4
1756 * @arg @ref LL_EXTI_LINE_5
1757 * @arg @ref LL_EXTI_LINE_6
1758 * @arg @ref LL_EXTI_LINE_7
1759 * @arg @ref LL_EXTI_LINE_8
1760 * @arg @ref LL_EXTI_LINE_9
1761 * @arg @ref LL_EXTI_LINE_10
1762 * @arg @ref LL_EXTI_LINE_11
1763 * @arg @ref LL_EXTI_LINE_12
1764 * @arg @ref LL_EXTI_LINE_13
1765 * @arg @ref LL_EXTI_LINE_14
1766 * @arg @ref LL_EXTI_LINE_15
1767 * @arg @ref LL_EXTI_LINE_16
1768 * @arg @ref LL_EXTI_LINE_17
1769 * @arg @ref LL_EXTI_LINE_18
1770 * @arg @ref LL_EXTI_LINE_19
1771 * @arg @ref LL_EXTI_LINE_20
1772 * @arg @ref LL_EXTI_LINE_21
1773 * @arg @ref LL_EXTI_LINE_22
1774 * @arg @ref LL_EXTI_LINE_23
1775 * @arg @ref LL_EXTI_LINE_24
1776 * @arg @ref LL_EXTI_LINE_25
1777 * @arg @ref LL_EXTI_LINE_26
1778 * @arg @ref LL_EXTI_LINE_27
1779 * @arg @ref LL_EXTI_LINE_28
1780 * @arg @ref LL_EXTI_LINE_29
1781 * @arg @ref LL_EXTI_LINE_30
1782 * @arg @ref LL_EXTI_LINE_31
1783 * @arg @ref LL_EXTI_LINE_ALL_0_31
1784 * @note Please check each device line mapping for EXTI Line availability
1785 * @retval State of bit (1 or 0).
1787 __STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledEvent_0_31(uint32_t ExtiLine)
1789 return ((READ_BIT(EXTI->C2EMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1794 * @brief Indicate if ExtiLine Event request is enabled for Lines in range 32 to 63 for cpu2
1795 * @rmtoll C2EMR2 EMx LL_C2_EXTI_IsEnabledEvent_32_63
1796 * @param ExtiLine This parameter can be a combination of the following values:
1797 * @arg @ref LL_EXTI_LINE_32
1798 * @arg @ref LL_EXTI_LINE_33
1799 * @arg @ref LL_EXTI_LINE_34
1800 * @arg @ref LL_EXTI_LINE_35
1801 * @arg @ref LL_EXTI_LINE_36
1802 * @arg @ref LL_EXTI_LINE_37
1803 * @arg @ref LL_EXTI_LINE_38
1804 * @arg @ref LL_EXTI_LINE_39
1805 * @arg @ref LL_EXTI_LINE_40
1806 * @arg @ref LL_EXTI_LINE_41
1807 * @arg @ref LL_EXTI_LINE_42
1808 * @arg @ref LL_EXTI_LINE_43
1809 * @arg @ref LL_EXTI_LINE_44
1810 * @arg @ref LL_EXTI_LINE_46
1811 * @arg @ref LL_EXTI_LINE_47
1812 * @arg @ref LL_EXTI_LINE_48
1813 * @arg @ref LL_EXTI_LINE_49
1814 * @arg @ref LL_EXTI_LINE_50
1815 * @arg @ref LL_EXTI_LINE_51
1816 * @arg @ref LL_EXTI_LINE_52
1817 * @arg @ref LL_EXTI_LINE_53
1818 * @arg @ref LL_EXTI_LINE_54
1819 * @arg @ref LL_EXTI_LINE_55
1820 * @arg @ref LL_EXTI_LINE_56
1821 * @arg @ref LL_EXTI_LINE_57
1822 * @arg @ref LL_EXTI_LINE_58
1823 * @arg @ref LL_EXTI_LINE_59
1824 * @arg @ref LL_EXTI_LINE_60
1825 * @arg @ref LL_EXTI_LINE_61
1826 * @arg @ref LL_EXTI_LINE_62
1827 * @arg @ref LL_EXTI_LINE_63
1828 * @arg @ref LL_EXTI_LINE_ALL_32_63
1829 * @retval State of bit (1 or 0).
1831 __STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledEvent_32_63(uint32_t ExtiLine)
1833 return ((READ_BIT(EXTI->C2EMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1838 * @brief Indicate if ExtiLine Event request is enabled for Lines in range 64 to 95 for cpu2
1839 * @rmtoll C2EMR3 EMx LL_C2_EXTI_IsEnabledEvent_64_95
1840 * @param ExtiLine This parameter can be a combination of the following values:
1841 * @arg @ref LL_EXTI_LINE_64
1842 * @arg @ref LL_EXTI_LINE_65
1843 * @arg @ref LL_EXTI_LINE_66
1844 * @arg @ref LL_EXTI_LINE_67
1845 * @arg @ref LL_EXTI_LINE_68
1846 * @arg @ref LL_EXTI_LINE_69
1847 * @arg @ref LL_EXTI_LINE_70
1848 * @arg @ref LL_EXTI_LINE_71
1849 * @arg @ref LL_EXTI_LINE_72
1850 * @arg @ref LL_EXTI_LINE_73
1851 * @arg @ref LL_EXTI_LINE_74
1852 * @arg @ref LL_EXTI_LINE_75
1853 * @arg @ref LL_EXTI_LINE_76
1854 * @arg @ref LL_EXTI_LINE_77
1855 * @arg @ref LL_EXTI_LINE_78
1856 * @arg @ref LL_EXTI_LINE_79
1857 * @arg @ref LL_EXTI_LINE_80
1858 * @arg @ref LL_EXTI_LINE_82
1859 * @arg @ref LL_EXTI_LINE_84
1860 * @arg @ref LL_EXTI_LINE_85
1861 * @arg @ref LL_EXTI_LINE_86
1862 * @arg @ref LL_EXTI_LINE_87
1863 * @arg @ref LL_EXTI_LINE_ALL_64_95
1864 * @retval State of bit (1 or 0).
1866 __STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledEvent_64_95(uint32_t ExtiLine)
1868 return ((READ_BIT(EXTI->C2EMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1872 #endif /* DUAL_CORE */
1875 * @}
1878 /** @defgroup EXTI_LL_EF_Rising_Trigger_Management Rising_Trigger_Management
1879 * @{
1883 * @brief Enable ExtiLine Rising Edge Trigger for Lines in range 0 to 31
1884 * @note The configurable wakeup lines are edge-triggered. No glitch must be
1885 * generated on these lines. If a rising edge on a configurable interrupt
1886 * line occurs during a write operation in the EXTI_RTSR register, the
1887 * pending bit is not set.
1888 * Rising and falling edge triggers can be set for
1889 * the same interrupt line. In this case, both generate a trigger
1890 * condition.
1891 * @rmtoll RTSR1 RTx LL_EXTI_EnableRisingTrig_0_31
1892 * @param ExtiLine This parameter can be a combination of the following values:
1893 * @arg @ref LL_EXTI_LINE_0
1894 * @arg @ref LL_EXTI_LINE_1
1895 * @arg @ref LL_EXTI_LINE_2
1896 * @arg @ref LL_EXTI_LINE_3
1897 * @arg @ref LL_EXTI_LINE_4
1898 * @arg @ref LL_EXTI_LINE_5
1899 * @arg @ref LL_EXTI_LINE_6
1900 * @arg @ref LL_EXTI_LINE_7
1901 * @arg @ref LL_EXTI_LINE_8
1902 * @arg @ref LL_EXTI_LINE_9
1903 * @arg @ref LL_EXTI_LINE_10
1904 * @arg @ref LL_EXTI_LINE_11
1905 * @arg @ref LL_EXTI_LINE_12
1906 * @arg @ref LL_EXTI_LINE_13
1907 * @arg @ref LL_EXTI_LINE_14
1908 * @arg @ref LL_EXTI_LINE_15
1909 * @arg @ref LL_EXTI_LINE_16
1910 * @arg @ref LL_EXTI_LINE_17
1911 * @arg @ref LL_EXTI_LINE_18
1912 * @arg @ref LL_EXTI_LINE_19
1913 * @arg @ref LL_EXTI_LINE_20
1914 * @arg @ref LL_EXTI_LINE_21
1915 * @retval None
1917 __STATIC_INLINE void LL_EXTI_EnableRisingTrig_0_31(uint32_t ExtiLine)
1919 SET_BIT(EXTI->RTSR1, ExtiLine);
1924 * @brief Enable ExtiLine Rising Edge Trigger for Lines in range 32 to 63
1925 * @note The configurable wakeup lines are edge-triggered. No glitch must be
1926 * generated on these lines. If a rising edge on a configurable interrupt
1927 * line occurs during a write operation in the EXTI_RTSR register, the
1928 * pending bit is not set.Rising and falling edge triggers can be set for
1929 * the same interrupt line. In this case, both generate a trigger
1930 * condition.
1931 * @rmtoll RTSR2 RTx LL_EXTI_EnableRisingTrig_32_63
1932 * @param ExtiLine This parameter can be a combination of the following values:
1933 * @arg @ref LL_EXTI_LINE_49
1934 * @arg @ref LL_EXTI_LINE_51
1935 * @retval None
1937 __STATIC_INLINE void LL_EXTI_EnableRisingTrig_32_63(uint32_t ExtiLine)
1939 SET_BIT(EXTI->RTSR2, ExtiLine);
1943 * @brief Enable ExtiLine Rising Edge Trigger for Lines in range 64 to 95
1944 * @note The configurable wakeup lines are edge-triggered. No glitch must be
1945 * generated on these lines. If a rising edge on a configurable interrupt
1946 * line occurs during a write operation in the EXTI_RTSR register, the
1947 * pending bit is not set.Rising and falling edge triggers can be set for
1948 * the same interrupt line. In this case, both generate a trigger
1949 * condition.
1950 * @rmtoll RTSR3 RTx LL_EXTI_EnableRisingTrig_64_95
1951 * @param ExtiLine This parameter can be a combination of the following values:
1952 * @arg @ref LL_EXTI_LINE_82 (*)
1953 * @arg @ref LL_EXTI_LINE_84 (*)
1954 * @arg @ref LL_EXTI_LINE_85
1955 * @arg @ref LL_EXTI_LINE_86 (**)
1957 * (*) value only defined in dual core devices.
1958 * (**) value not defined in all devices.
1959 * @retval None
1961 __STATIC_INLINE void LL_EXTI_EnableRisingTrig_64_95(uint32_t ExtiLine)
1963 SET_BIT(EXTI->RTSR3, ExtiLine);
1967 * @brief Disable ExtiLine Rising Edge Trigger for Lines in range 0 to 31
1968 * @note The configurable wakeup lines are edge-triggered. No glitch must be
1969 * generated on these lines. If a rising edge on a configurable interrupt
1970 * line occurs during a write operation in the EXTI_RTSR register, the
1971 * pending bit is not set.
1972 * Rising and falling edge triggers can be set for
1973 * the same interrupt line. In this case, both generate a trigger
1974 * condition.
1975 * @rmtoll RTSR1 RTx LL_EXTI_DisableRisingTrig_0_31
1976 * @param ExtiLine This parameter can be a combination of the following values:
1977 * @arg @ref LL_EXTI_LINE_0
1978 * @arg @ref LL_EXTI_LINE_1
1979 * @arg @ref LL_EXTI_LINE_2
1980 * @arg @ref LL_EXTI_LINE_3
1981 * @arg @ref LL_EXTI_LINE_4
1982 * @arg @ref LL_EXTI_LINE_5
1983 * @arg @ref LL_EXTI_LINE_6
1984 * @arg @ref LL_EXTI_LINE_7
1985 * @arg @ref LL_EXTI_LINE_8
1986 * @arg @ref LL_EXTI_LINE_9
1987 * @arg @ref LL_EXTI_LINE_10
1988 * @arg @ref LL_EXTI_LINE_11
1989 * @arg @ref LL_EXTI_LINE_12
1990 * @arg @ref LL_EXTI_LINE_13
1991 * @arg @ref LL_EXTI_LINE_14
1992 * @arg @ref LL_EXTI_LINE_15
1993 * @arg @ref LL_EXTI_LINE_16
1994 * @arg @ref LL_EXTI_LINE_17
1995 * @arg @ref LL_EXTI_LINE_18
1996 * @arg @ref LL_EXTI_LINE_19
1997 * @arg @ref LL_EXTI_LINE_20
1998 * @arg @ref LL_EXTI_LINE_21
1999 * @retval None
2001 __STATIC_INLINE void LL_EXTI_DisableRisingTrig_0_31(uint32_t ExtiLine)
2003 CLEAR_BIT(EXTI->RTSR1, ExtiLine);
2008 * @brief Disable ExtiLine Rising Edge Trigger for Lines in range 32 to 63
2009 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2010 * generated on these lines. If a rising edge on a configurable interrupt
2011 * line occurs during a write operation in the EXTI_RTSR register, the
2012 * pending bit is not set.
2013 * Rising and falling edge triggers can be set for
2014 * the same interrupt line. In this case, both generate a trigger
2015 * condition.
2016 * @rmtoll RTSR2 RTx LL_EXTI_DisableRisingTrig_32_63
2017 * @param ExtiLine This parameter can be a combination of the following values:
2018 * @arg @ref LL_EXTI_LINE_49
2019 * @arg @ref LL_EXTI_LINE_51
2020 * @retval None
2022 __STATIC_INLINE void LL_EXTI_DisableRisingTrig_32_63(uint32_t ExtiLine)
2024 CLEAR_BIT(EXTI->RTSR2, ExtiLine);
2028 * @brief Disable ExtiLine Rising Edge Trigger for Lines in range 64 to 95
2029 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2030 * generated on these lines. If a rising edge on a configurable interrupt
2031 * line occurs during a write operation in the EXTI_RTSR register, the
2032 * pending bit is not set.
2033 * Rising and falling edge triggers can be set for
2034 * the same interrupt line. In this case, both generate a trigger
2035 * condition.
2036 * @rmtoll RTSR3 RTx LL_EXTI_DisableRisingTrig_64_95
2037 * @param ExtiLine This parameter can be a combination of the following values:
2038 * @arg @ref LL_EXTI_LINE_82 (*)
2039 * @arg @ref LL_EXTI_LINE_84 (*)
2040 * @arg @ref LL_EXTI_LINE_85
2041 * @arg @ref LL_EXTI_LINE_86 (**)
2043 * (*) value only defined in dual core devices.
2044 * (**) value not defined in all devices.
2045 * @retval None
2047 __STATIC_INLINE void LL_EXTI_DisableRisingTrig_64_95(uint32_t ExtiLine)
2049 CLEAR_BIT(EXTI->RTSR3, ExtiLine);
2053 * @brief Check if rising edge trigger is enabled for Lines in range 0 to 31
2054 * @rmtoll RTSR1 RTx LL_EXTI_IsEnabledRisingTrig_0_31
2055 * @param ExtiLine This parameter can be a combination of the following values:
2056 * @arg @ref LL_EXTI_LINE_0
2057 * @arg @ref LL_EXTI_LINE_1
2058 * @arg @ref LL_EXTI_LINE_2
2059 * @arg @ref LL_EXTI_LINE_3
2060 * @arg @ref LL_EXTI_LINE_4
2061 * @arg @ref LL_EXTI_LINE_5
2062 * @arg @ref LL_EXTI_LINE_6
2063 * @arg @ref LL_EXTI_LINE_7
2064 * @arg @ref LL_EXTI_LINE_8
2065 * @arg @ref LL_EXTI_LINE_9
2066 * @arg @ref LL_EXTI_LINE_10
2067 * @arg @ref LL_EXTI_LINE_11
2068 * @arg @ref LL_EXTI_LINE_12
2069 * @arg @ref LL_EXTI_LINE_13
2070 * @arg @ref LL_EXTI_LINE_14
2071 * @arg @ref LL_EXTI_LINE_15
2072 * @arg @ref LL_EXTI_LINE_16
2073 * @arg @ref LL_EXTI_LINE_17
2074 * @arg @ref LL_EXTI_LINE_18
2075 * @arg @ref LL_EXTI_LINE_19
2076 * @arg @ref LL_EXTI_LINE_20
2077 * @arg @ref LL_EXTI_LINE_21
2078 * @retval State of bit (1 or 0).
2080 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledRisingTrig_0_31(uint32_t ExtiLine)
2082 return ((READ_BIT(EXTI->RTSR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2087 * @brief Check if rising edge trigger is enabled for Lines in range 32 to 63
2088 * @rmtoll RTSR2 RTx LL_EXTI_IsEnabledRisingTrig_32_63
2089 * @param ExtiLine This parameter can be a combination of the following values:
2090 * @arg @ref LL_EXTI_LINE_49
2091 * @arg @ref LL_EXTI_LINE_51
2092 * @retval State of bit (1 or 0).
2094 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledRisingTrig_32_63(uint32_t ExtiLine)
2096 return ((READ_BIT(EXTI->RTSR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2100 * @brief Check if rising edge trigger is enabled for Lines in range 64 to 95
2101 * @rmtoll RTSR3 RTx LL_EXTI_IsEnabledRisingTrig_64_95
2102 * @param ExtiLine This parameter can be a combination of the following values:
2103 * @arg @ref LL_EXTI_LINE_82 (*)
2104 * @arg @ref LL_EXTI_LINE_84 (*)
2105 * @arg @ref LL_EXTI_LINE_85
2106 * @arg @ref LL_EXTI_LINE_86 (**)
2108 * (*) value only defined in dual core devices.
2109 * (**) value not defined in all devices.
2110 * @retval State of bit (1 or 0).
2112 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledRisingTrig_64_95(uint32_t ExtiLine)
2114 return ((READ_BIT(EXTI->RTSR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2118 * @}
2121 /** @defgroup EXTI_LL_EF_Falling_Trigger_Management Falling_Trigger_Management
2122 * @{
2126 * @brief Enable ExtiLine Falling Edge Trigger for Lines in range 0 to 31
2127 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2128 * generated on these lines. If a falling edge on a configurable interrupt
2129 * line occurs during a write operation in the EXTI_FTSR register, the
2130 * pending bit is not set.
2131 * Rising and falling edge triggers can be set for
2132 * the same interrupt line. In this case, both generate a trigger
2133 * condition.
2134 * @rmtoll FTSR1 FTx LL_EXTI_EnableFallingTrig_0_31
2135 * @param ExtiLine This parameter can be a combination of the following values:
2136 * @arg @ref LL_EXTI_LINE_0
2137 * @arg @ref LL_EXTI_LINE_1
2138 * @arg @ref LL_EXTI_LINE_2
2139 * @arg @ref LL_EXTI_LINE_3
2140 * @arg @ref LL_EXTI_LINE_4
2141 * @arg @ref LL_EXTI_LINE_5
2142 * @arg @ref LL_EXTI_LINE_6
2143 * @arg @ref LL_EXTI_LINE_7
2144 * @arg @ref LL_EXTI_LINE_8
2145 * @arg @ref LL_EXTI_LINE_9
2146 * @arg @ref LL_EXTI_LINE_10
2147 * @arg @ref LL_EXTI_LINE_11
2148 * @arg @ref LL_EXTI_LINE_12
2149 * @arg @ref LL_EXTI_LINE_13
2150 * @arg @ref LL_EXTI_LINE_14
2151 * @arg @ref LL_EXTI_LINE_15
2152 * @arg @ref LL_EXTI_LINE_16
2153 * @arg @ref LL_EXTI_LINE_18
2154 * @arg @ref LL_EXTI_LINE_19
2155 * @arg @ref LL_EXTI_LINE_20
2156 * @arg @ref LL_EXTI_LINE_21
2157 * @note Please check each device line mapping for EXTI Line availability
2158 * @retval None
2160 __STATIC_INLINE void LL_EXTI_EnableFallingTrig_0_31(uint32_t ExtiLine)
2162 SET_BIT(EXTI->FTSR1, ExtiLine);
2166 * @brief Enable ExtiLine Falling Edge Trigger for Lines in range 32 to 63
2167 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2168 * generated on these lines. If a Falling edge on a configurable interrupt
2169 * line occurs during a write operation in the EXTI_FTSR register, the
2170 * pending bit is not set.
2171 * Rising and falling edge triggers can be set for
2172 * the same interrupt line. In this case, both generate a trigger
2173 * condition.
2174 * @rmtoll FTSR2 FTx LL_EXTI_EnableFallingTrig_32_63
2175 * @param ExtiLine This parameter can be a combination of the following values:
2176 * @arg @ref LL_EXTI_LINE_49
2177 * @arg @ref LL_EXTI_LINE_51
2178 * @retval None
2180 __STATIC_INLINE void LL_EXTI_EnableFallingTrig_32_63(uint32_t ExtiLine)
2182 SET_BIT(EXTI->FTSR2, ExtiLine);
2186 * @brief Enable ExtiLine Falling Edge Trigger for Lines in range 64 to 95
2187 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2188 * generated on these lines. If a Falling edge on a configurable interrupt
2189 * line occurs during a write operation in the EXTI_FTSR register, the
2190 * pending bit is not set.
2191 * Rising and falling edge triggers can be set for
2192 * the same interrupt line. In this case, both generate a trigger
2193 * condition.
2194 * @rmtoll FTSR3 FTx LL_EXTI_EnableFallingTrig_64_95
2195 * @param ExtiLine This parameter can be a combination of the following values:
2196 * @arg @ref LL_EXTI_LINE_82 (*)
2197 * @arg @ref LL_EXTI_LINE_84 (*)
2198 * @arg @ref LL_EXTI_LINE_85
2199 * @arg @ref LL_EXTI_LINE_86 (**)
2201 * (*) value only defined in dual core devices.
2202 * (**) value not defined in all devices.
2203 * @retval None
2205 __STATIC_INLINE void LL_EXTI_EnableFallingTrig_64_95(uint32_t ExtiLine)
2207 SET_BIT(EXTI->FTSR3, ExtiLine);
2212 * @brief Disable ExtiLine Falling Edge Trigger for Lines in range 0 to 31
2213 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2214 * generated on these lines. If a Falling edge on a configurable interrupt
2215 * line occurs during a write operation in the EXTI_FTSR register, the
2216 * pending bit is not set.
2217 * Rising and falling edge triggers can be set for the same interrupt line.
2218 * In this case, both generate a trigger condition.
2219 * @rmtoll FTSR1 FTx LL_EXTI_DisableFallingTrig_0_31
2220 * @param ExtiLine This parameter can be a combination of the following values:
2221 * @arg @ref LL_EXTI_LINE_0
2222 * @arg @ref LL_EXTI_LINE_1
2223 * @arg @ref LL_EXTI_LINE_2
2224 * @arg @ref LL_EXTI_LINE_3
2225 * @arg @ref LL_EXTI_LINE_4
2226 * @arg @ref LL_EXTI_LINE_5
2227 * @arg @ref LL_EXTI_LINE_6
2228 * @arg @ref LL_EXTI_LINE_7
2229 * @arg @ref LL_EXTI_LINE_8
2230 * @arg @ref LL_EXTI_LINE_9
2231 * @arg @ref LL_EXTI_LINE_10
2232 * @arg @ref LL_EXTI_LINE_11
2233 * @arg @ref LL_EXTI_LINE_12
2234 * @arg @ref LL_EXTI_LINE_13
2235 * @arg @ref LL_EXTI_LINE_14
2236 * @arg @ref LL_EXTI_LINE_15
2237 * @arg @ref LL_EXTI_LINE_16
2238 * @arg @ref LL_EXTI_LINE_18
2239 * @arg @ref LL_EXTI_LINE_19
2240 * @arg @ref LL_EXTI_LINE_20
2241 * @arg @ref LL_EXTI_LINE_21
2242 * @note Please check each device line mapping for EXTI Line availability
2243 * @retval None
2245 __STATIC_INLINE void LL_EXTI_DisableFallingTrig_0_31(uint32_t ExtiLine)
2247 CLEAR_BIT(EXTI->FTSR1, ExtiLine);
2251 * @brief Disable ExtiLine Falling Edge Trigger for Lines in range 32 to 63
2252 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2253 * generated on these lines. If a Falling edge on a configurable interrupt
2254 * line occurs during a write operation in the EXTI_FTSR register, the
2255 * pending bit is not set.
2256 * Rising and falling edge triggers can be set for the same interrupt line.
2257 * In this case, both generate a trigger condition.
2258 * @rmtoll FTSR2 FTx LL_EXTI_DisableFallingTrig_32_63
2259 * @param ExtiLine This parameter can be a combination of the following values:
2260 * @arg @ref LL_EXTI_LINE_49
2261 * @arg @ref LL_EXTI_LINE_51
2262 * @retval None
2264 __STATIC_INLINE void LL_EXTI_DisableFallingTrig_32_63(uint32_t ExtiLine)
2266 CLEAR_BIT(EXTI->FTSR2, ExtiLine);
2270 * @brief Disable ExtiLine Falling Edge Trigger for Lines in range 64 to 95
2271 * @note The configurable wakeup lines are edge-triggered. No glitch must be
2272 * generated on these lines. If a Falling edge on a configurable interrupt
2273 * line occurs during a write operation in the EXTI_FTSR register, the
2274 * pending bit is not set.
2275 * Rising and falling edge triggers can be set for the same interrupt line.
2276 * In this case, both generate a trigger condition.
2277 * @rmtoll FTSR3 FTx LL_EXTI_DisableFallingTrig_64_95
2278 * @param ExtiLine This parameter can be a combination of the following values:
2279 * @arg @ref LL_EXTI_LINE_82 (*)
2280 * @arg @ref LL_EXTI_LINE_84 (*)
2281 * @arg @ref LL_EXTI_LINE_85
2282 * @arg @ref LL_EXTI_LINE_86 (**)
2284 * (*) value only defined in dual core devices.
2285 * (**) value not defined in all devices.
2286 * @retval None
2288 __STATIC_INLINE void LL_EXTI_DisableFallingTrig_64_95(uint32_t ExtiLine)
2290 CLEAR_BIT(EXTI->FTSR3, ExtiLine);
2295 * @brief Check if falling edge trigger is enabled for Lines in range 0 to 31
2296 * @rmtoll FTSR1 FTx LL_EXTI_IsEnabledFallingTrig_0_31
2297 * @param ExtiLine This parameter can be a combination of the following values:
2298 * @arg @ref LL_EXTI_LINE_0
2299 * @arg @ref LL_EXTI_LINE_1
2300 * @arg @ref LL_EXTI_LINE_2
2301 * @arg @ref LL_EXTI_LINE_3
2302 * @arg @ref LL_EXTI_LINE_4
2303 * @arg @ref LL_EXTI_LINE_5
2304 * @arg @ref LL_EXTI_LINE_6
2305 * @arg @ref LL_EXTI_LINE_7
2306 * @arg @ref LL_EXTI_LINE_8
2307 * @arg @ref LL_EXTI_LINE_9
2308 * @arg @ref LL_EXTI_LINE_10
2309 * @arg @ref LL_EXTI_LINE_11
2310 * @arg @ref LL_EXTI_LINE_12
2311 * @arg @ref LL_EXTI_LINE_13
2312 * @arg @ref LL_EXTI_LINE_14
2313 * @arg @ref LL_EXTI_LINE_15
2314 * @arg @ref LL_EXTI_LINE_16
2315 * @arg @ref LL_EXTI_LINE_18
2316 * @arg @ref LL_EXTI_LINE_19
2317 * @arg @ref LL_EXTI_LINE_20
2318 * @arg @ref LL_EXTI_LINE_21
2319 * @note Please check each device line mapping for EXTI Line availability
2320 * @retval State of bit (1 or 0).
2322 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_0_31(uint32_t ExtiLine)
2324 return ((READ_BIT(EXTI->FTSR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2328 * @brief Check if falling edge trigger is enabled for Lines in range 32 to 63
2329 * @rmtoll FTSR2 FTx LL_EXTI_IsEnabledFallingTrig_32_63
2330 * @param ExtiLine This parameter can be a combination of the following values:
2331 * @arg @ref LL_EXTI_LINE_49
2332 * @arg @ref LL_EXTI_LINE_51
2333 * @retval State of bit (1 or 0).
2335 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_32_63(uint32_t ExtiLine)
2337 return ((READ_BIT(EXTI->FTSR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2341 * @brief Check if falling edge trigger is enabled for Lines in range 64 to 95
2342 * @rmtoll FTSR3 FTx LL_EXTI_IsEnabledFallingTrig_64_95
2343 * @param ExtiLine This parameter can be a combination of the following values:
2344 * @arg @ref LL_EXTI_LINE_82 (*)
2345 * @arg @ref LL_EXTI_LINE_84 (*)
2346 * @arg @ref LL_EXTI_LINE_85
2347 * @arg @ref LL_EXTI_LINE_86 (**)
2349 * (*) value only defined in dual core devices.
2350 * (**) value not defined in all devices.
2351 * @retval State of bit (1 or 0).
2353 __STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_64_95(uint32_t ExtiLine)
2355 return ((READ_BIT(EXTI->FTSR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2360 * @}
2363 /** @defgroup EXTI_LL_EF_Software_Interrupt_Management Software_Interrupt_Management
2364 * @{
2368 * @brief Generate a software Interrupt Event for Lines in range 0 to 31
2369 * @note If the interrupt is enabled on this line in the EXTI_C1IMR1, writing a 1 to
2370 * this bit when it is at '0' sets the corresponding pending bit in EXTI_PR1
2371 * resulting in an interrupt request generation.
2372 * This bit is cleared by clearing the corresponding bit in the EXTI_PR1
2373 * register (by writing a 1 into the bit)
2374 * @rmtoll SWIER1 SWIx LL_EXTI_GenerateSWI_0_31
2375 * @param ExtiLine This parameter can be a combination of the following values:
2376 * @arg @ref LL_EXTI_LINE_0
2377 * @arg @ref LL_EXTI_LINE_1
2378 * @arg @ref LL_EXTI_LINE_2
2379 * @arg @ref LL_EXTI_LINE_3
2380 * @arg @ref LL_EXTI_LINE_4
2381 * @arg @ref LL_EXTI_LINE_5
2382 * @arg @ref LL_EXTI_LINE_6
2383 * @arg @ref LL_EXTI_LINE_7
2384 * @arg @ref LL_EXTI_LINE_8
2385 * @arg @ref LL_EXTI_LINE_9
2386 * @arg @ref LL_EXTI_LINE_10
2387 * @arg @ref LL_EXTI_LINE_11
2388 * @arg @ref LL_EXTI_LINE_12
2389 * @arg @ref LL_EXTI_LINE_13
2390 * @arg @ref LL_EXTI_LINE_14
2391 * @arg @ref LL_EXTI_LINE_15
2392 * @arg @ref LL_EXTI_LINE_16
2393 * @arg @ref LL_EXTI_LINE_18
2394 * @arg @ref LL_EXTI_LINE_19
2395 * @arg @ref LL_EXTI_LINE_20
2396 * @arg @ref LL_EXTI_LINE_21
2397 * @note Please check each device line mapping for EXTI Line availability
2398 * @retval None
2400 __STATIC_INLINE void LL_EXTI_GenerateSWI_0_31(uint32_t ExtiLine)
2402 SET_BIT(EXTI->SWIER1, ExtiLine);
2406 * @brief Generate a software Interrupt Event for Lines in range 32 to 63
2407 * @note If the interrupt is enabled on this line in the EXTI_IMR2, writing a 1 to
2408 * this bit when it is at '0' sets the corresponding pending bit in EXTI_PR2
2409 * resulting in an interrupt request generation.
2410 * This bit is cleared by clearing the corresponding bit in the EXTI_PR2
2411 * register (by writing a 1 into the bit)
2412 * @rmtoll SWIER2 SWIx LL_EXTI_GenerateSWI_32_63
2413 * @param ExtiLine This parameter can be a combination of the following values:
2414 * @arg @ref LL_EXTI_LINE_49
2415 * @arg @ref LL_EXTI_LINE_51
2416 * @retval None
2418 __STATIC_INLINE void LL_EXTI_GenerateSWI_32_63(uint32_t ExtiLine)
2420 SET_BIT(EXTI->SWIER2, ExtiLine);
2424 * @brief Generate a software Interrupt Event for Lines in range 64 to 95
2425 * @note If the interrupt is enabled on this line in the EXTI_IMR2, writing a 1 to
2426 * this bit when it is at '0' sets the corresponding pending bit in EXTI_PR2
2427 * resulting in an interrupt request generation.
2428 * This bit is cleared by clearing the corresponding bit in the EXTI_PR3
2429 * register (by writing a 1 into the bit)
2430 * @rmtoll SWIER3 SWIx LL_EXTI_GenerateSWI_64_95
2431 * @param ExtiLine This parameter can be a combination of the following values:
2432 * @arg @ref LL_EXTI_LINE_82 (*)
2433 * @arg @ref LL_EXTI_LINE_84 (*)
2434 * @arg @ref LL_EXTI_LINE_85
2435 * @arg @ref LL_EXTI_LINE_86 (**)
2437 * (*) value only defined in dual core devices.
2438 * (**) value not defined in all devices.
2439 * @retval None
2441 __STATIC_INLINE void LL_EXTI_GenerateSWI_64_95(uint32_t ExtiLine)
2443 SET_BIT(EXTI->SWIER3, ExtiLine);
2448 * @}
2451 /** @defgroup EXTI_LL_EF_Flag_Management Flag_Management
2452 * @{
2456 * @brief Check if the ExtLine Flag is set or not for Lines in range 0 to 31
2457 * @note This bit is set when the selected edge event arrives on the interrupt
2458 * line. This bit is cleared by writing a 1 to the bit.
2459 * @rmtoll PR1 PIFx LL_EXTI_IsActiveFlag_0_31
2460 * @param ExtiLine This parameter can be a combination of the following values:
2461 * @arg @ref LL_EXTI_LINE_0
2462 * @arg @ref LL_EXTI_LINE_1
2463 * @arg @ref LL_EXTI_LINE_2
2464 * @arg @ref LL_EXTI_LINE_3
2465 * @arg @ref LL_EXTI_LINE_4
2466 * @arg @ref LL_EXTI_LINE_5
2467 * @arg @ref LL_EXTI_LINE_6
2468 * @arg @ref LL_EXTI_LINE_7
2469 * @arg @ref LL_EXTI_LINE_8
2470 * @arg @ref LL_EXTI_LINE_9
2471 * @arg @ref LL_EXTI_LINE_10
2472 * @arg @ref LL_EXTI_LINE_11
2473 * @arg @ref LL_EXTI_LINE_12
2474 * @arg @ref LL_EXTI_LINE_13
2475 * @arg @ref LL_EXTI_LINE_14
2476 * @arg @ref LL_EXTI_LINE_15
2477 * @arg @ref LL_EXTI_LINE_16
2478 * @arg @ref LL_EXTI_LINE_17
2479 * @arg @ref LL_EXTI_LINE_18
2480 * @arg @ref LL_EXTI_LINE_19
2481 * @arg @ref LL_EXTI_LINE_20
2482 * @arg @ref LL_EXTI_LINE_21
2483 * @arg @ref LL_EXTI_LINE_ALL_0_31
2484 * @retval State of bit (1 or 0).
2486 __STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_0_31(uint32_t ExtiLine)
2488 return ((READ_BIT(EXTI->PR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2492 * @brief Check if the ExtLine Flag is set or not for Lines in range 32 to 63
2493 * @note This bit is set when the selected edge event arrives on the interrupt
2494 * line. This bit is cleared by writing a 1 to the bit.
2495 * @rmtoll PR2 PIFx LL_EXTI_IsActiveFlag_32_63
2496 * @param ExtiLine This parameter can be a combination of the following values:
2497 * @arg @ref LL_EXTI_LINE_49
2498 * @arg @ref LL_EXTI_LINE_51
2499 * @arg @ref LL_EXTI_LINE_ALL_32_63
2500 * @retval State of bit (1 or 0).
2502 __STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_32_63(uint32_t ExtiLine)
2504 return ((READ_BIT(EXTI->PR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2508 * @brief Check if the ExtLine Flag is set or not for Lines in range 64 to 95
2509 * @note This bit is set when the selected edge event arrives on the interrupt
2510 * line. This bit is cleared by writing a 1 to the bit.
2511 * @rmtoll PR3 PIFx LL_EXTI_IsActiveFlag_64_95
2512 * @param ExtiLine This parameter can be a combination of the following values:
2513 * @arg @ref LL_EXTI_LINE_82 (*)
2514 * @arg @ref LL_EXTI_LINE_84 (*)
2515 * @arg @ref LL_EXTI_LINE_85
2516 * @arg @ref LL_EXTI_LINE_86 (**)
2518 * (*) value only defined in dual core devices.
2519 * (**) value not defined in all devices.
2520 * @retval State of bit (1 or 0).
2522 __STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_64_95(uint32_t ExtiLine)
2524 return ((READ_BIT(EXTI->PR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2529 * @brief Read ExtLine Combination Flag for Lines in range 0 to 31
2530 * @note This bit is set when the selected edge event arrives on the interrupt
2531 * line. This bit is cleared by writing a 1 to the bit.
2532 * @rmtoll PR1 PIFx LL_EXTI_ReadFlag_0_31
2533 * @param ExtiLine This parameter can be a combination of the following values:
2534 * @arg @ref LL_EXTI_LINE_0
2535 * @arg @ref LL_EXTI_LINE_1
2536 * @arg @ref LL_EXTI_LINE_2
2537 * @arg @ref LL_EXTI_LINE_3
2538 * @arg @ref LL_EXTI_LINE_4
2539 * @arg @ref LL_EXTI_LINE_5
2540 * @arg @ref LL_EXTI_LINE_6
2541 * @arg @ref LL_EXTI_LINE_7
2542 * @arg @ref LL_EXTI_LINE_8
2543 * @arg @ref LL_EXTI_LINE_9
2544 * @arg @ref LL_EXTI_LINE_10
2545 * @arg @ref LL_EXTI_LINE_11
2546 * @arg @ref LL_EXTI_LINE_12
2547 * @arg @ref LL_EXTI_LINE_13
2548 * @arg @ref LL_EXTI_LINE_14
2549 * @arg @ref LL_EXTI_LINE_15
2550 * @arg @ref LL_EXTI_LINE_16
2551 * @arg @ref LL_EXTI_LINE_17
2552 * @arg @ref LL_EXTI_LINE_18
2553 * @arg @ref LL_EXTI_LINE_19
2554 * @arg @ref LL_EXTI_LINE_20
2555 * @arg @ref LL_EXTI_LINE_21
2556 * @retval @note This bit is set when the selected edge event arrives on the interrupt
2558 __STATIC_INLINE uint32_t LL_EXTI_ReadFlag_0_31(uint32_t ExtiLine)
2560 return (uint32_t)(READ_BIT(EXTI->PR1, ExtiLine));
2565 * @brief Read ExtLine Combination Flag for Lines in range 32 to 63
2566 * @note This bit is set when the selected edge event arrives on the interrupt
2567 * line. This bit is cleared by writing a 1 to the bit.
2568 * @rmtoll PR2 PIFx LL_EXTI_ReadFlag_32_63
2569 * @param ExtiLine This parameter can be a combination of the following values:
2570 * @arg @ref LL_EXTI_LINE_49
2571 * @arg @ref LL_EXTI_LINE_51
2572 * @retval @note This bit is set when the selected edge event arrives on the interrupt
2574 __STATIC_INLINE uint32_t LL_EXTI_ReadFlag_32_63(uint32_t ExtiLine)
2576 return (uint32_t)(READ_BIT(EXTI->PR2, ExtiLine));
2581 * @brief Read ExtLine Combination Flag for Lines in range 64 to 95
2582 * @note This bit is set when the selected edge event arrives on the interrupt
2583 * line. This bit is cleared by writing a 1 to the bit.
2584 * @rmtoll PR3 PIFx LL_EXTI_ReadFlag_64_95
2585 * @param ExtiLine This parameter can be a combination of the following values:
2586 * @arg @ref LL_EXTI_LINE_82 (*)
2587 * @arg @ref LL_EXTI_LINE_84 (*)
2588 * @arg @ref LL_EXTI_LINE_85
2589 * @arg @ref LL_EXTI_LINE_86 (**)
2591 * (*) value only defined in dual core devices.
2592 * (**) value not defined in all devices.
2593 * @retval @note This bit is set when the selected edge event arrives on the interrupt
2595 __STATIC_INLINE uint32_t LL_EXTI_ReadFlag_64_95(uint32_t ExtiLine)
2597 return (uint32_t)(READ_BIT(EXTI->PR3, ExtiLine));
2601 * @brief Clear ExtLine Flags for Lines in range 0 to 31
2602 * @note This bit is set when the selected edge event arrives on the interrupt
2603 * line. This bit is cleared by writing a 1 to the bit.
2604 * @rmtoll PR1 PIFx LL_EXTI_ClearFlag_0_31
2605 * @param ExtiLine This parameter can be a combination of the following values:
2606 * @arg @ref LL_EXTI_LINE_0
2607 * @arg @ref LL_EXTI_LINE_1
2608 * @arg @ref LL_EXTI_LINE_2
2609 * @arg @ref LL_EXTI_LINE_3
2610 * @arg @ref LL_EXTI_LINE_4
2611 * @arg @ref LL_EXTI_LINE_5
2612 * @arg @ref LL_EXTI_LINE_6
2613 * @arg @ref LL_EXTI_LINE_7
2614 * @arg @ref LL_EXTI_LINE_8
2615 * @arg @ref LL_EXTI_LINE_9
2616 * @arg @ref LL_EXTI_LINE_10
2617 * @arg @ref LL_EXTI_LINE_11
2618 * @arg @ref LL_EXTI_LINE_12
2619 * @arg @ref LL_EXTI_LINE_13
2620 * @arg @ref LL_EXTI_LINE_14
2621 * @arg @ref LL_EXTI_LINE_15
2622 * @arg @ref LL_EXTI_LINE_16
2623 * @arg @ref LL_EXTI_LINE_17
2624 * @arg @ref LL_EXTI_LINE_18
2625 * @arg @ref LL_EXTI_LINE_19
2626 * @arg @ref LL_EXTI_LINE_20
2627 * @arg @ref LL_EXTI_LINE_21
2628 * @retval None
2630 __STATIC_INLINE void LL_EXTI_ClearFlag_0_31(uint32_t ExtiLine)
2632 WRITE_REG(EXTI->PR1, ExtiLine);
2636 * @brief Clear ExtLine Flags for Lines in range 32 to 63
2637 * @note This bit is set when the selected edge event arrives on the interrupt
2638 * line. This bit is cleared by writing a 1 to the bit.
2639 * @rmtoll PR2 PIFx LL_EXTI_ClearFlag_32_63
2640 * @param ExtiLine This parameter can be a combination of the following values:
2641 * @arg @ref LL_EXTI_LINE_49
2642 * @arg @ref LL_EXTI_LINE_51
2643 * @retval None
2645 __STATIC_INLINE void LL_EXTI_ClearFlag_32_63(uint32_t ExtiLine)
2647 WRITE_REG(EXTI->PR2, ExtiLine);
2651 * @brief Clear ExtLine Flags for Lines in range 64 to 95
2652 * @note This bit is set when the selected edge event arrives on the interrupt
2653 * line. This bit is cleared by writing a 1 to the bit.
2654 * @rmtoll PR3 PIFx LL_EXTI_ClearFlag_64_95
2655 * @param ExtiLine This parameter can be a combination of the following values:
2656 * @arg @ref LL_EXTI_LINE_82 (*)
2657 * @arg @ref LL_EXTI_LINE_84 (*)
2658 * @arg @ref LL_EXTI_LINE_85
2659 * @arg @ref LL_EXTI_LINE_86 (**)
2661 * (*) value only defined in dual core devices.
2662 * (**) value not defined in all devices.
2663 * @retval None
2665 __STATIC_INLINE void LL_EXTI_ClearFlag_64_95(uint32_t ExtiLine)
2667 WRITE_REG(EXTI->PR3, ExtiLine);
2670 #if defined(DUAL_CORE)
2673 * @brief Check if the ExtLine Flag is set or not for Lines in range 0 to 31 for cpu2
2674 * @note This bit is set when the selected edge event arrives on the interrupt
2675 * line. This bit is cleared by writing a 1 to the bit.
2676 * @rmtoll C2PR1 PIFx LL_C2_EXTI_IsActiveFlag_0_31
2677 * @param ExtiLine This parameter can be a combination of the following values:
2678 * @arg @ref LL_EXTI_LINE_0
2679 * @arg @ref LL_EXTI_LINE_1
2680 * @arg @ref LL_EXTI_LINE_2
2681 * @arg @ref LL_EXTI_LINE_3
2682 * @arg @ref LL_EXTI_LINE_4
2683 * @arg @ref LL_EXTI_LINE_5
2684 * @arg @ref LL_EXTI_LINE_6
2685 * @arg @ref LL_EXTI_LINE_7
2686 * @arg @ref LL_EXTI_LINE_8
2687 * @arg @ref LL_EXTI_LINE_9
2688 * @arg @ref LL_EXTI_LINE_10
2689 * @arg @ref LL_EXTI_LINE_11
2690 * @arg @ref LL_EXTI_LINE_12
2691 * @arg @ref LL_EXTI_LINE_13
2692 * @arg @ref LL_EXTI_LINE_14
2693 * @arg @ref LL_EXTI_LINE_15
2694 * @arg @ref LL_EXTI_LINE_16
2695 * @arg @ref LL_EXTI_LINE_17
2696 * @arg @ref LL_EXTI_LINE_18
2697 * @arg @ref LL_EXTI_LINE_19
2698 * @arg @ref LL_EXTI_LINE_20
2699 * @arg @ref LL_EXTI_LINE_21
2700 * @arg @ref LL_EXTI_LINE_ALL_0_31
2701 * @retval State of bit (1 or 0).
2703 __STATIC_INLINE uint32_t LL_C2_EXTI_IsActiveFlag_0_31(uint32_t ExtiLine)
2705 return ((READ_BIT(EXTI->C2PR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2709 * @brief Check if the ExtLine Flag is set or not for Lines in range 32 to 63 for cpu2
2710 * @note This bit is set when the selected edge event arrives on the interrupt
2711 * line. This bit is cleared by writing a 1 to the bit.
2712 * @rmtoll C2PR2 PIFx LL_C2_EXTI_IsActiveFlag_32_63
2713 * @param ExtiLine This parameter can be a combination of the following values:
2714 * @arg @ref LL_EXTI_LINE_49
2715 * @arg @ref LL_EXTI_LINE_51
2716 * @arg @ref LL_EXTI_LINE_ALL_32_63
2717 * @retval State of bit (1 or 0).
2719 __STATIC_INLINE uint32_t LL_C2_EXTI_IsActiveFlag_32_63(uint32_t ExtiLine)
2721 return ((READ_BIT(EXTI->C2PR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2725 * @brief Check if the ExtLine Flag is set or not for Lines in range 64 to 95 for cpu2
2726 * @note This bit is set when the selected edge event arrives on the interrupt
2727 * line. This bit is cleared by writing a 1 to the bit.
2728 * @rmtoll C2PR3 PIFx LL_C2_EXTI_IsActiveFlag_64_95
2729 * @param ExtiLine This parameter can be a combination of the following values:
2730 * @arg @ref LL_EXTI_LINE_82
2731 * @arg @ref LL_EXTI_LINE_84
2732 * @arg @ref LL_EXTI_LINE_85
2733 * @arg @ref LL_EXTI_LINE_86
2734 * @arg @ref LL_EXTI_LINE_ALL_64_95
2735 * @retval State of bit (1 or 0).
2737 __STATIC_INLINE uint32_t LL_C2_EXTI_IsActiveFlag_64_95(uint32_t ExtiLine)
2739 return ((READ_BIT(EXTI->C2PR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2743 * @brief Read ExtLine Combination Flag for Lines in range 0 to 31 for cpu2
2744 * @note This bit is set when the selected edge event arrives on the interrupt
2745 * line. This bit is cleared by writing a 1 to the bit.
2746 * @rmtoll C2PR1 PIFx LL_C2_EXTI_ReadFlag_0_31
2747 * @param ExtiLine This parameter can be a combination of the following values:
2748 * @arg @ref LL_EXTI_LINE_0
2749 * @arg @ref LL_EXTI_LINE_1
2750 * @arg @ref LL_EXTI_LINE_2
2751 * @arg @ref LL_EXTI_LINE_3
2752 * @arg @ref LL_EXTI_LINE_4
2753 * @arg @ref LL_EXTI_LINE_5
2754 * @arg @ref LL_EXTI_LINE_6
2755 * @arg @ref LL_EXTI_LINE_7
2756 * @arg @ref LL_EXTI_LINE_8
2757 * @arg @ref LL_EXTI_LINE_9
2758 * @arg @ref LL_EXTI_LINE_10
2759 * @arg @ref LL_EXTI_LINE_11
2760 * @arg @ref LL_EXTI_LINE_12
2761 * @arg @ref LL_EXTI_LINE_13
2762 * @arg @ref LL_EXTI_LINE_14
2763 * @arg @ref LL_EXTI_LINE_15
2764 * @arg @ref LL_EXTI_LINE_16
2765 * @arg @ref LL_EXTI_LINE_17
2766 * @arg @ref LL_EXTI_LINE_18
2767 * @arg @ref LL_EXTI_LINE_19
2768 * @arg @ref LL_EXTI_LINE_20
2769 * @arg @ref LL_EXTI_LINE_21
2770 * @retval @note This bit is set when the selected edge event arrives on the interrupt
2772 __STATIC_INLINE uint32_t LL_C2_EXTI_ReadFlag_0_31(uint32_t ExtiLine)
2774 return (uint32_t)(READ_BIT(EXTI->C2PR1, ExtiLine));
2778 * @brief Read ExtLine Combination Flag for Lines in range 32 to 63 for cpu2
2779 * @note This bit is set when the selected edge event arrives on the interrupt
2780 * line. This bit is cleared by writing a 1 to the bit.
2781 * @rmtoll C2PR2 PIFx LL_C2_EXTI_ReadFlag_32_63
2782 * @param ExtiLine This parameter can be a combination of the following values:
2783 * @arg @ref LL_EXTI_LINE_49
2784 * @arg @ref LL_EXTI_LINE_51
2785 * @retval @note This bit is set when the selected edge event arrives on the interrupt
2787 __STATIC_INLINE uint32_t LL_C2_EXTI_ReadFlag_32_63(uint32_t ExtiLine)
2789 return (uint32_t)(READ_BIT(EXTI->C2PR2, ExtiLine));
2794 * @brief Read ExtLine Combination Flag for Lines in range 64 to 95 for cpu2
2795 * @note This bit is set when the selected edge event arrives on the interrupt
2796 * line. This bit is cleared by writing a 1 to the bit.
2797 * @rmtoll C2PR3 PIFx LL_C2_EXTI_ReadFlag_64_95
2798 * @param ExtiLine This parameter can be a combination of the following values:
2799 * @arg @ref LL_EXTI_LINE_82
2800 * @arg @ref LL_EXTI_LINE_84
2801 * @arg @ref LL_EXTI_LINE_85
2802 * @arg @ref LL_EXTI_LINE_86
2803 * @retval @note This bit is set when the selected edge event arrives on the interrupt
2805 __STATIC_INLINE uint32_t LL_C2_EXTI_ReadFlag_64_95(uint32_t ExtiLine)
2807 return (uint32_t)(READ_BIT(EXTI->C2PR3, ExtiLine));
2810 * @brief Clear ExtLine Flags for Lines in range 0 to 31 for cpu2
2811 * @note This bit is set when the selected edge event arrives on the interrupt
2812 * line. This bit is cleared by writing a 1 to the bit.
2813 * @rmtoll C2PR1 PIFx LL_C2_EXTI_ClearFlag_0_31
2814 * @param ExtiLine This parameter can be a combination of the following values:
2815 * @arg @ref LL_EXTI_LINE_0
2816 * @arg @ref LL_EXTI_LINE_1
2817 * @arg @ref LL_EXTI_LINE_2
2818 * @arg @ref LL_EXTI_LINE_3
2819 * @arg @ref LL_EXTI_LINE_4
2820 * @arg @ref LL_EXTI_LINE_5
2821 * @arg @ref LL_EXTI_LINE_6
2822 * @arg @ref LL_EXTI_LINE_7
2823 * @arg @ref LL_EXTI_LINE_8
2824 * @arg @ref LL_EXTI_LINE_9
2825 * @arg @ref LL_EXTI_LINE_10
2826 * @arg @ref LL_EXTI_LINE_11
2827 * @arg @ref LL_EXTI_LINE_12
2828 * @arg @ref LL_EXTI_LINE_13
2829 * @arg @ref LL_EXTI_LINE_14
2830 * @arg @ref LL_EXTI_LINE_15
2831 * @arg @ref LL_EXTI_LINE_16
2832 * @arg @ref LL_EXTI_LINE_17
2833 * @arg @ref LL_EXTI_LINE_18
2834 * @arg @ref LL_EXTI_LINE_19
2835 * @arg @ref LL_EXTI_LINE_20
2836 * @arg @ref LL_EXTI_LINE_21
2837 * @retval None
2839 __STATIC_INLINE void LL_C2_EXTI_ClearFlag_0_31(uint32_t ExtiLine)
2841 WRITE_REG(EXTI->C2PR1, ExtiLine);
2845 * @brief Clear ExtLine Flags for Lines in range 32 to 63 for cpu2
2846 * @note This bit is set when the selected edge event arrives on the interrupt
2847 * line. This bit is cleared by writing a 1 to the bit.
2848 * @rmtoll C2PR2 PIFx LL_C2_EXTI_ClearFlag_32_63
2849 * @param ExtiLine This parameter can be a combination of the following values:
2850 * @arg @ref LL_EXTI_LINE_49
2851 * @arg @ref LL_EXTI_LINE_51
2852 * @retval None
2854 __STATIC_INLINE void LL_C2_EXTI_ClearFlag_32_63(uint32_t ExtiLine)
2856 WRITE_REG(EXTI->C2PR2, ExtiLine);
2860 * @brief Clear ExtLine Flags for Lines in range 64 to 95 for cpu2
2861 * @note This bit is set when the selected edge event arrives on the interrupt
2862 * line. This bit is cleared by writing a 1 to the bit.
2863 * @rmtoll C2PR3 PIFx LL_C2_EXTI_ClearFlag_64_95
2864 * @param ExtiLine This parameter can be a combination of the following values:
2865 * @arg @ref LL_EXTI_LINE_82
2866 * @arg @ref LL_EXTI_LINE_84
2867 * @arg @ref LL_EXTI_LINE_85
2868 * @arg @ref LL_EXTI_LINE_86
2869 * @retval None
2871 __STATIC_INLINE void LL_C2_EXTI_ClearFlag_64_95(uint32_t ExtiLine)
2873 WRITE_REG(EXTI->C2PR3, ExtiLine);
2876 #endif /* DUAL_CORE */
2879 * @brief Enable ExtiLine D3 Pending Mask for Lines in range 0 to 31
2880 * @rmtoll D3PMR1 MRx LL_D3_EXTI_EnablePendMask_0_31
2881 * @param ExtiLine This parameter can be one of the following values:
2882 * @arg @ref LL_EXTI_LINE_0
2883 * @arg @ref LL_EXTI_LINE_1
2884 * @arg @ref LL_EXTI_LINE_2
2885 * @arg @ref LL_EXTI_LINE_3
2886 * @arg @ref LL_EXTI_LINE_4
2887 * @arg @ref LL_EXTI_LINE_5
2888 * @arg @ref LL_EXTI_LINE_6
2889 * @arg @ref LL_EXTI_LINE_7
2890 * @arg @ref LL_EXTI_LINE_8
2891 * @arg @ref LL_EXTI_LINE_9
2892 * @arg @ref LL_EXTI_LINE_10
2893 * @arg @ref LL_EXTI_LINE_11
2894 * @arg @ref LL_EXTI_LINE_12
2895 * @arg @ref LL_EXTI_LINE_13
2896 * @arg @ref LL_EXTI_LINE_14
2897 * @arg @ref LL_EXTI_LINE_15
2898 * @arg @ref LL_EXTI_LINE_19
2899 * @arg @ref LL_EXTI_LINE_20
2900 * @arg @ref LL_EXTI_LINE_21
2901 * @arg @ref LL_EXTI_LINE_25
2902 * @retval None
2904 __STATIC_INLINE void LL_D3_EXTI_EnablePendMask_0_31(uint32_t ExtiLine)
2906 SET_BIT(EXTI->D3PMR1, ExtiLine);
2910 * @brief Enable ExtiLine D3 Pending Mask for Lines in range 32 to 63
2911 * @rmtoll D3PMR2 MRx LL_D3_EXTI_EnablePendMask_32_63
2912 * @param ExtiLine This parameter can be one of the following values:
2913 * @arg @ref LL_EXTI_LINE_34
2914 * @arg @ref LL_EXTI_LINE_35
2915 * @arg @ref LL_EXTI_LINE_41
2916 * @arg @ref LL_EXTI_LINE_48
2917 * @arg @ref LL_EXTI_LINE_49
2918 * @arg @ref LL_EXTI_LINE_50
2919 * @arg @ref LL_EXTI_LINE_51
2920 * @arg @ref LL_EXTI_LINE_52
2921 * @arg @ref LL_EXTI_LINE_53
2922 * @retval None
2924 __STATIC_INLINE void LL_D3_EXTI_EnablePendMask_32_63(uint32_t ExtiLine)
2926 SET_BIT(EXTI->D3PMR2, ExtiLine);
2930 * @brief Disable ExtiLine D3 Pending Mask for Lines in range 0 to 31
2931 * @rmtoll D3PMR1 MRx LL_D3_EXTI_DisablePendMask_0_31
2932 * @param ExtiLine This parameter can be one of the following values:
2933 * @arg @ref LL_EXTI_LINE_0
2934 * @arg @ref LL_EXTI_LINE_1
2935 * @arg @ref LL_EXTI_LINE_2
2936 * @arg @ref LL_EXTI_LINE_3
2937 * @arg @ref LL_EXTI_LINE_4
2938 * @arg @ref LL_EXTI_LINE_5
2939 * @arg @ref LL_EXTI_LINE_6
2940 * @arg @ref LL_EXTI_LINE_7
2941 * @arg @ref LL_EXTI_LINE_8
2942 * @arg @ref LL_EXTI_LINE_9
2943 * @arg @ref LL_EXTI_LINE_10
2944 * @arg @ref LL_EXTI_LINE_11
2945 * @arg @ref LL_EXTI_LINE_12
2946 * @arg @ref LL_EXTI_LINE_13
2947 * @arg @ref LL_EXTI_LINE_14
2948 * @arg @ref LL_EXTI_LINE_15
2949 * @arg @ref LL_EXTI_LINE_19
2950 * @arg @ref LL_EXTI_LINE_20
2951 * @arg @ref LL_EXTI_LINE_21
2952 * @arg @ref LL_EXTI_LINE_25
2953 * @retval None
2955 __STATIC_INLINE void LL_D3_EXTI_DisablePendMask_0_31(uint32_t ExtiLine)
2957 CLEAR_BIT(EXTI->D3PMR1, ExtiLine);
2961 * @brief Disable ExtiLine D3 Pending Mask for Lines in range 32 to 63
2962 * @rmtoll D3PMR2 MRx LL_D3_EXTI_DisablePendMask_32_63
2963 * @param ExtiLine This parameter can be one of the following values:
2964 * @arg @ref LL_EXTI_LINE_34
2965 * @arg @ref LL_EXTI_LINE_35
2966 * @arg @ref LL_EXTI_LINE_41
2967 * @arg @ref LL_EXTI_LINE_48
2968 * @arg @ref LL_EXTI_LINE_49
2969 * @arg @ref LL_EXTI_LINE_50
2970 * @arg @ref LL_EXTI_LINE_51
2971 * @arg @ref LL_EXTI_LINE_52
2972 * @arg @ref LL_EXTI_LINE_53
2973 * @retval None
2975 __STATIC_INLINE void LL_D3_EXTI_DisablePendMask_32_63(uint32_t ExtiLine)
2977 CLEAR_BIT(EXTI->D3PMR2, ExtiLine);
2981 * @brief Indicate if ExtiLine D3 Pending Mask is enabled for Lines in range 0 to 31
2982 * @rmtoll D3PMR1 MRx LL_D3_EXTI_IsEnabledPendMask_0_31
2983 * @param ExtiLine This parameter can be one of the following values:
2984 * @arg @ref LL_EXTI_LINE_0
2985 * @arg @ref LL_EXTI_LINE_1
2986 * @arg @ref LL_EXTI_LINE_2
2987 * @arg @ref LL_EXTI_LINE_3
2988 * @arg @ref LL_EXTI_LINE_4
2989 * @arg @ref LL_EXTI_LINE_5
2990 * @arg @ref LL_EXTI_LINE_6
2991 * @arg @ref LL_EXTI_LINE_7
2992 * @arg @ref LL_EXTI_LINE_8
2993 * @arg @ref LL_EXTI_LINE_9
2994 * @arg @ref LL_EXTI_LINE_10
2995 * @arg @ref LL_EXTI_LINE_11
2996 * @arg @ref LL_EXTI_LINE_12
2997 * @arg @ref LL_EXTI_LINE_13
2998 * @arg @ref LL_EXTI_LINE_14
2999 * @arg @ref LL_EXTI_LINE_15
3000 * @arg @ref LL_EXTI_LINE_19
3001 * @arg @ref LL_EXTI_LINE_20
3002 * @arg @ref LL_EXTI_LINE_21
3003 * @arg @ref LL_EXTI_LINE_25
3004 * @retval State of bit (1 or 0).
3006 __STATIC_INLINE uint32_t LL_D3_EXTI_IsEnabledPendMask_0_31(uint32_t ExtiLine)
3008 return ((READ_BIT(EXTI->D3PMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
3012 * @brief Indicate if ExtiLine D3 Pending Mask is enabled for Lines in range 32 to 63
3013 * @rmtoll D3PMR2 MRx LL_D3_EXTI_IsEnabledPendMask_32_63
3014 * @param ExtiLine This parameter can be one of the following values:
3015 * @arg @ref LL_EXTI_LINE_34
3016 * @arg @ref LL_EXTI_LINE_35
3017 * @arg @ref LL_EXTI_LINE_41
3018 * @arg @ref LL_EXTI_LINE_48
3019 * @arg @ref LL_EXTI_LINE_49
3020 * @arg @ref LL_EXTI_LINE_50
3021 * @arg @ref LL_EXTI_LINE_51
3022 * @arg @ref LL_EXTI_LINE_52
3023 * @arg @ref LL_EXTI_LINE_53
3024 * @retval State of bit (1 or 0).
3026 __STATIC_INLINE uint32_t LL_D3_EXTI_IsEnabledPendMask_32_63(uint32_t ExtiLine)
3028 return ((READ_BIT(EXTI->D3PMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
3032 * @brief Set ExtLine D3 Domain Pend Clear Source selection for Lines in range 0 to 15
3033 * @rmtoll D3PCR1L PCSx LL_D3_EXTI_SetPendClearSel_0_15
3034 * @param ExtiLine This parameter can be one of the following values:
3035 * @arg @ref LL_EXTI_LINE_0
3036 * @arg @ref LL_EXTI_LINE_1
3037 * @arg @ref LL_EXTI_LINE_2
3038 * @arg @ref LL_EXTI_LINE_3
3039 * @arg @ref LL_EXTI_LINE_4
3040 * @arg @ref LL_EXTI_LINE_5
3041 * @arg @ref LL_EXTI_LINE_6
3042 * @arg @ref LL_EXTI_LINE_7
3043 * @arg @ref LL_EXTI_LINE_8
3044 * @arg @ref LL_EXTI_LINE_9
3045 * @arg @ref LL_EXTI_LINE_10
3046 * @arg @ref LL_EXTI_LINE_11
3047 * @arg @ref LL_EXTI_LINE_12
3048 * @arg @ref LL_EXTI_LINE_13
3049 * @arg @ref LL_EXTI_LINE_14
3050 * @arg @ref LL_EXTI_LINE_15
3051 * @param ClrSrc This parameter can be one of the following values:
3052 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3053 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3054 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3055 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3056 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3057 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3059 * (*) value not defined in all devices.
3060 * @retval None
3062 __STATIC_INLINE void LL_D3_EXTI_SetPendClearSel_0_15(uint32_t ExtiLine, uint32_t ClrSrc)
3064 MODIFY_REG(EXTI->D3PCR1L, ((ExtiLine * ExtiLine) * 3UL), ((ExtiLine * ExtiLine) * ClrSrc));
3068 * @brief Set ExtLine D3 Domain Pend Clear Source selection for Lines in range 16 to 31
3069 * @rmtoll D3PCR1H PCSx LL_D3_EXTI_SetPendClearSel_16_31
3070 * @param ExtiLine This parameter can be one of the following values:
3071 * @arg @ref LL_EXTI_LINE_19
3072 * @arg @ref LL_EXTI_LINE_20
3073 * @arg @ref LL_EXTI_LINE_21
3074 * @arg @ref LL_EXTI_LINE_25
3075 * @param ClrSrc This parameter can be one of the following values:
3076 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3077 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3078 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3079 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3080 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3081 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3083 * (*) value not defined in all devices.
3084 * @retval None
3086 __STATIC_INLINE void LL_D3_EXTI_SetPendClearSel_16_31(uint32_t ExtiLine, uint32_t ClrSrc)
3088 MODIFY_REG(EXTI->D3PCR1H, (((ExtiLine >> EXTI_IMR1_IM16_Pos) * (ExtiLine >> EXTI_IMR1_IM16_Pos)) * 3UL), (((ExtiLine >> EXTI_IMR1_IM16_Pos) * (ExtiLine >> EXTI_IMR1_IM16_Pos)) * ClrSrc));
3093 * @brief Set ExtLine D3 Domain Pend Clear Source selection for Lines in range 32 to 47
3094 * @rmtoll D3PCR2L PCSx LL_D3_EXTI_SetPendClearSel_32_47
3095 * @param ExtiLine This parameter can be one of the following values:
3096 * @arg @ref LL_EXTI_LINE_34
3097 * @arg @ref LL_EXTI_LINE_35
3098 * @arg @ref LL_EXTI_LINE_41
3099 * @param ClrSrc This parameter can be one of the following values:
3100 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3101 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3102 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3103 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3104 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3105 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3107 * (*) value not defined in all devices.
3108 * @retval None
3110 __STATIC_INLINE void LL_D3_EXTI_SetPendClearSel_32_47(uint32_t ExtiLine, uint32_t ClrSrc)
3112 MODIFY_REG(EXTI->D3PCR2L, ((ExtiLine * ExtiLine) * 3UL), ((ExtiLine * ExtiLine) * ClrSrc));
3116 * @brief Set ExtLine D3 Domain Pend Clear Source selection for Lines in range 48 to 63
3117 * @rmtoll D3PCR2H PCSx LL_D3_EXTI_SetPendClearSel_48_63
3118 * @param ExtiLine This parameter can be one of the following values:
3119 * @arg @ref LL_EXTI_LINE_48
3120 * @arg @ref LL_EXTI_LINE_49
3121 * @arg @ref LL_EXTI_LINE_50
3122 * @arg @ref LL_EXTI_LINE_51
3123 * @arg @ref LL_EXTI_LINE_52
3124 * @arg @ref LL_EXTI_LINE_53
3125 * @param ClrSrc This parameter can be one of the following values:
3126 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3127 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3128 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3129 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3130 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3131 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3133 * (*) value not defined in all devices.
3134 * @retval None
3136 __STATIC_INLINE void LL_D3_EXTI_SetPendClearSel_48_63(uint32_t ExtiLine, uint32_t ClrSrc)
3138 MODIFY_REG(EXTI->D3PCR2H, (((ExtiLine >> EXTI_IMR2_IM48_Pos) * (ExtiLine >> EXTI_IMR2_IM48_Pos)) * 3UL), (((ExtiLine >> EXTI_IMR2_IM48_Pos) * (ExtiLine >> EXTI_IMR2_IM48_Pos)) * ClrSrc));
3142 * @brief Get ExtLine D3 Domain Pend Clear Source selection for Lines in range 0 to 15
3143 * @rmtoll D3PCR1L PCSx LL_D3_EXTI_GetPendClearSel_0_15
3144 * @param ExtiLine This parameter can be one of the following values:
3145 * @arg @ref LL_EXTI_LINE_0
3146 * @arg @ref LL_EXTI_LINE_1
3147 * @arg @ref LL_EXTI_LINE_2
3148 * @arg @ref LL_EXTI_LINE_3
3149 * @arg @ref LL_EXTI_LINE_4
3150 * @arg @ref LL_EXTI_LINE_5
3151 * @arg @ref LL_EXTI_LINE_6
3152 * @arg @ref LL_EXTI_LINE_7
3153 * @arg @ref LL_EXTI_LINE_8
3154 * @arg @ref LL_EXTI_LINE_9
3155 * @arg @ref LL_EXTI_LINE_10
3156 * @arg @ref LL_EXTI_LINE_11
3157 * @arg @ref LL_EXTI_LINE_12
3158 * @arg @ref LL_EXTI_LINE_13
3159 * @arg @ref LL_EXTI_LINE_14
3160 * @arg @ref LL_EXTI_LINE_15
3161 * @retval Returned value can be one of the following values:
3162 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3163 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3164 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3165 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3166 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3167 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3169 * (*) value not defined in all devices.
3171 __STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_0_15(uint32_t ExtiLine)
3173 return (uint32_t)(READ_BIT(EXTI->D3PCR1L, ((ExtiLine * ExtiLine) * 3UL)) / (ExtiLine * ExtiLine));
3177 * @brief Get ExtLine D3 Domain Pend Clear Source selection for Lines in range 16 to 31
3178 * @rmtoll D3PCR1H PCSx LL_D3_EXTI_GetPendClearSel_16_31
3179 * @param ExtiLine This parameter can be one of the following values:
3180 * @arg @ref LL_EXTI_LINE_19
3181 * @arg @ref LL_EXTI_LINE_20
3182 * @arg @ref LL_EXTI_LINE_21
3183 * @arg @ref LL_EXTI_LINE_25
3184 * @retval Returned value can be one of the following values:
3185 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3186 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3187 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3188 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3189 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3190 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3192 * (*) value not defined in all devices.
3194 __STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_16_31(uint32_t ExtiLine)
3196 return (uint32_t)(READ_BIT(EXTI->D3PCR1H, (((ExtiLine >> EXTI_IMR1_IM16_Pos) * (ExtiLine >> EXTI_IMR1_IM16_Pos)) * 3UL)) / ((ExtiLine >> EXTI_IMR1_IM16_Pos) * (ExtiLine >> EXTI_IMR1_IM16_Pos)));
3200 * @brief Get ExtLine D3 Domain Pend Clear Source selection for Lines in range 32 to 47
3201 * @rmtoll D3PCR2L PCSx LL_D3_EXTI_GetPendClearSel_32_47
3202 * @param ExtiLine This parameter can be one of the following values:
3203 * @arg @ref LL_EXTI_LINE_34
3204 * @arg @ref LL_EXTI_LINE_35
3205 * @arg @ref LL_EXTI_LINE_41
3206 * @retval Returned value can be one of the following values:
3207 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3208 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3209 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3210 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3211 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3212 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3214 * (*) value not defined in all devices.
3216 __STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_32_47(uint32_t ExtiLine)
3218 return (uint32_t)(READ_BIT(EXTI->D3PCR2L, ((ExtiLine * ExtiLine) * 3UL)) / (ExtiLine * ExtiLine));
3222 * @brief Get ExtLine D3 Domain Pend Clear Source selection for Lines in range 48 to 63
3223 * @rmtoll D3PCR2H PCSx LL_D3_EXTI_GetPendClearSel_48_63
3224 * @param ExtiLine This parameter can be one of the following values:
3225 * @arg @ref LL_EXTI_LINE_48
3226 * @arg @ref LL_EXTI_LINE_49
3227 * @arg @ref LL_EXTI_LINE_50
3228 * @arg @ref LL_EXTI_LINE_51
3229 * @arg @ref LL_EXTI_LINE_52
3230 * @arg @ref LL_EXTI_LINE_53
3231 * @retval Returned value can be one of the following values:
3232 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH6
3233 * @arg @ref LL_EXTI_D3_PEND_CLR_DMACH7
3234 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM4 (*)
3235 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM5 (*)
3236 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM2 (*)
3237 * @arg @ref LL_EXTI_D3_PEND_CLR_LPTIM3 (*)
3239 * (*) value not defined in all devices.
3241 __STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_48_63(uint32_t ExtiLine)
3243 return (uint32_t)(READ_BIT(EXTI->D3PCR2H, (((ExtiLine >> EXTI_IMR2_IM48_Pos) * (ExtiLine >> EXTI_IMR2_IM48_Pos)) * 3UL)) / ((ExtiLine >> EXTI_IMR2_IM48_Pos) * (ExtiLine >> EXTI_IMR2_IM48_Pos)));
3249 * @}
3252 #if defined(USE_FULL_LL_DRIVER)
3253 /** @defgroup EXTI_LL_EF_Init Initialization and de-initialization functions
3254 * @{,
3257 ErrorStatus LL_EXTI_Init(LL_EXTI_InitTypeDef *EXTI_InitStruct);
3258 ErrorStatus LL_EXTI_DeInit(void);
3259 void LL_EXTI_StructInit(LL_EXTI_InitTypeDef *EXTI_InitStruct);
3263 * @}
3265 #endif /* USE_FULL_LL_DRIVER */
3268 * @}
3272 * @}
3275 #endif /* EXTI */
3278 * @}
3281 #ifdef __cplusplus
3283 #endif
3285 #endif /* __STM32H7xx_LL_EXTI_H */
3287 /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/