rusefi-1/firmware/hw_layer/accelerometer.h

23 lines
432 B
C
Raw Normal View History

2016-05-19 19:03:18 -07:00
/*
* accelerometer.h
*
* @date May 19, 2016
* @author Andrey Belomutskiy, (c) 2012-2016
*/
#ifndef HW_LAYER_ACCELEROMETER_H_
#define HW_LAYER_ACCELEROMETER_H_
2016-05-23 17:02:39 -07:00
void initAccelerometer(DECLARE_ENGINE_PARAMETER_F);
/**
* Acceleration/braking
*/
float getLongitudinalAcceleration(DECLARE_ENGINE_PARAMETER_F);
/**
* Turns
*/
float getTransverseAcceleration(DECLARE_ENGINE_PARAMETER_F);
2016-05-19 19:03:18 -07:00
#endif /* HW_LAYER_ACCELEROMETER_H_ */