2015-09-05 18:03:42 -07:00
|
|
|
/**
|
|
|
|
* @file dodge_stratus.cpp
|
|
|
|
*
|
|
|
|
* set_engine_type 33
|
|
|
|
*
|
|
|
|
* @date Sep 5, 2015
|
2015-12-31 13:02:30 -08:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2016
|
2015-09-05 18:03:42 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#include "main.h"
|
|
|
|
#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
|
|
|
|
;
|
|
|
|
|
|
|
|
void setDodgeStratus(DECLARE_ENGINE_PARAMETER_F) {
|
2015-09-05 20:02:46 -07:00
|
|
|
engineConfiguration->trigger.type = TT_DODGE_STRATUS;
|
|
|
|
engineConfiguration->specs.cylindersCount = 6;
|
|
|
|
engineConfiguration->specs.firingOrder = FO_1_THEN_2_THEN_3_THEN_4_THEN_5_THEN_6;
|
|
|
|
|
2015-09-06 09:02:27 -07:00
|
|
|
engineConfiguration->map.sensor.type = MT_DODGE_NEON_2003;
|
2016-01-08 12:01:38 -08:00
|
|
|
setAlgorithm(LM_SPEED_DENSITY PASS_ENGINE_PARAMETER);
|
2015-09-05 20:02:46 -07:00
|
|
|
engineConfiguration->ignitionMode = IM_INDIVIDUAL_COILS;
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|