📄 readadc10.c
字号:
#if defined(__PIC24F__)
#include <p24Fxxxx.h>
#endif
#include "adc.h"
#if defined (_ADC_1012_V1) || defined (_ADC_1012_V2_GB)
/************************************************************************
Function Prototype : unsigned int ReadADC10(unsigned char bufIndex)
Include : adc.h
Description : This function reads the ADC Buffer register which contains
the conversion value.
Arguments : bufIndex - This is the ADC buffer number which is to be read.
Return Value : None
Remarks : This function returns the contents of the ADC Buffer register.
User should provide bufIndex value between
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -