mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 05:06:39 +01:00
17 lines
234 B
C
17 lines
234 B
C
#ifndef _ADC_H_
|
|
#define _ADC_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
extern uint16_t __xdata mAdcSlope;
|
|
extern uint16_t __xdata mAdcIntercept;
|
|
|
|
|
|
uint16_t adcSampleBattery(void); //in mV
|
|
int8_t adcSampleTemperature(void); //in degrees C
|
|
|
|
|
|
|
|
|
|
#endif
|