CARME-M4 BSP  V1.5

EXTI driver modules. More...

+ Collaboration diagram for EXTI:

Modules

 EXTI_Exported_Constants
 
 EXTI_Private_Functions
 

Data Structures

struct  EXTI_InitTypeDef
 EXTI Init Structure definition. More...
 

Macros

#define IS_EXTI_MODE(MODE)   (((MODE) == EXTI_Mode_Interrupt) || ((MODE) == EXTI_Mode_Event))
 
#define IS_EXTI_TRIGGER(TRIGGER)
 
#define EXTI_LINENONE   ((uint32_t)0x00000) /* No interrupt selected */
 

Enumerations

enum  EXTIMode_TypeDef { EXTI_Mode_Interrupt = 0x00, EXTI_Mode_Event = 0x04 }
 EXTI mode enumeration.
 
enum  EXTITrigger_TypeDef { EXTI_Trigger_Rising = 0x08, EXTI_Trigger_Falling = 0x0C, EXTI_Trigger_Rising_Falling = 0x10 }
 EXTI Trigger enumeration.
 

Functions

void EXTI_DeInit (void)
 Deinitializes the EXTI peripheral registers to their default reset values. 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_GenerateSWInterrupt (uint32_t EXTI_Line)
 Generates a Software interrupt on selected EXTI line. More...
 
FlagStatus EXTI_GetFlagStatus (uint32_t EXTI_Line)
 Checks whether the specified EXTI line flag is set or not. More...
 
void EXTI_ClearFlag (uint32_t EXTI_Line)
 Clears the EXTI's line pending flags. More...
 
ITStatus EXTI_GetITStatus (uint32_t EXTI_Line)
 Checks whether the specified EXTI line is asserted or not. More...
 
void EXTI_ClearITPendingBit (uint32_t EXTI_Line)
 Clears the EXTI's line pending bits. More...
 

Detailed Description

EXTI driver modules.

Macro Definition Documentation

#define IS_EXTI_TRIGGER (   TRIGGER)
Value:
(((TRIGGER) == EXTI_Trigger_Rising) || \
((TRIGGER) == EXTI_Trigger_Falling) || \
((TRIGGER) == EXTI_Trigger_Rising_Falling))

Definition at line 73 of file stm32f4xx_exti.h.

Function Documentation

void EXTI_ClearFlag ( uint32_t  EXTI_Line)

Clears the EXTI's line pending flags.

Parameters
EXTI_Linespecifies the EXTI lines flags to clear. This parameter can be any combination of EXTI_Linex where x can be (0..22)
Return values
None

Definition at line 250 of file stm32f4xx_exti.c.

void EXTI_ClearITPendingBit ( uint32_t  EXTI_Line)

Clears the EXTI's line pending bits.

Parameters
EXTI_Linespecifies the EXTI lines to clear. This parameter can be any combination of EXTI_Linex where x can be (0..22)
Return values
None

Definition at line 288 of file stm32f4xx_exti.c.

void EXTI_DeInit ( void  )

Deinitializes the EXTI peripheral registers to their default reset values.

Parameters
None
Return values
None

Definition at line 110 of file stm32f4xx_exti.c.

void EXTI_GenerateSWInterrupt ( uint32_t  EXTI_Line)

Generates a Software interrupt on selected EXTI line.

Parameters
EXTI_Linespecifies 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..22)
Return values
None

Definition at line 197 of file stm32f4xx_exti.c.

FlagStatus EXTI_GetFlagStatus ( uint32_t  EXTI_Line)

Checks whether the specified EXTI line flag is set or not.

Parameters
EXTI_Linespecifies the EXTI line flag to check. This parameter can be EXTI_Linex where x can be(0..22)
Return values
Thenew state of EXTI_Line (SET or RESET).

Definition at line 227 of file stm32f4xx_exti.c.

ITStatus EXTI_GetITStatus ( uint32_t  EXTI_Line)

Checks whether the specified EXTI line is asserted or not.

Parameters
EXTI_Linespecifies the EXTI line to check. This parameter can be EXTI_Linex where x can be(0..22)
Return values
Thenew state of EXTI_Line (SET or RESET).

Definition at line 264 of file stm32f4xx_exti.c.

void EXTI_Init ( EXTI_InitTypeDef EXTI_InitStruct)

Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct.

Parameters
EXTI_InitStructpointer to a EXTI_InitTypeDef structure that contains the configuration information for the EXTI peripheral.
Return values
None

Definition at line 126 of file stm32f4xx_exti.c.

+ Here is the caller graph for this function:

void EXTI_StructInit ( EXTI_InitTypeDef EXTI_InitStruct)

Fills each EXTI_InitStruct member with its reset value.

Parameters
EXTI_InitStructpointer to a EXTI_InitTypeDef structure which will be initialized.
Return values
None

Definition at line 182 of file stm32f4xx_exti.c.