调试开关
在 Luban-Lite 中 Watchdog 驱动的Log控制接口共用了全局的 ulog 接口。
wdt_status 命令
在Watchdog驱动初始化成功后,会在shell命令行中注册生成一个 wdt_status
命令,其中打印了当前的配置及状态信息:
aic /> wdt_status
In Watchdog V1.00:
Module Enable: 0
Write disable: 0
IRQ Enable: 0
Current chan: hw 0, sw 0
Current cnt: 0
chan clr_thd irq_thd rst_thd
0 0 160000 320000
1
2
3
4
5
6
7
8
9
2
3
4
5
6
7
8
9