STM32L4xx_HAL_Driver  1.14.0
Falling_Trigger_Management

Functions

__STATIC_INLINE void LL_EXTI_EnableFallingTrig_0_31 (uint32_t ExtiLine)
 Enable ExtiLine Falling Edge Trigger for Lines in range 0 to 31. More...
 
__STATIC_INLINE void LL_EXTI_EnableFallingTrig_32_63 (uint32_t ExtiLine)
 Enable ExtiLine Falling Edge Trigger for Lines in range 32 to 63. More...
 
__STATIC_INLINE void LL_EXTI_DisableFallingTrig_0_31 (uint32_t ExtiLine)
 Disable ExtiLine Falling Edge Trigger for Lines in range 0 to 31. More...
 
__STATIC_INLINE void LL_EXTI_DisableFallingTrig_32_63 (uint32_t ExtiLine)
 Disable ExtiLine Falling Edge Trigger for Lines in range 32 to 63. More...
 
__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_0_31 (uint32_t ExtiLine)
 Check if falling edge trigger is enabled for Lines in range 0 to 31 FTSR1 FTx LL_EXTI_IsEnabledFallingTrig_0_31. More...
 
__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_32_63 (uint32_t ExtiLine)
 Check if falling edge trigger is enabled for Lines in range 32 to 63 FTSR2 FTx LL_EXTI_IsEnabledFallingTrig_32_63. More...
 

Detailed Description

Function Documentation

◆ LL_EXTI_DisableFallingTrig_0_31()

__STATIC_INLINE void LL_EXTI_DisableFallingTrig_0_31 ( uint32_t  ExtiLine)

Disable ExtiLine Falling Edge Trigger for Lines in range 0 to 31.

Note
The configurable wakeup lines are edge-triggered. No glitch must be generated on these lines. If a Falling edge on a configurable interrupt line occurs during a write operation in the EXTI_FTSR register, the pending bit is not set. Rising and falling edge triggers can be set for the same interrupt line. In this case, both generate a trigger condition. FTSR1 FTx LL_EXTI_DisableFallingTrig_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 997 of file stm32l4xx_ll_exti.h.

998 {
999  CLEAR_BIT(EXTI->FTSR1, ExtiLine);
1000 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_EXTI_DisableFallingTrig_32_63()

__STATIC_INLINE void LL_EXTI_DisableFallingTrig_32_63 ( uint32_t  ExtiLine)

Disable ExtiLine Falling Edge Trigger for Lines in range 32 to 63.

Note
The configurable wakeup lines are edge-triggered. No glitch must be generated on these lines. If a Falling edge on a configurable interrupt line occurs during a write operation in the EXTI_FTSR register, the pending bit is not set. Rising and falling edge triggers can be set for the same interrupt line. In this case, both generate a trigger condition. FTSR2 FTx LL_EXTI_DisableFallingTrig_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 1018 of file stm32l4xx_ll_exti.h.

1019 {
1020  CLEAR_BIT(EXTI->FTSR2, ExtiLine);
1021 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_EXTI_EnableFallingTrig_0_31()

__STATIC_INLINE void LL_EXTI_EnableFallingTrig_0_31 ( uint32_t  ExtiLine)

Enable ExtiLine Falling Edge Trigger for Lines in range 0 to 31.

Note
The configurable wakeup lines are edge-triggered. No glitch must be generated on these lines. If a falling edge on a configurable interrupt line occurs during a write operation in the EXTI_FTSR register, the pending bit is not set. Rising and falling edge triggers can be set for the same interrupt line. In this case, both generate a trigger condition. FTSR1 FTx LL_EXTI_EnableFallingTrig_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 932 of file stm32l4xx_ll_exti.h.

933 {
934  SET_BIT(EXTI->FTSR1, ExtiLine);
935 }

◆ LL_EXTI_EnableFallingTrig_32_63()

__STATIC_INLINE void LL_EXTI_EnableFallingTrig_32_63 ( uint32_t  ExtiLine)

Enable ExtiLine Falling Edge Trigger for Lines in range 32 to 63.

Note
The configurable wakeup lines are edge-triggered. No glitch must be generated on these lines. If a Falling edge on a configurable interrupt line occurs during a write operation in the EXTI_FTSR register, the pending bit is not set. Rising and falling edge triggers can be set for the same interrupt line. In this case, both generate a trigger condition. FTSR2 FTx LL_EXTI_EnableFallingTrig_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 954 of file stm32l4xx_ll_exti.h.

955 {
956  SET_BIT(EXTI->FTSR2, ExtiLine);
957 }

◆ LL_EXTI_IsEnabledFallingTrig_0_31()

__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_0_31 ( uint32_t  ExtiLine)

Check if falling edge trigger is enabled for Lines in range 0 to 31 FTSR1 FTx LL_EXTI_IsEnabledFallingTrig_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 1055 of file stm32l4xx_ll_exti.h.

1056 {
1057  return ((READ_BIT(EXTI->FTSR1, ExtiLine) == (ExtiLine)) ? 1UL : 0UL);
1058 }

◆ LL_EXTI_IsEnabledFallingTrig_32_63()

__STATIC_INLINE uint32_t LL_EXTI_IsEnabledFallingTrig_32_63 ( uint32_t  ExtiLine)

Check if falling edge trigger is enabled for Lines in range 32 to 63 FTSR2 FTx LL_EXTI_IsEnabledFallingTrig_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 1070 of file stm32l4xx_ll_exti.h.

1071 {
1072  return ((READ_BIT(EXTI->FTSR2, ExtiLine) == (ExtiLine)) ? 1UL : 0UL);
1073 }