46 #define EXTI_LINENONE ((uint32_t)0x00000) 87 EXTI->IMR = 0x00000000;
88 EXTI->EMR = 0x00000000;
89 EXTI->RTSR = 0x00000000;
90 EXTI->FTSR = 0x00000000;
91 EXTI->PR = 0x000FFFFF;
176 EXTI->SWIER |= EXTI_Line;
192 if ((
EXTI->PR & EXTI_Line) != (uint32_t)
RESET)
214 EXTI->PR = EXTI_Line;
227 uint32_t enablestatus = 0;
231 enablestatus =
EXTI->IMR & EXTI_Line;
232 if (((
EXTI->PR & EXTI_Line) != (uint32_t)
RESET) && (enablestatus != (uint32_t)RESET))
254 EXTI->PR = EXTI_Line;
FunctionalState EXTI_LineCmd
#define IS_EXTI_MODE(MODE)
EXTITrigger_TypeDef EXTI_Trigger
void EXTI_Init(EXTI_InitTypeDef *EXTI_InitStruct)
Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct.
#define IS_GET_EXTI_LINE(LINE)
EXTI Init Structure definition.
void assert_param(int val)
void EXTI_ClearFlag(uint32_t EXTI_Line)
Clears the EXTI's line pending flags.
#define IS_FUNCTIONAL_STATE(STATE)
void EXTI_StructInit(EXTI_InitTypeDef *EXTI_InitStruct)
Fills each EXTI_InitStruct member with its reset value.
void EXTI_GenerateSWInterrupt(uint32_t EXTI_Line)
Generates a Software interrupt.
This file contains all the functions prototypes for the EXTI firmware library.
FlagStatus EXTI_GetFlagStatus(uint32_t EXTI_Line)
Checks whether the specified EXTI line flag is set or not.
#define IS_EXTI_LINE(LINE)
EXTIMode_TypeDef EXTI_Mode
#define IS_EXTI_TRIGGER(TRIGGER)
ITStatus EXTI_GetITStatus(uint32_t EXTI_Line)
Checks whether the specified EXTI line is asserted or not.
void EXTI_ClearITPendingBit(uint32_t EXTI_Line)
Clears the EXTI's line pending bits.
void EXTI_DeInit(void)
Deinitializes the EXTI peripheral registers to their default reset values.