adc.h

来自「nRF24E1多发单收」· C头文件 代码 · 共 33 行

H
33
字号
// adc.h/*********************************************************************** * *    Author: Greg Hunter *    Company: UTS *    Filenames:      adc.h, adc.c *    Date:           2007/9/6 *    File Version:   0.01 *    Other Files Required:  *    Tools Used: Micro-IDE        -> 2.16m *                SDCC C Compiler  -> 2.5 * *    Devices Supported: *                nRF24E1 * *********************************************************************** * * Description: *  Routines to configure and run the analog to digital converters * **********************************************************************/#ifndef Adc_h#define Adc_h// C API for adc.cvoid AdcInit(void);  // Initialising routine. 10 bit mode.unsigned int AdcRead(unsigned char channel);   //return adc reading at channel "channel"#endif

⌨️ 快捷键说明

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