代码搜索结果
找到约 6,975 项符合
Watchdog 的代码
watchdog.c
//*****************************************************************************
//
// watchdog.c - Driver for the Watchdog Timer Module.
//
// Copyright (c) 2005-2008 Luminary Micro, Inc. All rig
watchdog.h
//*****************************************************************************
//
// watchdog.h - Prototypes for the Watchdog Timer API
//
// Copyright (c) 2005-2008 Luminary Micro, Inc. All rig
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-2010 Texas Instruments Incorporate
watchdog.h
//*****************************************************************************
//
// watchdog.h - Prototypes for the Watchdog Timer API
//
// Copyright (c) 2005-2010 Texas Instruments Incorporate
watchdog.h
#if !defined( _WATCHDOG_H )
#define _WATCHDOG_H
void Watchdog(void);
void ShortTimeIwdgSetup (void);
#endif
watchdog.h
#if !defined( _WATCHDOG_H )
#define _WATCHDOG_H
void Watchdog(void);
void ShortTimeIwdgSetup (void);
#endif
watchdog.h
#if !defined( _WATCHDOG_H )
#define _WATCHDOG_H
void Watchdog(void);
void ShortTimeIwdgSetup (void);
#endif
watchdog.h
#if !defined( _WATCHDOG_H )
#define _WATCHDOG_H
void Watchdog(void);
void ShortTimeIwdgSetup (void);
#endif
watchdog.h
#if !defined( _WATCHDOG_H )
#define _WATCHDOG_H
void Watchdog(void);
void ShortTimeIwdgSetup (void);
#endif