虫虫首页| 资源下载| 资源专辑| 精品软件
登录| 注册

wwdg

  • STM32中断与嵌套NVIC快速入门

    //CM3 有 最多240个中断(通常外部中断写作IRQs),就是 软件上说的 IRQ CHANAELx(中断通道号x) 每个中断有自己的可编程的中断优先级【 有唯一对应的 中断优先级寄存器 】. 由于CM3支持 硬件中断嵌套,所以可以有 256 级的可编程优先级 和 256级中断嵌套【 书上称:抢占(preempt) 优先级】 所以大家可以设: IRQ CHANAEL 0 通道 = 2 中断优先级wwdg 窗口定时器中断 IRQ CHANAEL 1 通道 = 0 中断优先级PVD 联到EXTI的电源电压检测(PVD)中断 IRQ CHANAEL 3 通道 = 255 中断优先级RTC 实时时钟(RTC)全局中断 IRQ CHANAEL 6 通道 = 10 中断优先级EXTI0 EXTI线0中断 ..... IRQ CHANAEL 239 通道 = (0<x<255) 中断优先级..

    标签: NVIC STM 32 中断

    上传时间: 2013-10-28

    上传用户:redherr

  • 基于(英蓓特)STM32V100的看门狗程序

    This example shows how to update at regulate period the wwdg counter using theEarly Wakeup interrupt (EWI). The wwdg timeout is set to 262ms, refresh window set to 41h and the EWI isenabled. When the wwdg counter reaches 40h the EWI is generated and in the wwdgISR the counter is refreshed to prevent a wwdg reset and led connected to PC.07is toggled.The EXTI line9 is connected to PB.09 pin and configured to generate an interrupton falling edge.In the NVIC, EXTI line9 to 5 interrupt vector is enabled with priority equal to 0and the wwdg interrupt vector is enabled with priority equal to 1 (EXTI IT > wwdg IT). The EXTI Line9 will be used to simulate a software failure: once the EXTI line9event occurs (by pressing Key push-button on EVAL board) the correspondent interruptis served, in the ISR the led connected to PC.07 is turned off and the EXTI line9pending bit is not cleared. So the CPU will execute indefinitely EXTI line9 ISR andthe wwdg ISR will never be entered(wwdg counter not updated). As result, when thewwdg counter falls to 3Fh the wwdg reset occurs.If the EXTI line9 event don抰 occurs the wwdg counter is indefinitely refreshed inthe wwdg ISR which prevent from wwdg reset. If the wwdg reset is generated, after resuming from reset a led connected to PC.06is turned on. In this example the system is clocked by the HSE(8MHz).

    标签: V100 STM 100 32V

    上传时间: 2013-11-11

    上传用户:gundamwzc

  • 基于LabVIEW的ARM Cortex-M3嵌入式开发宝典

    基于LabVIEW的ARM Cortex-M3嵌入式开发宝典电子书内容简介第 1 篇 软件篇1.1 LabVIEW Embedded Module for ARM Microcontrollers 模块介绍1.2 Keil RealView MDK 软件介绍1.3 Keil RTX 实时操作系统介绍1.4 LabVIEW ARM Module 软件架构1.5 LabVIEW ARM Module、RealView MDK、实验平台驱动软件安装1.6 STM32 实验范例查找与 USB JLink-OB 驱动加载第 2 篇 硬件篇2.1 ARM Cortex-M3 内核简介2.2 实验平台介绍2.2.1 STM32 Starter Board(学习板)介绍2.2.2 STM32 Core Board(核心板)介绍2.2.3 STM32 DAQ Board(数采板)介绍 2.3 实验平台资源说明2.3.1 STM32 Starter Board 资源简介2.3.2 STM32 Core Board 资源简介2.3.3 STM32 DAQ Board 资源简介2.4 My_ARM 实验平台总结与展望第 3 篇 基础模块篇(附原理图)3.1.1 GPIO 介绍3.1.2 GPIO 工作原理3.1.3 GPIO 驱动实现3.1.4 GPIO 两种驱动方式比较3.1.5 GPIO 总结3.2 ADC/DAC3.2.1 ADC 介绍3.2.2 ADC 驱动实现3.2.3 DAC 介绍3.2.4 DAC 驱动实现3.3 中断(60 线)3.3.1 外部中断(19 线)3.3.1.1 外部 I/O 中断(GPIO:16 线)3.3.1.2 外部特定中断(PVD、RTC、USB:3 线)3.3.2 外部中断的驱动实现3.3.3 定时器中断(TIM2~TIM5、TIM6、TIM7、TIM1、TIM8)3.3.3.1 基本定时器中断 3.3.3.2 通用定时器中断3.3.3.3 高级定时器中断3.3.4 定时器中断驱动实现3.3.4.1 更新中断驱动实现3.3.4.2 输入测量驱动实现3.3.4.3 编码器驱动实现3.4 PWM 生成3.4.1 PWM 原理、应用3.4.2 PWM 驱动实现3.4.3 PWM 设置技巧3.5 看门狗3.5.1 独立看门狗(IWDG)介绍3.5.2 独立看门狗驱动实现3.5.3 窗口看门狗(wwdg)介绍3.5.4 窗口看门狗驱动实现3.6 TFTLCD 显示、触摸屏操作、OLED 显示3.6.1 TFTLCD 工作原理3.6.2 TFTLCD 显示驱动实现3.6.3 触摸屏工作原理3.6.4 触摸屏驱动实现3.6.5 OLED 工作原理3.6.6 OLED 驱动实现.............

    标签: labview arm cortex-m3 嵌入式

    上传时间: 2022-07-17

    上传用户: