STM32L4xx_HAL_Driver  1.14.0

Functions

__STATIC_INLINE void LL_EXTI_EnableIT_0_31 (uint32_t ExtiLine)
 Enable ExtiLine Interrupt request for Lines in range 0 to 31. More...
 
__STATIC_INLINE void LL_EXTI_EnableIT_32_63 (uint32_t ExtiLine)
 Enable ExtiLine Interrupt request for Lines in range 32 to 63. More...
 
__STATIC_INLINE void LL_EXTI_DisableIT_0_31 (uint32_t ExtiLine)
 Disable ExtiLine Interrupt request for Lines in range 0 to 31. More...
 
__STATIC_INLINE void LL_EXTI_DisableIT_32_63 (uint32_t ExtiLine)
 Disable ExtiLine Interrupt request for Lines in range 32 to 63. More...
 
__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_0_31 (uint32_t ExtiLine)
 Indicate if ExtiLine Interrupt request is enabled for Lines in range 0 to 31. More...
 
__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_32_63 (uint32_t ExtiLine)
 Indicate if ExtiLine Interrupt request is enabled for Lines in range 32 to 63. More...
 

Detailed Description

Function Documentation

◆ LL_EXTI_DisableIT_0_31()

__STATIC_INLINE void LL_EXTI_DisableIT_0_31 ( uint32_t  ExtiLine)

Disable ExtiLine Interrupt request for Lines in range 0 to 31.

Note
The reset value for the direct or internal lines (see RM) is set to 1 in order to enable the interrupt by default. Bits are set automatically at Power on. IMR1 IMx LL_EXTI_DisableIT_0_31
Parameters
ExtiLineThis parameter can be one 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_17
  • LL_EXTI_LINE_18
  • LL_EXTI_LINE_19
  • LL_EXTI_LINE_20
  • LL_EXTI_LINE_21
  • LL_EXTI_LINE_22
  • LL_EXTI_LINE_23
  • LL_EXTI_LINE_24
  • LL_EXTI_LINE_25
  • LL_EXTI_LINE_26
  • LL_EXTI_LINE_27
  • LL_EXTI_LINE_28
  • LL_EXTI_LINE_29
  • LL_EXTI_LINE_30
  • LL_EXTI_LINE_31
  • LL_EXTI_LINE_ALL_0_31
Note
Please check each device line mapping for EXTI Line availability
Return values
None

Definition at line 378 of file stm32l4xx_ll_exti.h.

379 {
380  CLEAR_BIT(EXTI->IMR1, ExtiLine);
381 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_EXTI_DisableIT_32_63()

__STATIC_INLINE void LL_EXTI_DisableIT_32_63 ( uint32_t  ExtiLine)

Disable ExtiLine Interrupt request for Lines in range 32 to 63.

Note
The reset value for the direct lines (lines from 32 to 34, line 39) is set to 1 in order to enable the interrupt by default. Bits are set automatically at Power on. IMR2 IMx LL_EXTI_DisableIT_32_63
Parameters
ExtiLineThis parameter can be one of the following values:
  • LL_EXTI_LINE_32
  • LL_EXTI_LINE_33
  • LL_EXTI_LINE_34(*)
  • LL_EXTI_LINE_35
  • LL_EXTI_LINE_36
  • LL_EXTI_LINE_37
  • LL_EXTI_LINE_38
  • LL_EXTI_LINE_39(*)
  • LL_EXTI_LINE_40(*)
  • LL_EXTI_LINE_ALL_32_63
Note
(*): Available in some devices
Return values
None

Definition at line 403 of file stm32l4xx_ll_exti.h.

404 {
405  CLEAR_BIT(EXTI->IMR2, ExtiLine);
406 }
CLEAR_BIT(hrtc->Instance->CR, RTC_CR_WUTE)

◆ LL_EXTI_EnableIT_0_31()

__STATIC_INLINE void LL_EXTI_EnableIT_0_31 ( uint32_t  ExtiLine)

Enable ExtiLine Interrupt request for Lines in range 0 to 31.

Note
The reset value for the direct or internal lines (see RM) is set to 1 in order to enable the interrupt by default. Bits are set automatically at Power on. IMR1 IMx LL_EXTI_EnableIT_0_31
Parameters
ExtiLineThis parameter can be one 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_17
  • LL_EXTI_LINE_18
  • LL_EXTI_LINE_19
  • LL_EXTI_LINE_20
  • LL_EXTI_LINE_21
  • LL_EXTI_LINE_22
  • LL_EXTI_LINE_23
  • LL_EXTI_LINE_24
  • LL_EXTI_LINE_25
  • LL_EXTI_LINE_26
  • LL_EXTI_LINE_27
  • LL_EXTI_LINE_28
  • LL_EXTI_LINE_29
  • LL_EXTI_LINE_30
  • LL_EXTI_LINE_31
  • LL_EXTI_LINE_ALL_0_31
Note
Please check each device line mapping for EXTI Line availability
Return values
None

Definition at line 306 of file stm32l4xx_ll_exti.h.

307 {
308  SET_BIT(EXTI->IMR1, ExtiLine);
309 }

◆ LL_EXTI_EnableIT_32_63()

__STATIC_INLINE void LL_EXTI_EnableIT_32_63 ( uint32_t  ExtiLine)

Enable ExtiLine Interrupt request for Lines in range 32 to 63.

Note
The reset value for the direct lines (lines from 32 to 34, line 39) is set to 1 in order to enable the interrupt by default. Bits are set automatically at Power on. IMR2 IMx LL_EXTI_EnableIT_32_63
Parameters
ExtiLineThis parameter can be one of the following values:
  • LL_EXTI_LINE_32
  • LL_EXTI_LINE_33
  • LL_EXTI_LINE_34(*)
  • LL_EXTI_LINE_35
  • LL_EXTI_LINE_36
  • LL_EXTI_LINE_37
  • LL_EXTI_LINE_38
  • LL_EXTI_LINE_39(*)
  • LL_EXTI_LINE_40(*)
  • LL_EXTI_LINE_ALL_32_63
Note
(*): Available in some devices
Return values
None

Definition at line 330 of file stm32l4xx_ll_exti.h.

331 {
332  SET_BIT(EXTI->IMR2, ExtiLine);
333 }

◆ LL_EXTI_IsEnabledIT_0_31()

__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_0_31 ( uint32_t  ExtiLine)

Indicate if ExtiLine Interrupt request is enabled for Lines in range 0 to 31.

Note
The reset value for the direct or internal lines (see RM) is set to 1 in order to enable the interrupt by default. Bits are set automatically at Power on. IMR1 IMx LL_EXTI_IsEnabledIT_0_31
Parameters
ExtiLineThis parameter can be one 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_17
  • LL_EXTI_LINE_18
  • LL_EXTI_LINE_19
  • LL_EXTI_LINE_20
  • LL_EXTI_LINE_21
  • LL_EXTI_LINE_22
  • LL_EXTI_LINE_23
  • LL_EXTI_LINE_24
  • LL_EXTI_LINE_25
  • LL_EXTI_LINE_26
  • LL_EXTI_LINE_27
  • LL_EXTI_LINE_28
  • LL_EXTI_LINE_29
  • LL_EXTI_LINE_30
  • LL_EXTI_LINE_31
  • LL_EXTI_LINE_ALL_0_31
Note
Please check each device line mapping for EXTI Line availability
Return values
Stateof bit (1 or 0).

Definition at line 451 of file stm32l4xx_ll_exti.h.

452 {
453  return ((READ_BIT(EXTI->IMR1, ExtiLine) == (ExtiLine)) ? 1UL : 0UL);
454 }

◆ LL_EXTI_IsEnabledIT_32_63()

__STATIC_INLINE uint32_t LL_EXTI_IsEnabledIT_32_63 ( uint32_t  ExtiLine)

Indicate if ExtiLine Interrupt request is enabled for Lines in range 32 to 63.

Note
The reset value for the direct lines (lines from 32 to 34, line 39) is set to 1 in order to enable the interrupt by default. Bits are set automatically at Power on. IMR2 IMx LL_EXTI_IsEnabledIT_32_63
Parameters
ExtiLineThis parameter can be one of the following values:
  • LL_EXTI_LINE_32
  • LL_EXTI_LINE_33
  • LL_EXTI_LINE_34(*)
  • LL_EXTI_LINE_35
  • LL_EXTI_LINE_36
  • LL_EXTI_LINE_37
  • LL_EXTI_LINE_38
  • LL_EXTI_LINE_39(*)
  • LL_EXTI_LINE_40(*)
  • LL_EXTI_LINE_ALL_32_63
Note
(*): Available in some devices
Return values
Stateof bit (1 or 0).

Definition at line 476 of file stm32l4xx_ll_exti.h.

477 {
478  return ((READ_BIT(EXTI->IMR2, ExtiLine) == (ExtiLine)) ? 1UL : 0UL);
479 }