FreeEMS  0.2.0-SNAPSHOT-285-g028e24c
Macros | Variables
NipponDenso-24and1and1.c File Reference

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"
Include dependency graph for NipponDenso-24and1and1.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}

Detailed Description

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:

Note
Pseudo code that does not compile with zero warnings and errors MUST be commented out.

Definition in file NipponDenso-24and1and1.c.

Macro Definition Documentation

#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.

Variable Documentation

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.