External interrupt/event controller (EXTI)
10.2.5.4 EXTI_GenerateSWInterrupt
void EXTI_GenerateSWInterrupt ( uint32_t EXTI_Line)
Generates a Software interrupt on selected EXTI line.
ï‚· EXTI_Line : specifies the EXTI line on which the software
interrupt will be generated. This parameter can be any
combination of EXTI_Linex where x can be (0..20).
10.2.6 Interrupts and flags management functions
10.2.6.1 EXTI_GetFlagStatus
FlagStatus EXTI_GetFlagStatus ( uint32_t EXTI_Line)
Checks whether the specified EXTI line flag is set or not.
ï‚· EXTI_Line : specifies the EXTI line flag to check. This
parameter can be any combination of EXTI_Linex where x
can be (0..20).
ï‚· The new state of EXTI_Line (SET or RESET).
10.2.6.2 EXTI_ClearFlag
void EXTI_ClearFlag ( uint32_t EXTI_Line)
Clears the EXTI's line pending flags.
ï‚· EXTI_Line : specifies the EXTI lines flags to clear. This
parameter can be any combination of EXTI_Linex where x
can be (0..20).