Martin Johnson / STM32F3-Discovery

Dependents:   Space_Invaders_Demo neopixels gpio_test_stm32f3_discovery gpio_test_systimer ... more

Embed: (wiki syntax)

« Back to documentation index

Initialization and Configuration functions

Initialization and Configuration functions
[EXTI_Private_Functions]

Initialization and Configuration functions. More...

Functions

void EXTI_DeInit (void)
 Deinitializes the EXTI peripheral registers to their default reset values.
void EXTI_Init (EXTI_InitTypeDef *EXTI_InitStruct)
 Initializes the EXTI peripheral according to the specified parameters in the EXTI_InitStruct.
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 on selected EXTI line.

Detailed Description

Initialization and Configuration functions.

 ===============================================================================
              ##### Initialization and Configuration functions #####
 ===============================================================================


Function Documentation

void EXTI_DeInit ( void   )

Deinitializes the EXTI peripheral registers to their default reset values.

Parameters:
None
Return values:
None

Definition at line 124 of file stm32f30x_exti.c.

void EXTI_GenerateSWInterrupt ( uint32_t  EXTI_Line )

Generates a Software interrupt on selected EXTI line.

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

Definition at line 228 of file stm32f30x_exti.c.

void EXTI_Init ( EXTI_InitTypeDef *  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.

Parameters:
EXTI_InitStruct,:pointer to a EXTI_InitTypeDef structure that contains the configuration information for the EXTI peripheral.
Return values:
None

Definition at line 154 of file stm32f30x_exti.c.

void EXTI_StructInit ( EXTI_InitTypeDef *  EXTI_InitStruct )

Fills each EXTI_InitStruct member with its reset value.

Parameters:
EXTI_InitStruct,:pointer to a EXTI_InitTypeDef structure which will be initialized.
Return values:
None

Definition at line 213 of file stm32f30x_exti.c.