some cheap used junkyard Accelerometer #2225

MM5.10
This commit is contained in:
rusefillc 2021-10-05 16:10:29 -04:00
parent 9fad6778f5
commit 8682f4dfe7
3 changed files with 9 additions and 5 deletions

View File

@ -1,6 +1,6 @@
#include "global.h"
#include "rusefi_enums.h"
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Oct 05 19:41:47 UTC 2021
// was generated automatically by rusEFI tool from rusefi_enums.h // by enum2string.jar tool on Tue Oct 05 16:10:02 EDT 2021
// see also gen_config_and_enums.bat
@ -692,10 +692,10 @@ case IM_WASTED_SPARK:
}
const char *getImu_type_e(imu_type_e value){
switch(value) {
case IMU_MM5_10:
return "IMU_MM5_10";
case IMU_NONE:
return "IMU_NONE";
case IMU_TYPE_2:
return "IMU_TYPE_2";
case IMU_TYPE_3:
return "IMU_TYPE_3";
case IMU_TYPE_4:

View File

@ -758,7 +758,11 @@ typedef enum {
typedef enum __attribute__ ((__packed__)) {
IMU_NONE = 0,
IMU_VAG = 1,
IMU_TYPE_2 = 2,
/**
* f037000002
* https://github.com/rusefi/rusefi_documentation/blob/master/OEM-Docs/Bosch/Data%20Sheet_68903691_Acceleration_Sensor_MM5.10.pdf
*/
IMU_MM5_10 = 2,
IMU_TYPE_3 = 3,
IMU_TYPE_4 = 4,
} imu_type_e;

View File

@ -927,7 +927,7 @@ output_pin_e acFanPin;+Optional Radiator Fan used with A/C
pin_output_mode_e[FSIO_COMMAND_COUNT iterate] gpioPinModes;
uint8_t[DWELL_CURVE_SIZE] dwellVoltageCorrVoltBins;;"volts", 0.1, 0, 0, 20, 1
custom imu_type_e 1 bits, U08, @OFFSET@, [0:4], "None", "VAG", "type 2", "type 2", "type 2"
custom imu_type_e 1 bits, U08, @OFFSET@, [0:4], "None", "VAG", "MM5.10", "type 2", "type 2"
imu_type_e imuType
uint8_t[1] unusedpinModesWhereHere;;"", 1, 0, 0, 255, 0