?? 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 + -