STM32F0xx Standard Peripherals Firmware Library: EXTI_Example

STM32F0xx Standard Peripherals Library

STM32F0xx Standard Peripherals Firmware Library

Functions

void EXTI0_1_IRQHandler (void)
 This function handles External line 0 to 1 interrupt request.
static void EXTI0_Config (void)
 Configure PA0 in interrupt mode.
static void EXTI4_15_Config (void)
 Configure PE3, PE0in interrupt mode.
void EXTI4_15_IRQHandler (void)
 This function handles External line 2 to 3 interrupt request.
void HardFault_Handler (void)
 This function handles Hard Fault exception.
int main (void)
 Main program.
void NMI_Handler (void)
 This function handles NMI exception.
void PendSV_Handler (void)
 This function handles PendSVC exception.
void SVC_Handler (void)
 This function handles SVCall exception.
void SysTick_Handler (void)
 This function handles SysTick Handler.

Variables

EXTI_InitTypeDef EXTI_InitStructure
GPIO_InitTypeDef GPIO_InitStructure
NVIC_InitTypeDef NVIC_InitStructure

Function Documentation

void EXTI0_1_IRQHandler ( void  )

This function handles External line 0 to 1 interrupt request.

This function handles EXTI 10 to 15 request.

Parameters:
None
Return values:
None

Definition at line 113 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.

static void EXTI0_Config ( void  ) [static]

Configure PA0 in interrupt mode.

Parameters:
None
Return values:
None

Definition at line 101 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/main.c.

References EXTI_InitStructure, GPIO_InitStructure, and NVIC_InitStructure.

Referenced by main().

static void EXTI4_15_Config ( void  ) [static]

Configure PE3, PE0in interrupt mode.

Parameters:
None
Return values:
NoneConfigure PC13 in interrupt mode
Parameters:
None
Return values:
None

Definition at line 183 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/main.c.

References EXTI_InitStructure, GPIO_InitStructure, and NVIC_InitStructure.

Referenced by main().

void EXTI4_15_IRQHandler ( void  )

This function handles External line 2 to 3 interrupt request.

This function handles EXTI 6 request.

Parameters:
None
Return values:
NoneThis function handles External lines 4 to 15 interrupt request.
Parameters:
None
Return values:
None

Definition at line 158 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.

void HardFault_Handler ( void  )

This function handles Hard Fault exception.

Parameters:
None
Return values:
None

Definition at line 66 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.

int main ( void  )

Main program.

Parameters:
None
Return values:
None

< At this stage the microcontroller clock setting is already configured, this is done through SystemInit() function which is called from startup file (startup_stm32f0xx.s) before to branch to application main. To reconfigure the default setting of SystemInit() function, refer to system_stm32f0xx.c file

Definition at line 61 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/main.c.

References EXTI0_Config(), and EXTI4_15_Config().

void NMI_Handler ( void  )

This function handles NMI exception.

Parameters:
None
Return values:
None

Definition at line 57 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.

void PendSV_Handler ( void  )

This function handles PendSVC exception.

Parameters:
None
Return values:
None

Definition at line 88 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.

void SVC_Handler ( void  )

This function handles SVCall exception.

Parameters:
None
Return values:
None

Definition at line 79 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.

void SysTick_Handler ( void  )

This function handles SysTick Handler.

Parameters:
None
Return values:
None

Definition at line 97 of file STM32F0xx_StdPeriph_Examples/EXTI/EXTI_Example/stm32f0xx_it.c.


Variable Documentation

STM32L1xx Standard Peripherals Library: Footer

 

 

 For complete documentation on STM32 Microcontrollers visit www.st.com/STM32