代码搜索结果
找到约 6,975 项符合
Watchdog 的代码
watchdog.v
//WatchDog counter
module watchdog(
clk,
rst_n,
wdval,
wden,
wdi,
// wdf,
wdo
);
input clk,rst_n;
input wden;//watchdog enable
input wdi;//watchdog refresh
// output wdf;//w
watchdog.c
/*********************************************************************
* Copyright (c) 2011-2012,李士伟
* All rights reserved.
*文 件 名:watchdog.c
*描 述:看门狗驱动源文件
watchdog.h
/*********************************************************************
* Copyright (c) 2011-2012,李士伟
* All rights reserved.
*文 件 名:watchdog.h
*描 述:看门狗驱动头文件
watchdog.plg
礦ision Build Log
Project:
F:\LU1和LE1编程\nRF24LE1程序包-----工程版\第二章\2.7看门狗\watchdog\程序\watchdog.uvproj
Project File Date: 09/08/2010
Output:
Build
watchdog.lnp
"STARTUP.obj",
"main.obj",
"watchdog_conf.obj"
TO "watchdog"
RAMSIZE(256)
watchdog.asm.txt
看门狗子程序:T0做WATCHDOG,定时约为16毫秒
初始化:
MOV TMOD,#01H
SETB ET0 ;润许T0中断
SETB PT0 ;设T0为高级中断
MOV TH0,#0E0H ;定时约16
SETB TR0 ;启动T0
SETB EA ;开中断
应用:
ORG 0000H
AJMP MAIN
OR
watchdog.asm.txt
看门狗子程序:T0做WATCHDOG,定时约为16毫秒
初始化:
MOV TMOD,#01H
SETB ET0 ;润许T0中断
SETB PT0 ;设T0为高级中断
MOV TH0,#0E0H ;定时约16
SETB TR0 ;启动T0
SETB EA ;开中断
应用:
ORG 0000H
AJMP MAIN
OR
watchdog.c
//*****************************************************************************
//
// watchdog.c - Driver for the Watchdog Timer Module.
//
// Copyright (c) 2005-2009 Luminary Micro, Inc. All rig
watchdog.h
//*****************************************************************************
//
// watchdog.h - Prototypes for the Watchdog Timer API
//
// Copyright (c) 2005-2009 Luminary Micro, Inc. All rig
watchdog.h
#if !defined( _WATCHDOG_H )
#define _WATCHDOG_H
void Watchdog(void);
void ShortTimeIwdgSetup (void);
#endif