20#ifndef __STM32H7xx_LL_EXTI_H
21#define __STM32H7xx_LL_EXTI_H
45#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
55#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
72 FunctionalState LineCommand;
97#define LL_EXTI_LINE_0 EXTI_IMR1_IM0
98#define LL_EXTI_LINE_1 EXTI_IMR1_IM1
99#define LL_EXTI_LINE_2 EXTI_IMR1_IM2
100#define LL_EXTI_LINE_3 EXTI_IMR1_IM3
101#define LL_EXTI_LINE_4 EXTI_IMR1_IM4
102#define LL_EXTI_LINE_5 EXTI_IMR1_IM5
103#define LL_EXTI_LINE_6 EXTI_IMR1_IM6
104#define LL_EXTI_LINE_7 EXTI_IMR1_IM7
105#define LL_EXTI_LINE_8 EXTI_IMR1_IM8
106#define LL_EXTI_LINE_9 EXTI_IMR1_IM9
107#define LL_EXTI_LINE_10 EXTI_IMR1_IM10
108#define LL_EXTI_LINE_11 EXTI_IMR1_IM11
109#define LL_EXTI_LINE_12 EXTI_IMR1_IM12
110#define LL_EXTI_LINE_13 EXTI_IMR1_IM13
111#define LL_EXTI_LINE_14 EXTI_IMR1_IM14
112#define LL_EXTI_LINE_15 EXTI_IMR1_IM15
113#define LL_EXTI_LINE_16 EXTI_IMR1_IM16
114#define LL_EXTI_LINE_17 EXTI_IMR1_IM17
115#define LL_EXTI_LINE_18 EXTI_IMR1_IM18
116#define LL_EXTI_LINE_19 EXTI_IMR1_IM19
117#define LL_EXTI_LINE_20 EXTI_IMR1_IM20
118#define LL_EXTI_LINE_21 EXTI_IMR1_IM21
119#define LL_EXTI_LINE_22 EXTI_IMR1_IM22
120#define LL_EXTI_LINE_23 EXTI_IMR1_IM23
121#define LL_EXTI_LINE_24 EXTI_IMR1_IM24
122#define LL_EXTI_LINE_25 EXTI_IMR1_IM25
123#define LL_EXTI_LINE_26 EXTI_IMR1_IM26
124#define LL_EXTI_LINE_27 EXTI_IMR1_IM27
125#define LL_EXTI_LINE_28 EXTI_IMR1_IM28
126#define LL_EXTI_LINE_29 EXTI_IMR1_IM29
127#define LL_EXTI_LINE_30 EXTI_IMR1_IM30
128#define LL_EXTI_LINE_31 EXTI_IMR1_IM31
129#define LL_EXTI_LINE_ALL_0_31 EXTI_IMR1_IM
131#define LL_EXTI_LINE_32 EXTI_IMR2_IM32
132#define LL_EXTI_LINE_33 EXTI_IMR2_IM33
133#define LL_EXTI_LINE_34 EXTI_IMR2_IM34
134#define LL_EXTI_LINE_35 EXTI_IMR2_IM35
135#define LL_EXTI_LINE_36 EXTI_IMR2_IM36
136#define LL_EXTI_LINE_37 EXTI_IMR2_IM37
137#define LL_EXTI_LINE_38 EXTI_IMR2_IM38
138#define LL_EXTI_LINE_39 EXTI_IMR2_IM39
139#define LL_EXTI_LINE_40 EXTI_IMR2_IM40
140#define LL_EXTI_LINE_41 EXTI_IMR2_IM41
141#define LL_EXTI_LINE_42 EXTI_IMR2_IM42
142#define LL_EXTI_LINE_43 EXTI_IMR2_IM43
143#if defined(USB2_OTG_FS)
144#define LL_EXTI_LINE_44 EXTI_IMR2_IM44
147#define LL_EXTI_LINE_46 EXTI_IMR2_IM46
149#define LL_EXTI_LINE_47 EXTI_IMR2_IM47
150#define LL_EXTI_LINE_48 EXTI_IMR2_IM48
151#define LL_EXTI_LINE_49 EXTI_IMR2_IM49
152#define LL_EXTI_LINE_50 EXTI_IMR2_IM50
153#define LL_EXTI_LINE_51 EXTI_IMR2_IM51
154#define LL_EXTI_LINE_52 EXTI_IMR2_IM52
155#define LL_EXTI_LINE_53 EXTI_IMR2_IM53
156#define LL_EXTI_LINE_54 EXTI_IMR2_IM54
157#define LL_EXTI_LINE_55 EXTI_IMR2_IM55
158#define LL_EXTI_LINE_56 EXTI_IMR2_IM56
159#if defined(EXTI_IMR2_IM57)
160#define LL_EXTI_LINE_57 EXTI_IMR2_IM57
162#define LL_EXTI_LINE_58 EXTI_IMR2_IM58
163#if defined(EXTI_IMR2_IM59)
164#define LL_EXTI_LINE_59 EXTI_IMR2_IM59
166#define LL_EXTI_LINE_60 EXTI_IMR2_IM60
167#define LL_EXTI_LINE_61 EXTI_IMR2_IM61
168#define LL_EXTI_LINE_62 EXTI_IMR2_IM62
169#define LL_EXTI_LINE_63 EXTI_IMR2_IM63
170#define LL_EXTI_LINE_ALL_32_63 EXTI_IMR2_IM
172#define LL_EXTI_LINE_64 EXTI_IMR3_IM64
173#define LL_EXTI_LINE_65 EXTI_IMR3_IM65
174#define LL_EXTI_LINE_66 EXTI_IMR3_IM66
175#define LL_EXTI_LINE_67 EXTI_IMR3_IM67
176#define LL_EXTI_LINE_68 EXTI_IMR3_IM68
177#define LL_EXTI_LINE_69 EXTI_IMR3_IM69
178#define LL_EXTI_LINE_70 EXTI_IMR3_IM70
179#define LL_EXTI_LINE_71 EXTI_IMR3_IM71
180#define LL_EXTI_LINE_72 EXTI_IMR3_IM72
181#define LL_EXTI_LINE_73 EXTI_IMR3_IM73
182#define LL_EXTI_LINE_74 EXTI_IMR3_IM74
184#define LL_EXTI_LINE_75 EXTI_IMR3_IM75
187#define LL_EXTI_LINE_76 EXTI_IMR3_IM76
189#if defined(DUAL_CORE)
190#define LL_EXTI_LINE_77 EXTI_IMR3_IM77
191#define LL_EXTI_LINE_78 EXTI_IMR3_IM78
192#define LL_EXTI_LINE_79 EXTI_IMR3_IM79
193#define LL_EXTI_LINE_80 EXTI_IMR3_IM80
194#define LL_EXTI_LINE_82 EXTI_IMR3_IM82
195#define LL_EXTI_LINE_84 EXTI_IMR3_IM84
197#define LL_EXTI_LINE_85 EXTI_IMR3_IM85
199#define LL_EXTI_LINE_86 EXTI_IMR3_IM86
201#define LL_EXTI_LINE_87 EXTI_IMR3_IM87
203#define LL_EXTI_LINE_88 EXTI_IMR3_IM88
205#if defined(EXTI_IMR3_IM89)
206#define LL_EXTI_LINE_89 EXTI_IMR3_IM89
208#if defined(EXTI_IMR3_IM90)
209#define LL_EXTI_LINE_90 EXTI_IMR3_IM90
212#define LL_EXTI_LINE_91 EXTI_IMR3_IM91
214#define LL_EXTI_LINE_ALL_64_95 EXTI_IMR3_IM
217#define LL_EXTI_LINE_ALL (0xFFFFFFFFU)
219#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
220#define LL_EXTI_LINE_NONE (0x00000000U)
226#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
232#define LL_EXTI_MODE_IT ((uint8_t)0x01U)
233#define LL_EXTI_MODE_EVENT ((uint8_t)0x02U)
234#define LL_EXTI_MODE_IT_EVENT ((uint8_t)0x03U)
236#if defined(DUAL_CORE)
237#define LL_EXTI_MODE_C1_IT LL_EXTI_MODE_IT
238#define LL_EXTI_MODE_C1_EVENT LL_EXTI_MODE_EVENT
239#define LL_EXTI_MODE_C1_IT_EVENT LL_EXTI_MODE_IT_EVENT
241#define LL_EXTI_MODE_C2_IT ((uint8_t)0x10U)
242#define LL_EXTI_MODE_C2_EVENT ((uint8_t)0x20U)
243#define LL_EXTI_MODE_C2_IT_EVENT ((uint8_t)0x30U)
254#define LL_EXTI_TRIGGER_NONE ((uint8_t)0x00U)
255#define LL_EXTI_TRIGGER_RISING ((uint8_t)0x01U)
256#define LL_EXTI_TRIGGER_FALLING ((uint8_t)0x02U)
257#define LL_EXTI_TRIGGER_RISING_FALLING ((uint8_t)0x03U)
267#define LL_EXTI_D3_PEND_CLR_DMACH6 ((uint8_t)0x00U)
268#define LL_EXTI_D3_PEND_CLR_DMACH7 ((uint8_t)0x01U)
270#define LL_EXTI_D3_PEND_CLR_LPTIM4 ((uint8_t)0x02U)
272#define LL_EXTI_D3_PEND_CLR_LPTIM2 ((uint8_t)0x02U)
275#define LL_EXTI_D3_PEND_CLR_LPTIM5 ((uint8_t)0x03U)
277#define LL_EXTI_D3_PEND_CLR_LPTIM3 ((uint8_t)0x02U)
308#define LL_EXTI_WriteReg(__REG__, __VALUE__) WRITE_REG(EXTI->__REG__, (__VALUE__))
315#define LL_EXTI_ReadReg(__REG__) READ_REG(EXTI->__REG__)
377__STATIC_INLINE
void LL_EXTI_EnableIT_0_31(uint32_t ExtiLine)
379 SET_BIT(EXTI->IMR1, ExtiLine);
422__STATIC_INLINE
void LL_EXTI_EnableIT_32_63(uint32_t ExtiLine)
424 SET_BIT(EXTI->IMR2, ExtiLine);
464__STATIC_INLINE
void LL_EXTI_EnableIT_64_95(uint32_t ExtiLine)
466 SET_BIT(EXTI->IMR3, ExtiLine);
509__STATIC_INLINE
void LL_EXTI_DisableIT_0_31(uint32_t ExtiLine)
511 CLEAR_BIT(EXTI->IMR1, ExtiLine);
555__STATIC_INLINE
void LL_EXTI_DisableIT_32_63(uint32_t ExtiLine)
557 CLEAR_BIT(EXTI->IMR2, ExtiLine);
596__STATIC_INLINE
void LL_EXTI_DisableIT_64_95(uint32_t ExtiLine)
598 CLEAR_BIT(EXTI->IMR3, ExtiLine);
641__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_0_31(uint32_t ExtiLine)
643 return ((READ_BIT(EXTI->IMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
687__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_32_63(uint32_t ExtiLine)
689 return ((READ_BIT(EXTI->IMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
729__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_64_95(uint32_t ExtiLine)
731 return ((READ_BIT(EXTI->IMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
734#if defined(DUAL_CORE)
774__STATIC_INLINE
void LL_C2_EXTI_EnableIT_0_31(uint32_t ExtiLine)
776 SET_BIT(EXTI->C2IMR1, ExtiLine);
818__STATIC_INLINE
void LL_C2_EXTI_EnableIT_32_63(uint32_t ExtiLine)
820 SET_BIT(EXTI->C2IMR2, ExtiLine);
853__STATIC_INLINE
void LL_C2_EXTI_EnableIT_64_95(uint32_t ExtiLine)
855 SET_BIT(EXTI->C2IMR3, ExtiLine);
898__STATIC_INLINE
void LL_C2_EXTI_DisableIT_0_31(uint32_t ExtiLine)
900 CLEAR_BIT(EXTI->C2IMR1, ExtiLine);
943__STATIC_INLINE
void LL_C2_EXTI_DisableIT_32_63(uint32_t ExtiLine)
945 CLEAR_BIT(EXTI->C2IMR2, ExtiLine);
978__STATIC_INLINE
void LL_C2_EXTI_DisableIT_64_95(uint32_t ExtiLine)
980 CLEAR_BIT(EXTI->C2IMR3, ExtiLine);
1023__STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledIT_0_31(uint32_t ExtiLine)
1025 return ((READ_BIT(EXTI->C2IMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1067__STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledIT_32_63(uint32_t ExtiLine)
1069 return ((READ_BIT(EXTI->C2IMR2, ExtiLine) == (ExtiLine))? 1U : 0U);
1102__STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledIT_64_95(uint32_t ExtiLine)
1104 return ((READ_BIT(EXTI->C2IMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1158__STATIC_INLINE
void LL_EXTI_EnableEvent_0_31(uint32_t ExtiLine)
1160 SET_BIT(EXTI->EMR1, ExtiLine);
1203__STATIC_INLINE
void LL_EXTI_EnableEvent_32_63(uint32_t ExtiLine)
1205 SET_BIT(EXTI->EMR2, ExtiLine);
1244__STATIC_INLINE
void LL_EXTI_EnableEvent_64_95(uint32_t ExtiLine)
1246 SET_BIT(EXTI->EMR3, ExtiLine);
1288__STATIC_INLINE
void LL_EXTI_DisableEvent_0_31(uint32_t ExtiLine)
1290 CLEAR_BIT(EXTI->EMR1, ExtiLine);
1333__STATIC_INLINE
void LL_EXTI_DisableEvent_32_63(uint32_t ExtiLine)
1335 CLEAR_BIT(EXTI->EMR2, ExtiLine);
1374__STATIC_INLINE
void LL_EXTI_DisableEvent_64_95(uint32_t ExtiLine)
1376 CLEAR_BIT(EXTI->EMR3, ExtiLine);
1419__STATIC_INLINE uint32_t LL_EXTI_IsEnabledEvent_0_31(uint32_t ExtiLine)
1421 return ((READ_BIT(EXTI->EMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1464__STATIC_INLINE uint32_t LL_EXTI_IsEnabledEvent_32_63(uint32_t ExtiLine)
1466 return ((READ_BIT(EXTI->EMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1505__STATIC_INLINE uint32_t LL_EXTI_IsEnabledEvent_64_95(uint32_t ExtiLine)
1507 return ((READ_BIT(EXTI->EMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1510#if defined(DUAL_CORE)
1551__STATIC_INLINE
void LL_C2_EXTI_EnableEvent_0_31(uint32_t ExtiLine)
1553 SET_BIT(EXTI->C2EMR1, ExtiLine);
1595__STATIC_INLINE
void LL_C2_EXTI_EnableEvent_32_63(uint32_t ExtiLine)
1597 SET_BIT(EXTI->C2EMR2, ExtiLine);
1629__STATIC_INLINE
void LL_C2_EXTI_EnableEvent_64_95(uint32_t ExtiLine)
1631 SET_BIT(EXTI->C2EMR3, ExtiLine);
1674__STATIC_INLINE
void LL_C2_EXTI_DisableEvent_0_31(uint32_t ExtiLine)
1676 CLEAR_BIT(EXTI->C2EMR1, ExtiLine);
1718__STATIC_INLINE
void LL_C2_EXTI_DisableEvent_32_63(uint32_t ExtiLine)
1720 CLEAR_BIT(EXTI->C2EMR2, ExtiLine);
1753__STATIC_INLINE
void LL_C2_EXTI_DisableEvent_64_95(uint32_t ExtiLine)
1755 CLEAR_BIT(EXTI->C2EMR3, ExtiLine);
1799__STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledEvent_0_31(uint32_t ExtiLine)
1801 return ((READ_BIT(EXTI->C2EMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1843__STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledEvent_32_63(uint32_t ExtiLine)
1845 return ((READ_BIT(EXTI->C2EMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1878__STATIC_INLINE uint32_t LL_C2_EXTI_IsEnabledEvent_64_95(uint32_t ExtiLine)
1880 return ((READ_BIT(EXTI->C2EMR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
1930__STATIC_INLINE
void LL_EXTI_EnableRisingTrig_0_31(uint32_t ExtiLine)
1932 SET_BIT(EXTI->RTSR1, ExtiLine);
1950__STATIC_INLINE
void LL_EXTI_EnableRisingTrig_32_63(uint32_t ExtiLine)
1952 SET_BIT(EXTI->RTSR2, ExtiLine);
1974__STATIC_INLINE
void LL_EXTI_EnableRisingTrig_64_95(uint32_t ExtiLine)
1976 SET_BIT(EXTI->RTSR3, ExtiLine);
2014__STATIC_INLINE
void LL_EXTI_DisableRisingTrig_0_31(uint32_t ExtiLine)
2016 CLEAR_BIT(EXTI->RTSR1, ExtiLine);
2035__STATIC_INLINE
void LL_EXTI_DisableRisingTrig_32_63(uint32_t ExtiLine)
2037 CLEAR_BIT(EXTI->RTSR2, ExtiLine);
2060__STATIC_INLINE
void LL_EXTI_DisableRisingTrig_64_95(uint32_t ExtiLine)
2062 CLEAR_BIT(EXTI->RTSR3, ExtiLine);
2093__STATIC_INLINE uint32_t LL_EXTI_IsEnabledRisingTrig_0_31(uint32_t ExtiLine)
2095 return ((READ_BIT(EXTI->RTSR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2107__STATIC_INLINE uint32_t LL_EXTI_IsEnabledRisingTrig_32_63(uint32_t ExtiLine)
2109 return ((READ_BIT(EXTI->RTSR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2125__STATIC_INLINE uint32_t LL_EXTI_IsEnabledRisingTrig_64_95(uint32_t ExtiLine)
2127 return ((READ_BIT(EXTI->RTSR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2174__STATIC_INLINE
void LL_EXTI_EnableFallingTrig_0_31(uint32_t ExtiLine)
2176 SET_BIT(EXTI->FTSR1, ExtiLine);
2194__STATIC_INLINE
void LL_EXTI_EnableFallingTrig_32_63(uint32_t ExtiLine)
2196 SET_BIT(EXTI->FTSR2, ExtiLine);
2219__STATIC_INLINE
void LL_EXTI_EnableFallingTrig_64_95(uint32_t ExtiLine)
2221 SET_BIT(EXTI->FTSR3, ExtiLine);
2259__STATIC_INLINE
void LL_EXTI_DisableFallingTrig_0_31(uint32_t ExtiLine)
2261 CLEAR_BIT(EXTI->FTSR1, ExtiLine);
2278__STATIC_INLINE
void LL_EXTI_DisableFallingTrig_32_63(uint32_t ExtiLine)
2280 CLEAR_BIT(EXTI->FTSR2, ExtiLine);
2302__STATIC_INLINE
void LL_EXTI_DisableFallingTrig_64_95(uint32_t ExtiLine)
2304 CLEAR_BIT(EXTI->FTSR3, ExtiLine);
2336__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_0_31(uint32_t ExtiLine)
2338 return ((READ_BIT(EXTI->FTSR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2349__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_32_63(uint32_t ExtiLine)
2351 return ((READ_BIT(EXTI->FTSR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2367__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_64_95(uint32_t ExtiLine)
2369 return ((READ_BIT(EXTI->FTSR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2415__STATIC_INLINE
void LL_EXTI_GenerateSWI_0_31(uint32_t ExtiLine)
2417 SET_BIT(EXTI->SWIER1, ExtiLine);
2433__STATIC_INLINE
void LL_EXTI_GenerateSWI_32_63(uint32_t ExtiLine)
2435 SET_BIT(EXTI->SWIER2, ExtiLine);
2456__STATIC_INLINE
void LL_EXTI_GenerateSWI_64_95(uint32_t ExtiLine)
2458 SET_BIT(EXTI->SWIER3, ExtiLine);
2502__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_0_31(uint32_t ExtiLine)
2504 return ((READ_BIT(EXTI->PR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2518__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_32_63(uint32_t ExtiLine)
2520 return ((READ_BIT(EXTI->PR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2538__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_64_95(uint32_t ExtiLine)
2540 return ((READ_BIT(EXTI->PR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2574__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_0_31(uint32_t ExtiLine)
2576 return (uint32_t)(READ_BIT(EXTI->PR1, ExtiLine));
2590__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_32_63(uint32_t ExtiLine)
2592 return (uint32_t)(READ_BIT(EXTI->PR2, ExtiLine));
2611__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_64_95(uint32_t ExtiLine)
2613 return (uint32_t)(READ_BIT(EXTI->PR3, ExtiLine));
2646__STATIC_INLINE
void LL_EXTI_ClearFlag_0_31(uint32_t ExtiLine)
2648 WRITE_REG(EXTI->PR1, ExtiLine);
2661__STATIC_INLINE
void LL_EXTI_ClearFlag_32_63(uint32_t ExtiLine)
2663 WRITE_REG(EXTI->PR2, ExtiLine);
2681__STATIC_INLINE
void LL_EXTI_ClearFlag_64_95(uint32_t ExtiLine)
2683 WRITE_REG(EXTI->PR3, ExtiLine);
2686#if defined(DUAL_CORE)
2719__STATIC_INLINE uint32_t LL_C2_EXTI_IsActiveFlag_0_31(uint32_t ExtiLine)
2721 return ((READ_BIT(EXTI->C2PR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2735__STATIC_INLINE uint32_t LL_C2_EXTI_IsActiveFlag_32_63(uint32_t ExtiLine)
2737 return ((READ_BIT(EXTI->C2PR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2753__STATIC_INLINE uint32_t LL_C2_EXTI_IsActiveFlag_64_95(uint32_t ExtiLine)
2755 return ((READ_BIT(EXTI->C2PR3, ExtiLine) == (ExtiLine)) ? 1U : 0U);
2788__STATIC_INLINE uint32_t LL_C2_EXTI_ReadFlag_0_31(uint32_t ExtiLine)
2790 return (uint32_t)(READ_BIT(EXTI->C2PR1, ExtiLine));
2803__STATIC_INLINE uint32_t LL_C2_EXTI_ReadFlag_32_63(uint32_t ExtiLine)
2805 return (uint32_t)(READ_BIT(EXTI->C2PR2, ExtiLine));
2821__STATIC_INLINE uint32_t LL_C2_EXTI_ReadFlag_64_95(uint32_t ExtiLine)
2823 return (uint32_t)(READ_BIT(EXTI->C2PR3, ExtiLine));
2855__STATIC_INLINE
void LL_C2_EXTI_ClearFlag_0_31(uint32_t ExtiLine)
2857 WRITE_REG(EXTI->C2PR1, ExtiLine);
2870__STATIC_INLINE
void LL_C2_EXTI_ClearFlag_32_63(uint32_t ExtiLine)
2872 WRITE_REG(EXTI->C2PR2, ExtiLine);
2887__STATIC_INLINE
void LL_C2_EXTI_ClearFlag_64_95(uint32_t ExtiLine)
2889 WRITE_REG(EXTI->C2PR3, ExtiLine);
2920__STATIC_INLINE
void LL_D3_EXTI_EnablePendMask_0_31(uint32_t ExtiLine)
2922 SET_BIT(EXTI->D3PMR1, ExtiLine);
2940__STATIC_INLINE
void LL_D3_EXTI_EnablePendMask_32_63(uint32_t ExtiLine)
2942 SET_BIT(EXTI->D3PMR2, ExtiLine);
2971__STATIC_INLINE
void LL_D3_EXTI_DisablePendMask_0_31(uint32_t ExtiLine)
2973 CLEAR_BIT(EXTI->D3PMR1, ExtiLine);
2991__STATIC_INLINE
void LL_D3_EXTI_DisablePendMask_32_63(uint32_t ExtiLine)
2993 CLEAR_BIT(EXTI->D3PMR2, ExtiLine);
3022__STATIC_INLINE uint32_t LL_D3_EXTI_IsEnabledPendMask_0_31(uint32_t ExtiLine)
3024 return ((READ_BIT(EXTI->D3PMR1, ExtiLine) == (ExtiLine)) ? 1U : 0U);
3042__STATIC_INLINE uint32_t LL_D3_EXTI_IsEnabledPendMask_32_63(uint32_t ExtiLine)
3044 return ((READ_BIT(EXTI->D3PMR2, ExtiLine) == (ExtiLine)) ? 1U : 0U);
3078__STATIC_INLINE
void LL_D3_EXTI_SetPendClearSel_0_15(uint32_t ExtiLine, uint32_t ClrSrc)
3080 MODIFY_REG(EXTI->D3PCR1L, ((ExtiLine * ExtiLine) * 3UL), ((ExtiLine * ExtiLine) * ClrSrc));
3102__STATIC_INLINE
void LL_D3_EXTI_SetPendClearSel_16_31(uint32_t ExtiLine, uint32_t ClrSrc)
3104 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));
3126__STATIC_INLINE
void LL_D3_EXTI_SetPendClearSel_32_47(uint32_t ExtiLine, uint32_t ClrSrc)
3128 MODIFY_REG(EXTI->D3PCR2L, ((ExtiLine * ExtiLine) * 3UL), ((ExtiLine * ExtiLine) * ClrSrc));
3152__STATIC_INLINE
void LL_D3_EXTI_SetPendClearSel_48_63(uint32_t ExtiLine, uint32_t ClrSrc)
3154 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));
3187__STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_0_15(uint32_t ExtiLine)
3189 return (uint32_t)(READ_BIT(EXTI->D3PCR1L, ((ExtiLine * ExtiLine) * 3UL)) / (ExtiLine * ExtiLine));
3210__STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_16_31(uint32_t ExtiLine)
3212 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)));
3232__STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_32_47(uint32_t ExtiLine)
3234 return (uint32_t)(READ_BIT(EXTI->D3PCR2L, ((ExtiLine * ExtiLine) * 3UL)) / (ExtiLine * ExtiLine));
3257__STATIC_INLINE uint32_t LL_D3_EXTI_GetPendClearSel_48_63(uint32_t ExtiLine)
3259 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)));
3268#if defined(USE_FULL_LL_DRIVER) || defined(__rtems__)
3274ErrorStatus LL_EXTI_Init(LL_EXTI_InitTypeDef *EXTI_InitStruct);
3275ErrorStatus LL_EXTI_DeInit(
void);
3276void LL_EXTI_StructInit(LL_EXTI_InitTypeDef *EXTI_InitStruct);
CMSIS STM32H7xx Device Peripheral Access Layer Header File.