|
Technical Support Support Resources Product Information | STM32 External Interrupt ExampleThe STM32 EXTI example program shows how to configure and use the external interrupts of STMicroelectronics STM32F103xx microcontroller.
Button S2 (pin PA0) and button S3 (pin PC13) are configured to generate an external interrupt. By pressing buttons S2 or S3 the LED PB8 toggles.
The configuration of the clocks and the external interrupt/event is done using the Configuration Wizard in file STM32_Init.c.
Two µVision targets are available - Simulator where the program runs in the software simulator. A debug script (Exti.ini) is used to simulate the buttons.
- MCBSTM32 where the program runs from internal Flash located on the microcontroller.
The example is tesed with the Keil Evaluation Board MCBSTM32. |
|