wdt.h

来自「一款SmartPhone的驱动代码」· C头文件 代码 · 共 26 行

H
26
字号
/************************************************************************
 *									*
 *	Copyright (C) SEIKO EPSON CORP. 1999				*
 *									*
 *	File name: wdt.h						*
 *	  This is watch dog timer driver header.			*
 *									*
 *	Revision history						*
 *		1999.03.11	T.Mineshima	Start.			*
 *									*
 ************************************************************************/
#ifndef __WATCH_DOG_H__
#define __WATCH_DOG_H__


/* Address definition */
#define		WDT_WRWD_ADDR		0x40170		// Address for watch dog timer wirte protect register
#define		WDT_EWD_ADDR		0x40171		// Address for watch dog timer enable register


/* Bit field definition */
#define		WDT_WRWD_WRT		0x80		// Watch dog timer write protect
#define		WDT_EWD_ENABLE		0x02		// Watch dog timer enable

#endif		// __WATCH_DOG_H__

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?