📄 testwatchdogtimer.c
字号:
/*
*******************************************************************************
** COPYRIGHT (C) NEC Electronics Corporation 2008
** NEC ELECTRONICS CONFIDENTIAL AND PROPRIETARY
** All rights reserved by NEC Electronics Corporation.
** Use of copyright notice does not evidence publication.
**
** Filename : lvi.c
** Abstract : This file implements the functions of Watchdogtimer.
**
** Device : uPD78F8024
**
** Compiler : NEC/CC78K0
**
*******************************************************************************
*/
#include "testmacrodriver.h"
#include "testwatchdogtimer.h"
/*
**-----------------------------------------------------------------------------
**
** function name:
** This function initializes watchdogtimer module.
**
** Parameters:
** None
**
** Returns:
** None
**
**-----------------------------------------------------------------------------
*/
void WDT_Init( void )
{
/* */
/* WDT is set by the option byte in uPD78F8024. */
/* */
}
/*
**-----------------------------------------------------------------------------
**
** function name:
**
** Parameters:
** None
**
** Returns:
** None
**
**-----------------------------------------------------------------------------
*/
void WDT_Reset( void )
{
WDTE = 0x0AC; /* Watchdog timer reset start */
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -