rusefi-1/firmware/hw_layer/vehicle_speed.h

21 lines
466 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file vehicle_speed.h
*
*@date Dec 26, 2014
2020-01-13 18:57:43 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
2020-04-01 18:32:21 -07:00
#pragma once
2015-07-10 06:01:56 -07:00
2018-09-16 19:25:17 -07:00
#include "global.h"
2015-07-10 06:01:56 -07:00
2017-01-16 13:03:37 -08:00
/**
* @return vehicle speed, in kilometers per hour
*/
2021-08-01 09:09:53 -07:00
float getVehicleSpeed(DECLARE_ENGINE_PARAMETER_SIGNATURE);
void initVehicleSpeed();
2021-08-03 16:48:24 -07:00
void setMockVehicleSpeed(float speedKPH DECLARE_ENGINE_PARAMETER_SUFFIX);
2021-08-01 09:09:53 -07:00
bool hasVehicleSpeedSensor(DECLARE_ENGINE_PARAMETER_SIGNATURE);
2017-04-05 15:08:36 -07:00
void stopVSSPins(void);
void startVSSPins(void);