Bsongis/adc rtc temperature (#6537)
RTC voltage + CPU temperature + RTC voltage alarm (thanks @schwabe)
This commit is contained in:
@@ -274,6 +274,7 @@ extern "C" {
|
||||
#define NUM_SLIDERS 0
|
||||
#define STORAGE_NUM_SLIDERS 0
|
||||
#define NUM_XPOTS 0
|
||||
#define NUM_MOUSE_ANALOGS 0
|
||||
#define STORAGE_NUM_MOUSE_ANALOGS 0
|
||||
enum Analogs {
|
||||
STICK1,
|
||||
@@ -305,10 +306,11 @@ enum CalibratedAnalogs {
|
||||
#define IS_SLIDER(x) false
|
||||
#define STICKS_PWM_ENABLED() false
|
||||
void adcInit();
|
||||
void adcRead(void);
|
||||
void adcRead();
|
||||
uint16_t getAnalogValue(uint8_t index);
|
||||
void setSticksGain(uint8_t gains);
|
||||
#define NUM_MOUSE_ANALOGS 0
|
||||
#define enableVBatBridge() do { } while(0)
|
||||
#define disableVBatBridge()
|
||||
|
||||
// Battery driver
|
||||
uint16_t getBatteryVoltage(); // returns current battery voltage in 10mV steps
|
||||
|
||||
Reference in New Issue
Block a user