登录
首页 » 嵌入式系统 » 你可曾经为硬件看门狗的复位时间太短,而苦恼过,这个方法帮你解决问题. 用定时器喂狗,如果超过一定时间(程序跑飞,或整个中断都关闭,都会导致定时器不喂狗,导致看门...

你可曾经为硬件看门狗的复位时间太短,而苦恼过,这个方法帮你解决问题. 用定时器喂狗,如果超过一定时间(程序跑飞,或整个中断都关闭,都会导致定时器不喂狗,导致看门...

于 2023-07-12 发布 文件大小:988.00 B
0 53
下载积分: 2 下载次数: 1

代码说明:

你可曾经为硬件看门狗的复位时间太短,而苦恼过,这个方法帮你解决问题. 用定时器喂狗,如果超过一定时间(程序跑飞,或整个中断都关闭,都会导致定时器不喂狗,导致看门狗的复位,从而延长了看门狗的复位时间)不喂就复位. 程序中我以lcpRD2为例.-you may have to reset the hardware watchdog short time and anguish that this approach help you solve the problem. DOG with timers, if more than a certain time (running fly procedures, or were closed throughout the interruption, it will not lead to the timer DOG, resulting in the reduction watchdog, thereby prolonging the watchdog reset the time) do not feed on the reset. proceedings I lcpRD2 example.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论


0 个回复

  • intrrupt 处理 ind lpc 2148
    intrrupt 处理 rtf 文件中通过编程很容易去...... 这是一个基本教程上 LPC214x Mcu 和如何编程他们为那些新到的中断的中断。开始时,先让我们看看: 什么中断、 Irq 和 Isr是。根据 wiki:"中断是发送给 CPU 的指示系统事件已发生,需要立即关注的信号"。中断请求,即一个 "IRQ" 可以被认为的特别要求,CPU 要执行一个函数(代码的小片) 当一个中断发生时。此函数或 "小块代码" 技术上称为 "中断服务例程" 或 "ISR"。所以当一个 IRQ 到 CPU 到达时,它停止执行当前的代码并开始执行 ISR后 ISR 执行完毕 CPU 获取回它已停止的位置。
    2022-07-24 10:16:35下载
    积分:1
  • os required for the development of the mouse
    os开发的所需的鼠标驱动,基于c语言,gcc开发-os required for the development of the mouse-driven, based on c language, gcc development
    2022-01-25 15:42:57下载
    积分:1
  • LM3S6965_Http_demo
     * The HTTP server provides a small scripting language.  *  * The script language is simple and works as follows. Each script line starts  * with a command character, either "i", "t", "c", "#" or ".".  *   "i" - command tells the script interpreter to "include" a file from the  *         virtual file system and output it to the web browser.  *   "t" - command should be followed by a line of text that is to be output  *         to the browser.  *   "c" - command is used to call
    2022-03-31 18:07:45下载
    积分:1
  • www.peramain
    www.peramain-cctv.net
    2022-05-30 13:33:41下载
    积分:1
  • 44B0测试44B0测试44B0测试44B0测试
    44B0 test 44B0 test 44B0 test-44B0 Test 44B0 test 44B0 test 44B0 test
    2022-02-07 05:36:48下载
    积分:1
  • lcd 3.2 tft
    3.2控制器8085的tft C编程代码。这是程序的C文件。易趣上也有。
    2022-06-17 08:07:41下载
    积分:1
  • C语言函数库文件,包括各种头文件及说明文档
    C语言函数库文件,包括各种头文件及说明文档--Library functions for C language, including header files and descriptions.
    2022-02-10 12:31:31下载
    积分:1
  • PROTEL format of EP2C8Q208 schematic and PCB, absolutely right
    EP2C8Q208的PROTEL格式的原理图和PCB,绝对正确-PROTEL format of EP2C8Q208 schematic and PCB, absolutely right
    2022-01-31 18:09:30下载
    积分:1
  • 电子秤与sam72n9文件写的
    用SAM72N9写的电子秤文档- Electronic scale documents writes which with SAM72N9
    2022-12-09 08:30:03下载
    积分:1
  • Based on 51 Singlechip LCD1602 display
    基于51单片机的LCD1602显示-Based on 51 Singlechip LCD1602 display
    2022-07-22 22:59:15下载
    积分:1
  • 696518资源总数
  • 104530会员总数
  • 46今日下载