📄 k60-keil
字号:
/*-----------------------------------------------------------------------------
* 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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -