Modules | |
Initialization and Configuration functions | |
Initialization and Configuration functions. | |
Interrupts and flags management functions | |
Interrupts and flags management functions. | |
Functions | |
void | EXTI_ClearFlag (uint32_t EXTI_Line) |
Clears the EXTI's line pending flags. More... | |
void | EXTI_ClearITPendingBit (uint32_t EXTI_Line) |
Clears the EXTI's line pending bits. More... | |
void | EXTI_DeInit (void) |
Deinitializes the EXTI peripheral registers to their default reset values. More... | |
void | EXTI_GenerateSWInterrupt (uint32_t EXTI_Line) |
Generates a Software interrupt. More... | |
FlagStatus | EXTI_GetFlagStatus (uint32_t EXTI_Line) |
Checks whether the specified EXTI line flag is set or not. More... | |
ITStatus | EXTI_GetITStatus (uint32_t EXTI_Line) |
Checks whether the specified EXTI line is asserted or not. More... | |
void | EXTI_Init (EXTI_InitTypeDef *EXTI_InitStruct) |
Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct. More... | |
void | EXTI_StructInit (EXTI_InitTypeDef *EXTI_InitStruct) |
Fills each EXTI_InitStruct member with its reset value. More... | |
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..19). |
None |
Definition at line 209 of file stm32f10x_exti.c.
void EXTI_ClearITPendingBit | ( | uint32_t | EXTI_Line | ) |
Clears the EXTI's line pending bits.
EXTI_Line | specifies the EXTI lines to clear. This parameter can be any combination of EXTI_Linex where x can be (0..19). |
None |
Definition at line 249 of file stm32f10x_exti.c.
void EXTI_DeInit | ( | void | ) |
Deinitializes the EXTI peripheral registers to their default reset values.
None |
None |
Definition at line 85 of file stm32f10x_exti.c.
void EXTI_GenerateSWInterrupt | ( | uint32_t | EXTI_Line | ) |
Generates a Software interrupt.
Generates a Software interrupt on selected EXTI line.
EXTI_Line | specifies the EXTI lines to be enabled or disabled. This parameter can be any combination of EXTI_Linex where x can be (0..19). |
None |
Definition at line 171 of file stm32f10x_exti.c.
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:
|
The | new state of EXTI_Line (SET or RESET). |
Definition at line 186 of file stm32f10x_exti.c.
ITStatus EXTI_GetITStatus | ( | uint32_t | EXTI_Line | ) |
Checks whether the specified EXTI line is asserted or not.
EXTI_Line | specifies the EXTI line to check. This parameter can be:
|
The | new state of EXTI_Line (SET or RESET). |
Definition at line 224 of file stm32f10x_exti.c.
void EXTI_Init | ( | EXTI_InitTypeDef * | EXTI_InitStruct | ) |
Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct.
Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct. EXTI_Line specifies the EXTI line (EXTI0....EXTI35). EXTI_Mode specifies which EXTI line is used as interrupt or an event. EXTI_Trigger selects the trigger. When the trigger occurs, interrupt pending bit will be set. EXTI_LineCmd controls (Enable/Disable) the EXTI line.
EXTI_InitStruct | pointer to a EXTI_InitTypeDef structure that contains the configuration information for the EXTI peripheral. |
None |
Definition at line 101 of file stm32f10x_exti.c.
void EXTI_StructInit | ( | EXTI_InitTypeDef * | EXTI_InitStruct | ) |
Fills each EXTI_InitStruct member with its reset value.
EXTI_InitStruct | pointer to a EXTI_InitTypeDef structure which will be initialized. |
None |
Definition at line 157 of file stm32f10x_exti.c.