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).
資源簡介:基于(英蓓特)STM32V100的串口程序
上傳時間: 2013-12-26
上傳用戶:mikesering
資源簡介:ST32 基于(英蓓特)STM32V100的EXTI程序 This example shows how to configure an external interrupt line. In this example, the EXTI line 9 is configured to generate an interrupt on each falling edge. In the interrupt routine a led connecte...
上傳時間: 2016-11-17
上傳用戶:GavinNeko
資源簡介:基于(英蓓特)STM32V100的SPI程序
上傳時間: 2014-01-02
上傳用戶:com1com2
資源簡介:基于(英蓓特)STM32R100的串口程序
上傳時間: 2016-05-30
上傳用戶:invtnewer
資源簡介:基于(英蓓特)STM32R100的RCC程序
上傳時間: 2014-03-11
上傳用戶:zjf3110
資源簡介:基于(英蓓特)STM32R100的CAN程序
上傳時間: 2016-05-30
上傳用戶:思琦琦
資源簡介:】 基于(英蓓特)STM32R100的Flash程序
上傳時間: 2014-12-21
上傳用戶:lxm
資源簡介: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 gene...
上傳時間: 2013-11-11
上傳用戶:gundamwzc
資源簡介:This example provides a description of how? to use the USART with hardware flowcontrol and communicate with the Hyperterminal.First, the USART2 sends the TxBuffer to the hyperterminal and still waiting fora string from the hyperterminal th...
上傳時間: 2013-10-31
上傳用戶:yy_cn
資源簡介:可以提供s3c44b0x開發(fā)配置幫助的英蓓特公司s3cev40的通用配置程序
上傳時間: 2016-10-19
上傳用戶:wweqas
資源簡介:英蓓特s3cev40下的led8位數(shù)碼管驅動程序
上傳時間: 2016-10-19
上傳用戶:ynwbosss
資源簡介:用java(開發(fā)工具JBuilder)編寫的聊天室程序,主要應用java socket協(xié)議編程,每個客戶一個線程。本程序是學習java socket和Thread的良好用例。
上傳時間: 2014-03-12
上傳用戶:yangbo69
資源簡介:一個用vhdl語言(硬件描述語言)編寫的fft實現(xiàn)程序。fft用途很廣,該程序可以在cpld或fpga等硬件上實現(xiàn),軟件壞境為maxplus10.0及以上或quartus2。
上傳時間: 2016-04-15
上傳用戶:nairui21
資源簡介:大名鼎鼎赫蒙.西金的經(jīng)典著作《自適應信號處理》(第4版)對應的仿真實驗程序和課后習題詳細解答。適合研究生學習或工程技術人員參考!
上傳時間: 2014-01-01
上傳用戶:tyler
資源簡介:大名鼎鼎赫蒙.西金的經(jīng)典著作《自適應信號處理》(第4版)對應的仿真實驗程序和課后習題詳細解答。適合研究生學習或工程技術人員參考!
上傳時間: 2013-12-23
上傳用戶:2467478207
資源簡介:基于LPC2200的看門狗程序,并不太復雜,但很實用。
上傳時間: 2014-01-14
上傳用戶:拔絲土豆
資源簡介:基于WINCE 的看門狗程序,可直接運行
上傳時間: 2017-04-25
上傳用戶:maizezhen
資源簡介:80C51編寫的看門狗程序,本程序是為了數(shù)字電壓表的看們狗設計
上傳時間: 2013-12-10
上傳用戶:gaojiao1999
資源簡介:針對TI的DM642的看門狗程序,用戶可以進行修改并添加自己的應用
上傳時間: 2014-01-21
上傳用戶:ve3344
資源簡介:watchdog,ARM中的看門狗程序的基本實現(xiàn)
上傳時間: 2014-01-25
上傳用戶:zhangjinzj
資源簡介:用C語言編寫的看門狗程序,在單片機開發(fā)中很有用
上傳時間: 2013-12-01
上傳用戶:netwolf
資源簡介:C8051F3XX的看門狗程序對于剛入門在做設計的人很有用哦
上傳時間: 2017-03-02
上傳用戶:123啊
資源簡介:本源代碼是STM32的看門狗程序驅動。編譯器為keil。
上傳時間: 2017-04-05
上傳用戶:refent
資源簡介:44b0的看門狗程序,很基礎但也是很重要的
上傳時間: 2017-08-30
上傳用戶:tonyshao
資源簡介:用于測試基于英蓓特s3c44b0的flash擦寫,led1,2閃爍
上傳時間: 2014-01-05
上傳用戶:我們的船長
資源簡介:基于ARM的嵌入式linux開發(fā)與應用——深圳英蓓特公司的培訓資料,主要針對uClinux的開發(fā)與應用
上傳時間: 2016-03-30
上傳用戶:wsf950131
資源簡介:英蓓特44b0基于UCLINUX的 I/O口測試
上傳時間: 2016-08-05
上傳用戶:Avoid98
資源簡介:基于STM32芯片英蓓特STM32V100開發(fā)板所有實驗程序
上傳時間: 2013-12-28
上傳用戶:netwolf
資源簡介:STM103V100-II是英蓓特公司新推出的一款基于ST意法半導體STM32系列處理器的全功能評估板。STM103V100-II評估板有USB,Motor Control ,CAN,SD卡,Smart 卡,UART,Speaker,LCD,LED,BNC,耳塞插孔等豐富的外設,有助于用戶輕松開發(fā)STM32的強大功能。此為操...
上傳時間: 2017-02-11
上傳用戶:qwe1234
資源簡介:英蓓特Embest EduKit-III基礎實驗源碼及教程 基于ARM7和ARM9,包括uC/OS 的移植代碼
上傳時間: 2014-01-27
上傳用戶:13681659100