STM8L15x Standard Peripherals Drivers: EXTI Interrupt status management functions

STM8L15x/16x Standard Peripherals Drivers

STM8L15x Standard Peripherals Drivers

EXTI Interrupt status management functions

EXTI Interrupt status management functions. More...

Functions

void EXTI_ClearITPendingBit (EXTI_IT_TypeDef EXTI_IT)
 Clears the specified interrupt pending bit.
ITStatus EXTI_GetITStatus (EXTI_IT_TypeDef EXTI_IT)
 Gets the external interrupt status.

Detailed Description

EXTI Interrupt status management functions.

 ===============================================================================
                   EXTI Interrupt status management functions
 ===============================================================================  


Function Documentation

void EXTI_ClearITPendingBit ( EXTI_IT_TypeDef  EXTI_IT)

Clears the specified interrupt pending bit.

Parameters:
EXTI_IT: Specifies the interrupt to clear This parameter can be one of the following values:
  • EXTI_IT_Pin0: GPIO Pin 0
  • EXTI_IT_Pin1: GPIO Pin 1
  • EXTI_IT_Pin2: GPIO Pin 2
  • EXTI_IT_Pin3: GPIO Pin 3
  • EXTI_IT_Pin4: GPIO Pin 4
  • EXTI_IT_Pin5: GPIO Pin 5
  • EXTI_IT_Pin6: GPIO Pin 6
  • EXTI_IT_Pin7: GPIO Pin 7
  • EXTI_IT_PortB: GPIO Port B
  • EXTI_IT_PortD: GPIO Port D
  • EXTI_IT_PortE: GPIO Port E
  • EXTI_IT_PortF: GPIO Port F
  • EXTI_IT_PortG: GPIO Port G
  • EXTI_IT_PortH: GPIO Port H
Return values:
None

Definition at line 518 of file stm8l15x_exti.c.

References EXTI, and IS_EXTI_ITPENDINGBIT.

ITStatus EXTI_GetITStatus ( EXTI_IT_TypeDef  EXTI_IT)

Gets the external interrupt status.

Parameters:
EXTI_IT: Specifies the interrupt to read. This parameter can be one of the following values:
  • EXTI_IT_Pin0: GPIO Pin 0
  • EXTI_IT_Pin1: GPIO Pin 1
  • EXTI_IT_Pin2: GPIO Pin 2
  • EXTI_IT_Pin3: GPIO Pin 3
  • EXTI_IT_Pin4: GPIO Pin 4
  • EXTI_IT_Pin5: GPIO Pin 5
  • EXTI_IT_Pin6: GPIO Pin 6
  • EXTI_IT_Pin7: GPIO Pin 7
  • EXTI_IT_PortB: GPIO Port B
  • EXTI_IT_PortD: GPIO Port D
  • EXTI_IT_PortE: GPIO Port E
  • EXTI_IT_PortF: GPIO Port F
  • EXTI_IT_PortG: GPIO Port G
  • EXTI_IT_PortH: GPIO Port H
Return values:
Thestatus of the specified interrupt. This parameter can be a SET or RESET

Definition at line 481 of file stm8l15x_exti.c.

References EXTI, IS_EXTI_ITPENDINGBIT, and RESET.

STM8S Firmware Library: Overview

 

 

 

For complete documentation on STM8L15x 8-bit microcontrollers platform visit www.st.com