control.h
来自「read adc pic16fxx using c」· C头文件 代码 · 共 19 行
H
19 行
/*
* Header file for the ADC unit
*/
extern void InitialiseADC (unsigned char ADC_Channel);
/*---------------------------------------------------------------
Initialising the ADC channels
---------------------------------------------------------------*/
extern unsigned int ReadADC(unsigned char ADC_Channel);
/*---------------------------------------------------------------
Reads the ADC level input on a specified ADC channel.
Takes in an 10-bit ADC channel number.
Returns an 10 bit number that signifies this level.
Approximate sampling time = 76.8us
---------------------------------------------------------------*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?