STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_0_31 (uint32_t ExtiLine)
 Check if the ExtLine Flag is set or not for Lines in range 0 to 31. More...
 
__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_32_63 (uint32_t ExtiLine)
 Check if the ExtLine Flag is set or not for Lines in range 32 to 63. More...
 
__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_0_31 (uint32_t ExtiLine)
 Read ExtLine Combination Flag for Lines in range 0 to 31. More...
 
__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_32_63 (uint32_t ExtiLine)
 Read ExtLine Combination Flag for Lines in range 32 to 63. More...
 
__STATIC_INLINE void LL_EXTI_ClearFlag_0_31 (uint32_t ExtiLine)
 Clear ExtLine Flags for Lines in range 0 to 31. More...
 
__STATIC_INLINE void LL_EXTI_ClearFlag_32_63 (uint32_t ExtiLine)
 Clear ExtLine Flags for Lines in range 32 to 63. More...
 

Detailed Description

Function Documentation

◆ LL_EXTI_ClearFlag_0_31()

__STATIC_INLINE void LL_EXTI_ClearFlag_0_31 ( uint32_t  ExtiLine)

Clear ExtLine Flags for Lines in range 0 to 31.

Note
This bit is set when the selected edge event arrives on the interrupt line. This bit is cleared by writing a 1 to the bit. PR1 PIFx LL_EXTI_ClearFlag_0_31
Parameters
ExtiLineThis parameter can be a combination of the following values:
  • LL_EXTI_LINE_0
  • LL_EXTI_LINE_1
  • LL_EXTI_LINE_2
  • LL_EXTI_LINE_3
  • LL_EXTI_LINE_4
  • LL_EXTI_LINE_5
  • LL_EXTI_LINE_6
  • LL_EXTI_LINE_7
  • LL_EXTI_LINE_8
  • LL_EXTI_LINE_9
  • LL_EXTI_LINE_10
  • LL_EXTI_LINE_11
  • LL_EXTI_LINE_12
  • LL_EXTI_LINE_13
  • LL_EXTI_LINE_14
  • LL_EXTI_LINE_15
  • LL_EXTI_LINE_16
  • LL_EXTI_LINE_18
  • LL_EXTI_LINE_19
  • LL_EXTI_LINE_20
  • LL_EXTI_LINE_21
  • LL_EXTI_LINE_22
  • LL_EXTI_LINE_29
  • LL_EXTI_LINE_30
  • LL_EXTI_LINE_31
Note
Please check each device line mapping for EXTI Line availability
Return values
None

Definition at line 1299 of file stm32l4xx_ll_exti.h.

1300 {
1301  WRITE_REG(EXTI->PR1, ExtiLine);
1302 }

◆ LL_EXTI_ClearFlag_32_63()

__STATIC_INLINE void LL_EXTI_ClearFlag_32_63 ( uint32_t  ExtiLine)

Clear ExtLine Flags for Lines in range 32 to 63.

Note
This bit is set when the selected edge event arrives on the interrupt line. This bit is cleared by writing a 1 to the bit. PR2 PIFx LL_EXTI_ClearFlag_32_63
Parameters
ExtiLineThis parameter can be a combination of the following values:
  • LL_EXTI_LINE_35
  • LL_EXTI_LINE_36
  • LL_EXTI_LINE_37
  • LL_EXTI_LINE_38
Return values
None

Definition at line 1316 of file stm32l4xx_ll_exti.h.

1317 {
1318  WRITE_REG(EXTI->PR2, ExtiLine);
1319 }

◆ LL_EXTI_IsActiveFlag_0_31()

__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_0_31 ( uint32_t  ExtiLine)

Check if the ExtLine Flag is set or not for Lines in range 0 to 31.

Note
This bit is set when the selected edge event arrives on the interrupt line. This bit is cleared by writing a 1 to the bit. PR1 PIFx LL_EXTI_IsActiveFlag_0_31
Parameters
ExtiLineThis parameter can be a combination of the following values:
  • LL_EXTI_LINE_0
  • LL_EXTI_LINE_1
  • LL_EXTI_LINE_2
  • LL_EXTI_LINE_3
  • LL_EXTI_LINE_4
  • LL_EXTI_LINE_5
  • LL_EXTI_LINE_6
  • LL_EXTI_LINE_7
  • LL_EXTI_LINE_8
  • LL_EXTI_LINE_9
  • LL_EXTI_LINE_10
  • LL_EXTI_LINE_11
  • LL_EXTI_LINE_12
  • LL_EXTI_LINE_13
  • LL_EXTI_LINE_14
  • LL_EXTI_LINE_15
  • LL_EXTI_LINE_16
  • LL_EXTI_LINE_18
  • LL_EXTI_LINE_19
  • LL_EXTI_LINE_20
  • LL_EXTI_LINE_21
  • LL_EXTI_LINE_22
  • LL_EXTI_LINE_29
  • LL_EXTI_LINE_30
  • LL_EXTI_LINE_31
Note
Please check each device line mapping for EXTI Line availability
Return values
Stateof bit (1 or 0).

Definition at line 1187 of file stm32l4xx_ll_exti.h.

1188 {
1189  return ((READ_BIT(EXTI->PR1, ExtiLine) == (ExtiLine)) ? 1UL : 0UL);
1190 }

◆ LL_EXTI_IsActiveFlag_32_63()

__STATIC_INLINE uint32_t LL_EXTI_IsActiveFlag_32_63 ( uint32_t  ExtiLine)

Check if the ExtLine Flag is set or not for Lines in range 32 to 63.

Note
This bit is set when the selected edge event arrives on the interrupt line. This bit is cleared by writing a 1 to the bit. PR2 PIFx LL_EXTI_IsActiveFlag_32_63
Parameters
ExtiLineThis parameter can be a combination of the following values:
  • LL_EXTI_LINE_35
  • LL_EXTI_LINE_36
  • LL_EXTI_LINE_37
  • LL_EXTI_LINE_38
Return values
Stateof bit (1 or 0).

Definition at line 1204 of file stm32l4xx_ll_exti.h.

1205 {
1206  return ((READ_BIT(EXTI->PR2, ExtiLine) == (ExtiLine)) ? 1UL : 0UL);
1207 }

◆ LL_EXTI_ReadFlag_0_31()

__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_0_31 ( uint32_t  ExtiLine)

Read ExtLine Combination Flag for Lines in range 0 to 31.

Note
This bit is set when the selected edge event arrives on the interrupt line. This bit is cleared by writing a 1 to the bit. PR1 PIFx LL_EXTI_ReadFlag_0_31
Parameters
ExtiLineThis parameter can be a combination of the following values:
  • LL_EXTI_LINE_0
  • LL_EXTI_LINE_1
  • LL_EXTI_LINE_2
  • LL_EXTI_LINE_3
  • LL_EXTI_LINE_4
  • LL_EXTI_LINE_5
  • LL_EXTI_LINE_6
  • LL_EXTI_LINE_7
  • LL_EXTI_LINE_8
  • LL_EXTI_LINE_9
  • LL_EXTI_LINE_10
  • LL_EXTI_LINE_11
  • LL_EXTI_LINE_12
  • LL_EXTI_LINE_13
  • LL_EXTI_LINE_14
  • LL_EXTI_LINE_15
  • LL_EXTI_LINE_16
  • LL_EXTI_LINE_18
  • LL_EXTI_LINE_19
  • LL_EXTI_LINE_20
  • LL_EXTI_LINE_21
  • LL_EXTI_LINE_22
  • LL_EXTI_LINE_29
  • LL_EXTI_LINE_30
  • LL_EXTI_LINE_31
Note
Please check each device line mapping for EXTI Line availability
Return values

Definition at line 1243 of file stm32l4xx_ll_exti.h.

1244 {
1245  return (uint32_t)(READ_BIT(EXTI->PR1, ExtiLine));
1246 }

◆ LL_EXTI_ReadFlag_32_63()

__STATIC_INLINE uint32_t LL_EXTI_ReadFlag_32_63 ( uint32_t  ExtiLine)

Read ExtLine Combination Flag for Lines in range 32 to 63.

Note
This bit is set when the selected edge event arrives on the interrupt line. This bit is cleared by writing a 1 to the bit. PR2 PIFx LL_EXTI_ReadFlag_32_63
Parameters
ExtiLineThis parameter can be a combination of the following values:
  • LL_EXTI_LINE_35
  • LL_EXTI_LINE_36
  • LL_EXTI_LINE_37
  • LL_EXTI_LINE_38
Return values

Definition at line 1260 of file stm32l4xx_ll_exti.h.

1261 {
1262  return (uint32_t)(READ_BIT(EXTI->PR2, ExtiLine));
1263 }