Timer IRQ

<< Click to Display Table of Contents >>

Navigation:  STM32F4 Target > Demos > Standard Peripherals Demos > TIM >

Timer IRQ

Previous pageReturn to chapter overviewNext page

Demo File: stm32f4_timerirq_demo.mdl

timer_irq_demo

 

Hardware setup

Standard STM32F4DISCOVERY Board.

Description

This example demonstrates how to use the Timer IRQ Block.

The target model is configured to toggle pins at the following intervals.

 

Timer Interval (sec)

Pin

1

PD12

2

PD13

3

PD14

4

PD15

What should be happening?

Each of the 4 LEDs on the STM32F4DISCOVERY Board should toggle at 1, 2, 3 and 4 second intervals.