?? pwmgen.h
字號:
/* ==================================================================================
File name: PWMGEN.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Front end header file for the PWM Generation Units.
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 F243 F2407.
Depending on this choice the correct header file is included in by this
file.
=====================================================================================
History:
-------------------------------------------------------------------------------------
9-15-2000 Release Rev 1.0
---------------------------------------------------------------------------------- */
#ifndef __PWMGEN_H__
#define __PWMGEN_H__
#include <TARGET.H>
#if (TARGET==F243)
/*#include <F243_PWM.H> */
#include <F243_PWM.H>
#endif /* TARGET == F243 */
#if (TARGET==F2407)
/* #include <F2407PWM.H>*/
#include <F2407PWM.H>
#endif /* TARGET == F2407 */
#ifndef TARGET
#error Critical: A target must be defined !!
#endif /* TARGET */
#ifdef TARGET
#if ((TARGET!=F240)&(TARGET!=F243)&(TARGET!=F2407))
#error PWMGEN.H: Unsupported Target !
#endif
#endif
#endif /* __PWMGEN_H__ */
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -