Welcome![Sign In][Sign Up]
Location:
Search - stm32 interrupt tutorial

Search list

[SCMSTM32+EXTI

Description: 本例展示了如何使用嵌套中断向量控制器(Nested Vectored Interrupt Controller)来设置IRQ通道。 把3个计时器(TIM2,3,4)设置为在每一个计数器更新事项(counter update event)产生中断。这三个计时器都与各自对应的更新IRQ通道联系起来,并设置他们的中断优先级,TIM2为0,TIM4为2。 在他们各自的中断中:TIM2每1秒翻转一次PC.06的状态;TIM3每2秒翻转一次PC.07的状态;TIM4每3秒翻转一次PC.08的状态。 由于在STM3210B-LK1板上, 4个LED连接在PC.04 – PC.07,而不是STM3210B-EVAL上的PC.06 – PC.09,因此,程序要做相应的改动。-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.
Platform: | Size: 247808 | Author: chen | Hits:

[SCMstm32_rtthread_v030

Description: 该文件是RT-Thread STM32的工程模板。 各目录说明如下: 1. Applications:应用文档 - 包含了main文件, 中断处理文件, 系统配置文件 2. Compiler:编译器文档 - 目前提供了 RealView MDK 的工程模板 3. Documents:文档说明, - 提供模板使用教程 - 提供了模板版本说明 - 提供了模板分层说明,请重点阅读!!! - 提供 doxygen 注释风格的模板,说明,软件 4. Drivers:PCB板级驱动文档 - 如按键、EEPROM、模拟I2C等等 - 该层要能对上屏蔽掉最底层 Libraries 这样起到承上启下的作用,方便跨平台移植 5. Libraries:MCU外设库文档 - 此部分由芯片厂商提供,是标准库 - 用户不得修改此层 6. Modules:组件层文档 - 按大功能划分的软件组件。如UI组件、网络通信组件、文件系统组件 - 不建议直接调用最底层 Libraries 7. OS:操作系统文档 - 提供 RT-Thread V0.3.3 系统-This file is the template of RT-Thread the STM32 engineering. Each directory is as follows: Applications: Application document - Contains the main file, interrupt handling files, system configuration files Compiler,: Compiler documentation - The current RealView MDK project templates 3 Documents: Document Description - Provide a template using the tutorial - Provides a template Imprint - Provides a template hierarchical description, please focus on reading! ! ! - Doxygen comment style template, instructions, software 4 Drivers: PCB board-level driver documentation - Such as buttons, EEPROM, analog I2C, etc. - The layer on a masked the bottom of Libraries So play a connecting role to facilitate cross-platform portability Libraries: MCU peripherals library documentation - This section provided by the chip manufacturer, the standard library - User may not modify this layer Modules: component layer document -
Platform: | Size: 1632256 | Author: | Hits:

[Software Engineeringxd-stm32-9

Description: 芯达STM32入门系列教程之九《初试STM32中断》-The core reached STM32 Getting Started tutorial series nine first test STM32 interrupt "
Platform: | Size: 239616 | Author: 马莉莉 | Hits:

[ARM-PowerPC-ColdFire-MIPSSTM32F0XX教程+例程源码

Description: STM32F0XX教程+例程源码 教程目录: 工程篇:搭建KEIL-MDK开发平台及制作MDK工程文件模板.pdf 资料篇-NUCLEO-072RB开发板特性讲解及资料准备.pdf 初级教程篇:按键(中断方式)实现24C04存储器内容读写.pdf 初级教程篇:实现一个LED灯(软件延时 systick定时器).pdf 中级教程篇:利用SPI总线构建NUCLEO-072RB和NUCLEO-302RB双机处理系统.pdf 中级教程篇:利用定时器实现6路互补PWM波形输出.pdf 高级教程篇:基于Labview上位机界面的NUCLEO-072RB数据采集系统.pdf 例程目录: 1.ADC 2.BLDC 3.DEMO-工程模板 4.EEPROM 5.KEY(中断方式) 6.KEY-EEPROM 7.LED(systick定时) 8.LED(软件延时) 9.PWM 10.SPI-MASTER-F0 11.SPI-SLAVE-F3 12.STM32-Labview-ADC 13.UART(printf 查询方式接收) 14.UART(中断方式方式接收)(STM32F0XX tutorial + routine source code Directory of courses: Project: building KEIL-MDK development platform and making MDK project document template.Pdf Information sheet -NUCLEO-072RB development board characteristics and data preparation.Pdf Primary tutorial: key (interrupt mode) to achieve 24C04 memory content read and write.Pdf Junior tutorial: realizing a LED lamp (software delay systick timer).Pdf Intermediate tutorial: using SPI bus to build NUCLEO-072RB and NUCLEO-302RB dual processor system.Pdf Intermediate tutorial: using timer to realize 6 complementary PWM waveform output.Pdf Advanced tutorial: NUCLEO-072RB data acquisition system based on Labview host computer interface.Pdf Routine Directory: 1.ADC 2.BLDC 3.DEMO- engineering template 4.EEPROM 5.KEY (interrupt mode) 6.KEY-EEPROM 7.LED (systick timing) 8.LED (software delay) 9.PWM 10.SPI-MASTER-F0 11.SPI-SLAVE-F3 12.STM32-Labview-ADC 13.UART (printf query mode) 14.UART (interrupt mode receive))
Platform: | Size: 20690944 | Author: Putty | Hits:

CodeBus www.codebus.net