⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 wdt.h

📁 嵌入式系统
💻 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 + -