static void idle_hook(void) { /* 在空闲线程的回调函数里喂狗 */ rt_device_control(wdg_dev, RT_DEVICE_CTRL_WDT_KEEPALIVE, NULL); } 2.4 关闭看门狗 当应用程序完成看门狗操作后,可以关闭看门狗设备,通过如下函数完成: rt_err_t rt_device_close(rt_device_t dev); 关闭设备接口和打开设备接口需...
(1)/* 获取溢出时间 */#defineRT_DEVICE_CTRL_WDT_SET_TIMEOUT(2)/* 设置溢出时间 */#defineRT_DEVICE_CTRL_WDT_GET_TIMELEFT(3)/* 获取剩余时间 */#defineRT_DEVICE_CTRL_WDT_KEEPALIVE(4)/* 喂狗 */#defineRT_DEVICE_CTRL_WDT_START(5)/* 启动看门狗 */#defineRT_DEVICE_CTRL_WDT_STOP(6)/...
case RT_DEVICE_CTRL_WDT_STOP: err = i6300esb_timer_stop(esb); break;default: err = -RT_EINVAL; }return err; }static const struct rt_watchdog_ops i6300esb_wdt_ops = { .init = i6300esb_wdt_init, .control = i6300esb_wdt_control,...
Core:42devices,22uclasses,devicetree:separate WDT:Startedwatchdog@c000000withservicing(60stimeout) WDT:Startedwatchdog@c010000withservicing(60stimeout) MMC:FSL_SDHC:0,FSL_SDHC:1 LoadingEnvironmentfromMMC...***Warning-badCRC,usingdefaultenvironment EEPROM:InvalidID(ffffffff) In:serial Out:serial Err...
ch32v307 add uart/spi/adc/gpio/wdt/dac/can/pwm drivers, update readme. etc. Libcpu arm: cortex-a revert safety MMU initialization, cortex-m7 change the return type of function rt_hw_cpu_dcache_ops to rt_uint32_t, etc. risc-v: support noncached normal memory, add rt_backtrace ...
Register Address: 0x6F, Register Name: HD_ADD_CTRL 2 Bit Bit Name Default WDT RST REG RST Type Description 5 EN_FON_Q5_BAT_TRACK 1 N Y R/W 0: When Q5 is forced on, no BAT tracking 1: When Q5 is forced on, BAT tracking
- PCI: tegra: Add missing MODULE_DEVICE_TABLE - remoteproc: core: Fix cdev remove and rproc del - x86/fpu: Return proper error codes from user access functions - watchdog: iTCO_wdt: Account for rebooting on second timeout
1076483:https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1076483Debian Bug Tracking System Contact ow...@bugs.debian.org with problems ---Begin Message Source: linux Source-Version: 6.11.4-1 Done: Salvatore Bonaccorso <car...@debian.org> ...
新增块设备的自动刷新参数,RT_DEVICE_CTRL_BLK_AUTOREFRESH;工具修正scons命令编译时,选择keil mdk (armcc)编译器时,命令行太长编译失败的问题;移植移除rt_device_init_all()相关的调用; 根据串口框架调整相关的驱动代码; 新增frdm-k64f移植(FreeScale K64芯片); 移除K60Fxxxx移植; 新增LPC43xx移植(NXP LPC4357...
rti_wdt.c | 34 +- fs/proc/array.c | 57 +- include/drm/drm_bridge.h | 40 + include/linux/dma/k3-udma-glue.h | 10 + include/linux/etherdevice.h | 12 +- include/linux/power/bq27xxx_battery.h | 1 - include/linux/reboot.h | 3 + include/linux/remoteproc.h | 8 +- include...