FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Macros
HallOrOptical-Distributor-4of64.c File Reference

Echos the input on the first ignition output. More...

#include "../inc/freeEMS.h"
#include "../inc/interrupts.h"
#include "../inc/decoderInterface.h"
#include "../inc/utils.h"
#include "code/HallOrOptical-Distributor-XofY.c"
Include dependency graph for HallOrOptical-Distributor-4of64.c:

Go to the source code of this file.

Macros

#define DECODER_IMPLEMENTATION_C
#define DECODER_MAX_CODE_TIME   150
#define NUMBER_OF_REAL_EVENTS   2
#define NUMBER_OF_VIRTUAL_EVENTS   8
#define E1   (64 * ANGLE_FACTOR)

Detailed Description

Echos the input on the first ignition output.

This decoder is for unlocked distributor cars such as the MIGHTY Hyundai that I've been living in for 6 months. The mechanical distributor continues to set the timing, the ECU just logs RPM and MAP and any other senors and/or solenoids you hook up and configure.

No plugs cranking LA test results:

17302 17346 17451 17498 17600 17646 17751 17795 17900

0 44 149 196 298 344 449 493 598

0 52.98 179.4 235.99 358.8 414.18 540.6 593.58 720

52.98 126.42 56.59 122.81 55.38 126.42 52.98 126.42

54.48 125.52

54,126

Approximately 1000 samples per second

Definition in file HallOrOptical-Distributor-4of64.c.

Macro Definition Documentation

#define DECODER_IMPLEMENTATION_C

Definition at line 91 of file HallOrOptical-Distributor-4of64.c.

#define DECODER_MAX_CODE_TIME   150

Definition at line 92 of file HallOrOptical-Distributor-4of64.c.

#define NUMBER_OF_REAL_EVENTS   2

Definition at line 93 of file HallOrOptical-Distributor-4of64.c.

#define NUMBER_OF_VIRTUAL_EVENTS   8

Definition at line 94 of file HallOrOptical-Distributor-4of64.c.

#define E1   (64 * ANGLE_FACTOR)

Definition at line 101 of file HallOrOptical-Distributor-4of64.c.