?? wdt.h
字號:
/*-----------------------------------------------------------------------------
@@
@@ (Summary): LH7953x series Watchdog Timer (WDT) Device Driver Header File
@@
@@ (Comment): WDT Header File
@@
@@ (Author) : Tan Wee Kah
@@
@@ (RCS ID) :
@@
-----------------------------------------------------------------------------*/
#ifndef APD_WDT_H
#define APD_WDT_H
/*+include files*************************************************************/
/* */
/* */
/**************************************************************************-*/
#include "dev_def.h"
#include "type_def.h"
#include "wdt_def.h"
#include "wdt_sys_def.h"
/*+Public Macro definitions**************************************************/
/* */
/* */
/**************************************************************************-*/
/*+Public Type definitions***************************************************/
/* */
/* */
/****************************************************************************/
#ifdef APD_WDT_C
/*-------------------------- Local context - START -------------------------*/
/*+include files*************************************************************/
/* */
/* */
/**************************************************************************-*/
#define VISIBLE /* Mark as LOCAL context */
/*+Local Type definitions****************************************************/
/* */
/* */
/**************************************************************************-*/
/*+Local Macro definitions***************************************************/
/* */
/* */
/**************************************************************************-*/
/*+Local function prototypes*************************************************/
/* */
/* Name Type Abstract */
/* ---- ---- -------- */
/* */
/**************************************************************************-*/
/*+Local data declarations***************************************************/
/* */
/* Name Description */
/* ---- ----------- */
/**************************************************************************-*/
/*-------------------------- Local context - END ---------------------------*/
#else
#define VISIBLE extern /* Mark as GLOBAL context */
#endif
/*------------------------- Global context - START -------------------------*/
/*+Public data declarations**************************************************/
/* */
/* Name Description */
/* ---- ----------- */
/**************************************************************************-*/
/*+Public function prototypes************************************************/
/* */
/* Name Type Abstract */
/* ---- ---- -------- */
/* */
/**************************************************************************-*/
VISIBLE APD_VOID apd_WDTInit(APD_VOID);
VISIBLE APD_VOID apd_WDTEnable(APD_VOID);
VISIBLE APD_VOID apd_WDTDisable(APD_VOID);
VISIBLE APD_VOID apd_WDTFreeze(APD_VOID);
VISIBLE APD_VOID apd_WDTReset(APD_VOID);
/*******************************************************************************/
/*-------------------------- Global context - END --------------------------*/
#undef VISIBLE
#endif
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -