You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
DeveloperAlpha 48b48663ce -u origin main 3 months ago
..
EIDE -u origin main 3 months ago
EWARM -u origin main 3 months ago
Inc -u origin main 3 months ago
MDK-ARM -u origin main 3 months ago
Src -u origin main 3 months ago
readme.txt -u origin main 3 months ago

readme.txt

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

================================================================================
                                样例使用说明
                                Sample Description
================================================================================
功能描述:
此样例演示了IWDG看门狗功能配置看门狗重载计数值计数800ms后复位然后通过调整
每次喂狗的时间main函数while循环中代码可以观察到如果每次喂狗时间750ms程
序能一直正常运行LED灯闪烁如果喂狗时间850ms程序会一直复位LED灯熄灭。

Function descriptions:
This example demonstrates the function of IWDG (Independent Watchdog).Set IWDG 
to count 800ms and then reset.By adjusting the time of refresh the dog
each time (code in the main function while loop), it can be observed that if the
time is 750ms, the program can always run normally (LED blink), if the time is 
850ms, the program will always reset (LED off). 
================================================================================
测试环境:
测试用板PY32F403_STK
MDK版本 5.28
IAR版本 9.20
GCC版本GNU Arm Embedded Toolchain 10.3-2021.10

Test environment:
Test board: PY32F403_STK
MDK Version: 5.28
IAR Version: 9.20
GCC Version: GNU Arm Embedded Toolchain 10.3-2021.10
================================================================================
使用步骤:
1. 编译下载程序到MCU并运行
2. 可观察到LED能正常闪烁
3. 修改程序main函数while循环中注释代码配置喂狗时间为850ms
4. 重新编译下载程序到MCU并运行
5. 可观察到LED不能正常亮起。

Example execution steps:
1. Compile and download the program to the MCU, and then run it.
2. Observe the LED blinking
3. Modify the program (at the commented code in the main loop) to set the 
   feeding time to 850 milliseconds.
4. Re-compile and download the program to the MCU, and then run it.
5. Observe the LED off.
================================================================================
注意事项:

Notes:

================================================================================