代码搜索结果
找到约 8,517 项符合
Watchdog 的代码
watchdog.c
void dog ( ) /* 初始化看门狗*/
{
cs=1;
delay(1);
cs=0;
delay(1);
cs=1;
outbyt(da); /*向看门狗存储器写入一字节*/
int
watchdog.h
/*
* Generic watchdog defines. Derived from..
*
* Berkshire PC Watchdog Defines
* by Ken Hollis
*
*/
#ifndef _LINUX_WATCHDOG_H
#define _LINUX_WATCHDOG_H
#include
watchdog.h
/*
* Generic watchdog defines. Derived from..
*
* Berkshire PC Watchdog Defines
* by Ken Hollis
*
*/
#ifndef _LINUX_WATCHDOG_H
#define _LINUX_WATCHDOG_H
#include
watchdog.cpp
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by
watchdog.h
/*----------------------------------------------------------------------------*/
/* Copyright (c) FIRST 2008. All Rights Reserved. */
/* Open Source Software - may be modified and shared by
watchdog.c
/*
符号常量值含意
WDTO_15MS Watchdog 定时器15 毫秒超时
WDTO_30MS Watchdog 定时器30 毫秒超时
WDTO_60MS Watchdog 定时器60 毫秒超时
WDTO_120MS Watchdog 定时器120 毫秒超时
WDTO_250MS Watchdog 定时器250 毫秒超时
WDTO_500MS Watchdog
watchdog.mak
CC = iccavr
CFLAGS = -IC:\icc\include\ -e -DATMega8515 -l -g -Mavr_enhanced_small -Wa-W
ASFLAGS = $(CFLAGS) -Wa-g
LFLAGS = -LC:\icc\lib\ -g -Wl-W -bfunc_lit:0x22.0x2000 -dram_end:0x25f -bdata:
watchdog.hex
:0200000019C025
:02000C0057C0DB
:1400220021F91351C94505F10141810D271907870000CFE5F6
:14003600D2E0CDBFDEBFC051D0400AEA08830024E2E6F0E07F
:14004A0010E0E236F10711F00192FBCF0083E2E3F0E0A0E6A6
:14005E