?? adc_hr.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 + -