代码搜索结果
找到约 8,517 项符合
Watchdog 的代码
watchdog.h
#ifndef __WATCHDOG_H__
#define __WATCHDOG_H__
#ifdef __cplusplus
extern "C" {
#endif
void Ch8_WDT_Test(void);
void __irq Wdt_Batflt_Int(void);
#ifdef __cplusplus
}
#endif
#endif /*
watchdog.err
"src\watchdog.c", line 48: Warning: C2917W: no side effect in void context: 'unary *'
src\watchdog.c: 1 warning, 0 errors, 0 serious errors
watchdog.c
//================================================
// Watch-dog timer Interrupt Request Test
// Watchdog.c 24a0A
//================================================
#include "24a0addr.h"
#include
watchdog.c
void dog ( ) /* 初始化看门狗*/
{
cs=1;
delay(1);
cs=0;
delay(1);
cs=1;
outbyt(da); /*向看门狗存储器写入一字节*/
int
watchdog.c
#include
#include
#include
#include
#include
#include "watchdog.h"
void EnableWDT(void)
{
unsigned int WchCon;
WchCon=(
(inport(CTL_OF
watchdog.h
#define CTL_OFF 0xff00
#define OFFS_WCHDOGCON 0xe6
#define WCHDOG_CMD1 0x3333
#define WCHDOG_CMD2 0xcccc
#define WCHDOG_RSTCMD1 0x5555
#define WCHDOG_RSTCMD2 0xaa
watchdog._c
//***************FileName:LED.C***************//
//**************ICCAVR V6.30编译**************//
#include //头文件,AT90S8535单片机的寄存器定义
#define uchar unsigned char //数据类型说明
#d
watchdog.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -l -g -Wa-W
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -Wl-W -bfunc_lit:0x22.0x2000 -dram_end:0x25f -bdata:0x60.0x25f -dhwstk_size:16 -beepro