Description: This example demonstrates how to use the nested vector interrupt controller (Nested Vectored Interrupt Controller) to set the IRQ channel. The three timers (TIM2, 3,4) is set to update a counter in each matter (counter update event) generate an interrupt. The three timers are updated with their corresponding IRQ channel link and set up their Interrupt Priority, TIM2 to 0, TIM4 to 2. In their respective interrupt in: TIM2 once every 1 seconds flip PC.06 state TIM3 once every two seconds flip PC.07 state TIM4 once every three seconds flip PC.08 state. As STM3210B-LK1-board, 4 LED connected PC.04- PC.07, rather than STM3210B-EVAL on PC.06- PC.09, therefore, corresponding changes to procedures to be done.
File list (Check if you may need any files):
新建文件夹
..........\cortexm3_macro.h
..........\Debug
..........\exti.dep
..........\exti.ewd
..........\exti.eww
..........\lnkarm_flash.xcl
..........\main.c
..........\readme.txt
..........\settings
..........\........\exti.cspy.bat
..........\........\exti.dbgdt
..........\........\exti.dni
..........\........\tim_text2.cspy.bat
..........\........\tim_text2.dbgdt
..........\........\tim_text2.dni
..........\stm32f10x_adc.c
..........\stm32f10x_adc.h
..........\stm32f10x_bkp.c
..........\stm32f10x_bkp.h
..........\stm32f10x_can.c
..........\stm32f10x_can.h
..........\stm32f10x_conf.h
..........\stm32f10x_dma.c
..........\stm32f10x_dma.h
..........\stm32f10x_exti.c
..........\stm32f10x_exti.h
..........\stm32f10x_flash.c
..........\stm32f10x_flash.h
..........\stm32f10x_gpio.c
..........\stm32f10x_gpio.h
..........\stm32f10x_i2c.c
..........\stm32f10x_i2c.h
..........\stm32f10x_it.c
..........\stm32f10x_it.h
..........\stm32f10x_iwdg.c
..........\stm32f10x_iwdg.h
..........\stm32f10x_lib.c
..........\stm32f10x_lib.h
..........\stm32f10x_map.h
..........\stm32f10x_nvic.c
..........\stm32f10x_nvic.h
..........\stm32f10x_pwr.c
..........\stm32f10x_pwr.h
..........\stm32f10x_rcc.c
..........\stm32f10x_rcc.h
..........\stm32f10x_rtc.c
..........\stm32f10x_rtc.h
..........\stm32f10x_spi.c
..........\stm32f10x_spi.h
..........\stm32f10x_systick.c
..........\stm32f10x_systick.h
..........\stm32f10x_tim.c
..........\stm32f10x_tim.h
..........\stm32f10x_tim1.c
..........\stm32f10x_tim1.h
..........\stm32f10x_type.h
..........\stm32f10x_usart.c
..........\stm32f10x_usart.h
..........\stm32f10x_wwdg.c
..........\stm32f10x_wwdg.h
..........\tim_text2.dep
..........\tim_text2.ewd
..........\tim_text2.eww