2015-09-05 18:03:42 -07:00
|
|
|
/**
|
|
|
|
* @file dodge_stratus.cpp
|
|
|
|
*
|
2017-01-06 07:04:41 -08:00
|
|
|
* set engine_type 33
|
2015-09-05 18:03:42 -07:00
|
|
|
*
|
|
|
|
* @date Sep 5, 2015
|
2018-01-20 17:42:19 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2018
|
2015-09-05 18:03:42 -07:00
|
|
|
*/
|
|
|
|
|
2018-09-16 19:25:17 -07:00
|
|
|
#include "global.h"
|
2015-09-05 18:03:42 -07:00
|
|
|
#include "dodge_stratus.h"
|
2016-01-08 12:01:38 -08:00
|
|
|
#include "engine_math.h"
|
2015-09-05 18:03:42 -07:00
|
|
|
|
|
|
|
EXTERN_ENGINE
|
|
|
|
;
|
|
|
|
|
2017-05-15 20:28:49 -07:00
|
|
|
void setDodgeStratus(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
2015-09-05 20:02:46 -07:00
|
|
|
engineConfiguration->trigger.type = TT_DODGE_STRATUS;
|
|
|
|
engineConfiguration->specs.cylindersCount = 6;
|
2016-07-20 16:04:27 -07:00
|
|
|
engineConfiguration->specs.firingOrder = FO_1_2_3_4_5_6;
|
2015-09-05 20:02:46 -07:00
|
|
|
|
2015-09-06 09:02:27 -07:00
|
|
|
engineConfiguration->map.sensor.type = MT_DODGE_NEON_2003;
|
2019-01-10 16:25:07 -08:00
|
|
|
setAlgorithm(LM_SPEED_DENSITY PASS_CONFIG_PARAMETER_SUFFIX);
|
2015-09-05 20:02:46 -07:00
|
|
|
engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS;
|
|
|
|
|
2019-01-09 21:56:08 -08:00
|
|
|
boardConfiguration->ignitionPins[0] = GPIOC_9;
|
|
|
|
boardConfiguration->ignitionPins[1] = GPIO_UNASSIGNED;
|
|
|
|
boardConfiguration->ignitionPins[2] = GPIOE_8;
|
|
|
|
boardConfiguration->ignitionPins[3] = GPIO_UNASSIGNED;
|
|
|
|
boardConfiguration->ignitionPins[4] = GPIO_UNASSIGNED;
|
|
|
|
boardConfiguration->ignitionPins[5] = GPIO_UNASSIGNED;
|
2015-09-05 18:03:42 -07:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|