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

📄 adc_const.h

📁 TLV2544-2548多通道12位串行A-D转换器的原理与应用
💻 H
字号:
/*=============================================================================*/
/*All software and related documentation is provided "AS IS" and without 		 */
/*warranty or support of any kind and Texas Instruments expressly disclaims 	 */
/*all other warranties,express or implied, including, but not limited to, the  */
/*implied warranties of merchantability and fitness for a particular purpose.  */
/*Under no circumstances shall Texas Instruments be liable for any incidental, */
/*special or consequential damages that result from the use or inability to 	 */
/*use the software or related documentation, even if Texas Instruments has 	 */
/*been advised of the liability.															    */
/*																									    */
/*Unless otherwise stated, software written and copyrighted by Texas 			 */
/*Instruments is distributed as "freeware". You may use and modify this 		 */
/*software without any charge or restriction. You may distribute to others,	 */
/*as long as the original author is acknowledged.										 */
/*=============================================================================*/

/***********************************************************************/
/*																	    */
/*file name:	adc_const.h										   		*/
/*Description:  Contains various DSP and ADC parmeters  			    */
/*Inputs:       None													*/
/*Outputs:  	None	                                                */
/*Returns: 		None												    */
/*Note:         None													*/
/*AUTHOR        : AAP Application Group, L. Philipose, Dallas          */
/*                CREATED 2000(C) BY TEXAS INSTRUMENTS INCORPORATED.  */
/***********************************************************************/

/*DSP Parmeters*/
#define    DSP_FREQ         (100)  	  /* in MHz */
#define    CPU_100MHZ		(0x4007)    /*Set C5402 DSK to run at 100MHz*/
#define    SERCLOCK			(5)   	  /* Serial Clock Speed in MHz*/

/*ADC control words*/
#define    CFR_WORD			(0xA080)  /*Configuration Word: Choose SCLK and Sin*/
#define    CHNL_SEL			(0x3000)  /*Conversion Channel Select*/


#define NSAMPLES  				256	/*Total Number of Conversions triggered by DMA*/


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -