📄 wdog1.h
字号:
/** ###################################################################
** THIS BEAN MODULE IS GENERATED BY THE TOOL. DO NOT MODIFY IT.
** Filename : WDog1.H
** Project : dy
** Processor : MC9S08QD4CSC
** Beantype : WatchDog
** Version : Bean 02.081, Driver 01.07, CPU db: 2.87.049
** Compiler : CodeWarrior HCS08 C Compiler
** Date/Time : 2008-2-26, 9:27
** Abstract :
** Settings :
** Watchdog causes : Reset CPU
**
** Initial Watchdog state : Enabled
**
** Mode of operation : Normal
**
**
** High speed mode
** Prescaler : divide-by-1
** Watchdog period/frequency
** microseconds : 256000
** milliseconds : 256
** Hz : 4
**
** Run register : SOPT1 [$1802]
** Mode register : SRS [$1800]
** Prescaler register : SOPT1 [$1802]
** Contents :
** Clear - byte WDog1_Clear(void);
**
** (c) Copyright UNIS, spol. s r.o. 1997-2006
** UNIS, spol. s r.o.
** Jundrovska 33
** 624 00 Brno
** Czech Republic
** http : www.processorexpert.com
** mail : info@processorexpert.com
** ###################################################################*/
#ifndef __WDog1
#define __WDog1
/*Include shared modules, which are used for whole project*/
#include "PE_Types.h"
#include "PE_Error.h"
#include "PE_Const.h"
#include "IO_Map.h"
/* MODULE WDog1. */
#include "Cpu.h"
#define WDog1_Clear() (SRS = 0xFF,(byte)ERR_OK)
/*
** ===================================================================
** Method : WDog1_Clear (bean WatchDog)
**
** Description :
** Clears the watchdog timer (it makes the timer restart from
** zero).
** Parameters : None
** Returns :
** --- - Error code, possible codes:
** ERR_OK - OK
** ERR_SPEED - This device does not work in
** the active speed mode
** ERR_DISABLED - The Bean is disabled
** ===================================================================
*/
/* END WDog1. */
#endif /* ifndef __WDog1 */
/*
** ###################################################################
**
** This file was created by UNIS Processor Expert 3.00 [03.89]
** for the Freescale HCS08 series of microcontrollers.
**
** ###################################################################
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -