FreeEMS
0.2.0-SNAPSHOT-282-g9efc524
|
Reads Nippon Denso 24/2 sensors. More...
#include "../inc/freeEMS.h"
#include "../inc/interrupts.h"
#include "../inc/decoderInterface.h"
#include "../inc/utils.h"
#include "../inc/defaultPrimaryRPMISR.c"
#include "../inc/defaultSecondaryRPMISR.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 24 |
#define | NUMBER_OF_VIRTUAL_EVENTS 24 |
Variables | |
const unsigned short | eventAngles [] = {0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510, 540, 570, 600, 630, 660, 690} |
Reads Nippon Denso 24/2 sensors.
This file contains the two interrupt service routines for handling engine position and RPM signals from mainly Toyota engines using this sensor style.
One ISR handles the 24 evenly spaced teeth and the other handles the two adjacent teeth. This signal style provides enough information for wasted spark ignition and semi sequential fuel injection.
Supported engines include:
Definition in file NipponDenso-24and1and1.c.
#define DECODER_IMPLEMENTATION_C |
Definition at line 52 of file NipponDenso-24and1and1.c.
#define DECODER_MAX_CODE_TIME 150 |
Definition at line 53 of file NipponDenso-24and1and1.c.
#define NUMBER_OF_REAL_EVENTS 24 |
Definition at line 54 of file NipponDenso-24and1and1.c.
#define NUMBER_OF_VIRTUAL_EVENTS 24 |
Definition at line 55 of file NipponDenso-24and1and1.c.
const unsigned short eventAngles[] = {0, 30, 60, 90, 120, 150, 180, 210, 240, 270, 300, 330, 360, 390, 420, 450, 480, 510, 540, 570, 600, 630, 660, 690} |
Definition at line 63 of file NipponDenso-24and1and1.c.