FreeEMS
0.2.0-SNAPSHOT-285-g028e24c
|
Reads any signal that is once per cylinder and only has one good edge. 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 1 |
#define | NUMBER_OF_VIRTUAL_EVENTS 4 |
Functions | |
void | decoderInitPreliminary () |
void | perDecoderReset () |
Variables | |
const unsigned short | eventAngles [] = {0,180,360,540} |
const unsigned char | eventValidForCrankSync [] = {0,0,0,0} |
Reads any signal that is once per cylinder and only has one good edge.
This file contains the two interrupt service routines required for to build cleanly. However, only the first one is used due to the simple nature of it.
Definition in file VR-Distributor-X-Cylinders.c.
#define DECODER_IMPLEMENTATION_C |
Definition at line 39 of file VR-Distributor-X-Cylinders.c.
#define DECODER_MAX_CODE_TIME 150 |
Definition at line 40 of file VR-Distributor-X-Cylinders.c.
#define NUMBER_OF_REAL_EVENTS 1 |
Definition at line 41 of file VR-Distributor-X-Cylinders.c.
#define NUMBER_OF_VIRTUAL_EVENTS 4 |
Definition at line 42 of file VR-Distributor-X-Cylinders.c.
void decoderInitPreliminary | ( | void | ) |
Definition at line 49 of file VR-Distributor-X-Cylinders.c.
void perDecoderReset | ( | void | ) |
Definition at line 50 of file VR-Distributor-X-Cylinders.c.
const unsigned short eventAngles[] = {0,180,360,540} |
Definition at line 52 of file VR-Distributor-X-Cylinders.c.
const unsigned char eventValidForCrankSync[] = {0,0,0,0} |
Definition at line 53 of file VR-Distributor-X-Cylinders.c.