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

📄 adc.h

📁 无刷直流电机的无传感器控制TI程序
💻 H
字号:
/* =====================================================================================================================
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.0                                                  
---------------------------------------------------------------------------------- */
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -