k60-keil

来自「K60-Keil版本(下载安装MDK4.23)」· 代码 · 共 27 行

TXT
27
字号
/*-----------------------------------------------------------------------------
 * Name:    ADC.h
 * Purpose: ADC definitions
 *-----------------------------------------------------------------------------
 * This file is part of the uVision/ARM development tools.
 * This software may only be used under the terms of a valid, current,
 * end user licence from KEIL for a compatible version of KEIL software
 * development tools. Nothing else gives you the right to use this software.
 *
 * This software is supplied "AS IS" without warranties of any kind.
 *
 * Copyright (c) 2004-2011 Keil - An ARM Company. All rights reserved.
 *----------------------------------------------------------------------------*/

#ifndef __ADC_H
#define __ADC_H

void ADC_Calib(ADC_Type *ADChannel);
void ADC_Init(ADC_Type *ADChannel,uint8_t Accuracy);		
uint16_t  ADC_GetVal(ADC_Type *ADChannel,uint8_t Channel);
void ADC_Close(ADC_Type *ADChannel);
void ADC_DMA_Init(ADC_Type *ADChannel,uint8_t DMAChannel);

#endif /* __ADC_H */


⌨️ 快捷键说明

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