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

📄 adc_hr.h

📁 ST7 MCU Analoy to Digital control setting for learning
💻 H
字号:
/*
*******************************************************************************
COPYRIGHT 2003 STMicroelectronics
Source File Name : adc_hr.h
Group            : IPSW,CMG-IPDF.
Author           : MCD Application Team
Date First Issued: 6/3/2002
********************************Documentation**********************************
General Purpose - Definition of constants used in place of magic numbers in 
				  adc.c.
********************************RevisionHistory********************************
_______________________________________________________________________________
Date :06/03/2002 	    Release:1.0 
Date :22/09/2003 	    Release:2.0       
                        1.Removed the mapping of hardware registers.
                        2.Defined constant for the magic numbers used in adc.c.
                        3.Included comments.
******************************************************************************/
#ifndef ADC_HR_H
#define ADC_HR_H    				          /* to avoid multiple inclusion */

                   /* Constant definition of the magic numbers used in adc.c */
                   
#define ADC_SPEED_SET         0x40
#define ADC_ON                0x20
#define ADC_OFF               0xDF
#define ADC_EOC               0x80
#define ADC_SEL_CHNL1         0xF0
#define ADC_SEL_CHNL2         0xF8

#endif /*ADC_HR_H */             	
/*** (c) 2003  STMicroelectronics ****************** END OF FILE *************/

⌨️ 快捷键说明

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