STM32F7的IWDG和WWDG是不是功能有点重复了.

2019-07-20 21:53发布

微信截图_20160531211106.png
微信截图_20160531211118.png

大体意思还是差不多.一个用RC时钟(另一个PCLK),一个不可以提前中断(一个可以).貌似太大的用法区别啊.

IWDG main features
• Free-running downcounter
[size=13.3333px]没有可编程递减计数器,但是可以做重装啊.也能达到可编程计数器的目的
• Clocked from an independent RC oscillator (can operate in Standby and Stop modes)
[size=13.3333px]用RC时钟,低功耗都可以用.
• Conditional Reset
– Reset (if watchdog activated) when the downcounter value becomes less than
0x000 低于一个数值就复位.
– Reset (if watchdog activated) if the downcounter is reloaded outside the window
[size=13.3333px]不在窗口内就复位.


WWDG main features
• Programmable free-running downcounter
[size=13.3333px]可编程减计数器,也基本等于重装啊
• Conditional reset
– Reset (if watchdog activated) when the downcounter value becomes less than
0x40
[size=13.3333px] [size=13.3333px]低于一个数值就复位.
– Reset (if watchdog activated) if the downcounter is reloaded outside the window
(see Figure 283)
[size=13.3333px] [size=13.3333px]不在窗口内就复位.
• Early wakeup interrupt (EWI): triggered (if enabled and the watchdog activated) when
the downcounter is equal to 0x40. 比IWDG只多了个提前中断

友情提示: 此问题已得到解决,问题已经关闭,关闭后问题禁止继续编辑,回答。