rusefi/unit_tests/boards.h

20 lines
412 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/*
* @file boards.h
2015-07-10 06:01:56 -07:00
*
* @date Nov 15, 2013
* @author Andrey Belomutskiy, (c) 2012-2019
2015-07-10 06:01:56 -07:00
*/
#ifndef BOARDS_H_
#define BOARDS_H_
#include "engine_configuration.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
float getVoltageDivided(const char *msg, adc_channel_e channel DECLARE_ENGINE_PARAMETER_SUFFIX);
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_ */