rusefi-1/unit_tests/boards.h

20 lines
370 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/*
* boards.h
*
* Created on: Nov 15, 2013
* Author: Andrey Belomutskiy, (c) 2012-2015
*/
#ifndef BOARDS_H_
#define BOARDS_H_
2019-02-28 18:09:31 -08:00
#include "rusefi_enums.h"
2015-07-10 06:01:56 -07:00
2019-02-28 18:09:31 -08:00
#define ADC_CHANNEL_VREF 0
2015-07-10 06:01:56 -07:00
2019-02-28 18:09:31 -08:00
float getVoltageDivided(const char *msg, adc_channel_e);
2015-07-10 06:01:56 -07:00
float getVoltage(const char *msg, int channel);
int getAdcValue(const char *msg, int channel);
#endif /* BOARDS_H_ */