watchdog.h
来自「无刷直流电机的无传感器控制TI程序」· C头文件 代码 · 共 44 行
H
44 行
/* ==================================================================================
File name: WATCHDOG.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Front end header file for the Watchdog driver interface(s).
This header file includes the correct header file for the
target defined by the Main source file.
The main source file defines the target device by means of the
#define TARGET XXXX Statement.
Choices currently accepted are F24X and F24XX.
Depending on this choice the correct header file is included in by this
file.
=====================================================================================
History:
-------------------------------------------------------------------------------------
9-15-2000 Release Rev 1.0
---------------------------------------------------------------------------------- */
#ifndef __WATCHDOG_H__
#define __WATCHDOG_H__
#include <TARGET.H>
#if ((TARGET==F240)|(TARGET==F243)|(TARGET==F2407))
#include <F24X_WD.H>
#endif /* TARGET == F24X/F240X*/
#ifdef TARGET
#if ((TARGET!=F240)&(TARGET!=F243)&(TARGET!=F2407))
#error WATCHDOG.H: Unsupported Target !
#endif
#endif
#ifndef TARGET
#error Critical: A target must be defined !!
#endif /* TARGET */
#endif /* __PWMGEN_H__ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?