資料介紹
This example shows how to update at regulate period the WWDG counter using the
Early Wakeup interrupt (EWI).
The WWDG timeout is set to 262ms, refresh window set to 41h and the EWI is
enabled. When the WWDG counter reaches 40h the EWI is generated and in the WWDG
ISR the counter is refreshed to prevent a WWDG reset and led connected to PC.07
is toggled.
The EXTI line9 is connected to PB.09 pin and configured to generate an interrupt
on falling edge.
In the NVIC, EXTI line9 to 5 interrupt vector is enabled with priority equal to 0
and 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 line9
event occurs (by pressing Key push-button on EVAL board) the correspondent interrupt
is served, in the ISR the led connected to PC.07 is turned off and the EXTI line9
pending bit is not cleared. So the CPU will execute indefinitely EXTI line9 ISR and
the WWDG ISR will never be entered(WWDG counter not updated). As result, when the
WWDG counter falls to 3Fh the WWDG reset occurs.
If the EXTI line9 event don抰 occurs the WWDG counter is indefinitely refreshed in
the WWDG ISR which prevent from WWDG reset.
If the WWDG reset is generated, after resuming from reset a led connected to PC.06
is turned on.
In this example the system is clocked by the HSE(8MHz).
声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉
- 窗口看门狗是什么?与独立看门狗有啥区别?9次下载
- STM32:独立看门狗、窗口看门狗的配置18次下载
- STM32学习心得十六:独立看门狗实验6次下载
- arduino看门狗的使用7次下载
- 【嵌入式系统】独立看门狗原理+看门狗实验分析1次下载
- arduino看门狗18次下载
- MCU学习笔记_IWDG独立看门狗9次下载
- MCU独立看门狗与窗口看门狗的区别8次下载
- STM32 ADC模拟看门狗及其应用29次下载
- 看门狗应用的keil程序和电路图免费下载16次下载
- MSP430的看门狗使用学习资料总结4次下载
- ZigBee看门狗定时器的详细介绍和应用程序免费下载0次下载
- Arduino 看门狗16次下载
- STM32_独立看门狗程序25次下载
- Freescale Semiconductor看门狗程序5次下载
- 什么是模拟看门狗?模拟看门狗有什么用处?2235次阅读
- MCU如何集成看门狗的功能2189次阅读
- 独立看门狗功能描述2702次阅读
- STM32中的独立看门狗和窗口看门狗1628次阅读
- STM32中的独立看门狗和窗口看门狗2484次阅读
- STM32芯片如何使用片内参考电压实现模拟看门狗7328次阅读
- STM32单片机中的独立看门狗与窗口看门狗有哪些不同之处3485次阅读
- 一文了解STM32窗口看门狗的真正作用32368次阅读
- 一文读懂STM32之独立看门狗/窗口看门狗的原理9635次阅读
- STM32看门狗WWDG和IWDG的区别是什么15509次阅读
- stm32看门狗复位技巧编辑16019次阅读
- STM32看门狗配置(独立看门狗IWDG和窗口看门狗WWDG)8567次阅读
- 看门狗喂狗时间及程序17975次阅读
- 看门狗定时器的设计、工作原理及看门狗定时器的操作8131次阅读
- stm32看门狗时间计算 独立看门狗和窗口看门狗的特性是什么8950次阅读
下載排行
本周
- 1電子電路原理第七版PDF電子教材免費下載
- 0.00 MB | 1490次下載 | 免費
- 2單片機典型實例介紹
- 18.19 MB | 92次下載 | 1 積分
- 3S7-200PLC編程實例詳細資料
- 1.17 MB | 27次下載 | 1 積分
- 4筆記本電腦主板的元件識別和講解說明
- 4.28 MB | 18次下載 | 4 積分
- 5開關電源原理及各功能電路詳解
- 0.38 MB | 10次下載 | 免費
- 6基于AT89C2051/4051單片機編程器的實驗
- 0.11 MB | 4次下載 | 免費
- 7藍牙設備在嵌入式領域的廣泛應用
- 0.63 MB | 3次下載 | 免費
- 89天練會電子電路識圖
- 5.91 MB | 3次下載 | 免費
本月
- 1OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 2PADS 9.0 2009最新版 -下載
- 0.00 MB | 66304次下載 | 免費
- 3protel99下載protel99軟件下載(中文版)
- 0.00 MB | 51209次下載 | 免費
- 4LabView 8.0 專業版下載 (3CD完整版)
- 0.00 MB | 51043次下載 | 免費
- 5555集成電路應用800例(新編版)
- 0.00 MB | 33562次下載 | 免費
- 6接口電路圖大全
- 未知 | 30320次下載 | 免費
- 7Multisim 10下載Multisim 10 中文版
- 0.00 MB | 28588次下載 | 免費
- 8開關電源設計實例指南
- 未知 | 21539次下載 | 免費
總榜
- 1matlab軟件下載入口
- 未知 | 935053次下載 | 免費
- 2protel99se軟件下載(可英文版轉中文版)
- 78.1 MB | 537791次下載 | 免費
- 3MATLAB 7.1 下載 (含軟件介紹)
- 未知 | 420026次下載 | 免費
- 4OrCAD10.5下載OrCAD10.5中文版軟件
- 0.00 MB | 234313次下載 | 免費
- 5Altium DXP2002下載入口
- 未知 | 233045次下載 | 免費
- 6電路仿真軟件multisim 10.0免費下載
- 340992 | 191183次下載 | 免費
- 7十天學會AVR單片機與C語言視頻教程 下載
- 158M | 183277次下載 | 免費
- 8proe5.0野火版下載(中文版免費下載)
- 未知 | 138039次下載 | 免費
評論