adc.h
来自「TI公司24X系列DSP控制无刷直流电机」· C头文件 代码 · 共 51 行
H
51 行
/* =====================================================================================================================
File name: ADC.H
Originator: Digital Control Systems Group
Texas Instruments
Description:
Front end header file for the ADC 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.00
---------------------------------------------------------------------------------- */
#ifndef __ADCVALS_H__
#define __ADCVALS_H__
#include <TARGET.H>
#if (TARGET==F243)
/*#include <F243_ADC.H> */
#include <F243_ADC.H>
#endif /* TARGET == F243 */
#if (TARGET==F2407)
/* #include <F2407_ADC.H>*/
#include <F2407ADC.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 ADCVALS.H: Unsupported Target !
#endif
#endif /* TARGET */
#endif /* __ADCVALS_H_ */
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?