/**
@page wwdg_application_example
@verbatim
******************************************************************************
* @file wwdg\wwdg_application_example\readme.txt
* @author MCU Software Team
* @version V1.0.0
* @date 16-Oct-2019
* @brief Description of the wwdg example.
******************************************************************************
@endverbatim
@par Hardware and Software environment
- This example runs on CX32L003 devices.
- This example has been tested with CX32L003-StarterKit board and can be
easily tailored to any other supported device and development board.
@par How to use it ?
In order to make the program work, you must do the following :
- Connect RXD(J10.1), TXD(J10.2), GND(J10.3) to PC's rs232 converter.
- Open uart standard terminal and set baudrate 9600, 8bit, no parity check.
- Open your preferred toolchain
- Rebuild all files and load your image into target memory
- Run the example
- PC's uart terminal will receive message from CX32L003.
*/
case 0: Test to refresh the watchdog reload when counter small window
(1)set :#define WWDG_TEST_MODE WWDG_REFRESH_DOG
(2)can you see print from UART when start:
Printf success using UART1, PD5-TXD, PD6-RXD
Test WWDG RESET ,NO RESET!
Enter Test IWDG refresh
(3)You can't see "INT happen" from UART,if you see the print ,it is error..
(4)You can see led Toggle Each ~2.9 seconds
case 1: Test interrupt ,when interrupt to refresh watchdog
(1)set :#define WWDG_TEST_MODE WWDG_REFRESH_INTERRUPT
(2)You can see print from UART when start:
Printf success using UART1, PD5-TXD, PD6-RXD
PCLK freq :24000000HZ
Test WWDG RESET ,NO RESET!
Enter Test WWDG Interrupt
(3)You can see print from UART(Interrupt count).
INT 1
INT 2
INT 3
.......
(4)You can see led(D2) Toggle Each ~1.7 seconds
case 2: Test reset : no refresh watchdog
(1)set :#define WWDG_TEST_MODE WWDG_UNREFRESH_RESET
(2)You can see print from UART when start:
Printf success using UART1, PD5-TXD, PD6-RXD
PCLK freq :24000000HZ
Test WWDG RESET ,NO RESET!
Enter Test WWDG UNREFRESH RESET ,wait 5S
(3)You can see the print from UART after 1.5S+5S:
INT 1
(4)You can see print from UART after ~1.3S .
Printf success using UART1, PD5-TXD, PD6-RXD
PCLK freq :24000000HZ
Test WWDG RESET ,HAVE RESET!!!!
Enter Test WWDG UNREFRESH RESET ,wait 5S
(5)You can see the print from UART after 1.5S+5S:
INT 1
(6)You can see (4) and (5) each 3.3S+5S.
case 3: Test reset : refresh watchdog when large window
(1)set :#define WWDG_TEST_MODE WWDG_REFRESH_RESET
(2)You can see print from UART when start:
Printf success using UART1, PD5-TXD, PD6-RXD
PCLK freq :24000000HZ
Test WWDG RESET ,NO RESET!
Enter Test WWDG REFRESH RESET ,wait 5S
(3)You can see print from UART(Each ~1.2S+5S seconds reset).
Printf success using UART1, PD5-TXD, PD6-RXD
PCLK freq :24000000HZ
Test WWDG RESET ,HAVE RESET!!!!
Enter Test WWDG REFRESH RESET ,wait 5S
没有合适的资源?快使用搜索试试~ 我知道了~
cx32l003的固件库文件,其中包含hal库
共2000个文件
d:258个
o:258个
crf:250个
需积分: 12 1 下载量 133 浏览量
2022-10-17
11:05:03
上传
评论
收藏 42.3MB ZIP 举报
温馨提示
库文件中有adc等
资源详情
资源评论
资源推荐
收起资源包目录
cx32l003的固件库文件,其中包含hal库 (2000个子文件)
Project.axf 257KB
Project.axf 253KB
Project.axf 245KB
Project.axf 244KB
Project.axf 244KB
Project.axf 242KB
Project.axf 237KB
Project.axf 232KB
Project_sct.Bak 494B
Project_sct.Bak 479B
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Release.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
Project.Debug.cspy.bat 2KB
共 2000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 20
〇ling
- 粉丝: 11
- 资源: 8
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Screenshot_20240528_103010.jpg
- 基于Python的新能源承载力计算及界面设计源码 - HAINING-DG
- 基于Java的本科探索学习项目设计源码 - 本科探索
- 基于Javascript和Python的微商城项目设计源码 - MicroMall
- 基于Java的网上订餐系统设计源码 - online ordering system
- 基于Javascript的超级美眉网络资源管理应用模块设计源码
- 基于Typescript和PHP的编程知识储备库设计源码 - study-php
- Screenshot_2024-05-28-11-40-58-177_com.tencent.mm.jpg
- 基于Dart的Flutter小提琴调音器APP设计源码 - violinhelper
- 基于JavaScript和CSS的随寻订购网页设计源码 - web-order
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0