代码搜索结果
找到约 8,517 项符合
Watchdog 的代码
watchdog.c
#include
#include
#include
#include
#include "log.h"
int openwatchdog(char * watchDogDev,char* pMod)
{
int fd;
if((fd=open(watchDogDev,O_RDWR|O_NO
watchdog.h
#ifndef _WATCHDOG_H_
#define _WATCHDOG_H_
int openwatchdog(char * watchDogDev,char* pMod);
void * feeddogthread(int *);
#endif
watchdog.c
void dog ( ) /* 初始化看门狗*/
{
cs=1;
delay(1);
cs=0;
delay(1);
cs=1;
outbyt(da); /*向看门狗存储器写入一字节*/
int
watchdog.c
//*****************************************************************************
//
// watchdog.c - Driver for the Watchdog Timer Module.
//
// Copyright (c) 2005-2007 Luminary Micro, Inc. All rig
watchdog.h
//*****************************************************************************
//
// watchdog.h - Prototypes for the Watchdog Timer API
//
// Copyright (c) 2005-2007 Luminary Micro, Inc. All rig
watchdog.h
// Copyright (C) 1997-2002 Valeriy Ovechkin
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by t
watchdog.cpp
// Copyright (C) 1997-2002 Valeriy Ovechkin
//
// This program is free software; you can redistribute it and/or
// modify it under the terms of the GNU General Public License
// as published by t