FreeEMS  0.2.0-SNAPSHOT-282-g9efc524
Macros | Functions
injectionISRs.c File Reference

Injection ISR substitutions. More...

#include "inc/freeEMS.h"
#include "inc/interrupts.h"
#include "inc/decoderInterface.h"
#include "inc/injectorISR.c"
Include dependency graph for injectionISRs.c:

Go to the source code of this file.

Macros

#define INJECTIONISRS_C
#define INJECTOR_CHANNEL_NUMBER   0
#define InjectorXISR   Injector1ISR
#define INJECTOR_CHANNEL_NUMBER   1
#define InjectorXISR   Injector2ISR
#define INJECTOR_CHANNEL_NUMBER   2
#define InjectorXISR   Injector3ISR
#define INJECTOR_CHANNEL_NUMBER   3
#define InjectorXISR   Injector4ISR
#define INJECTOR_CHANNEL_NUMBER   4
#define InjectorXISR   Injector5ISR
#define INJECTOR_CHANNEL_NUMBER   5
#define InjectorXISR   Injector6ISR

Functions

void StagedOnISR (void)
void StagedOffISR (void)

Detailed Description

Injection ISR substitutions.

This file defines the pin specific names for each interrupt and all of it's pin specific variables then imports the actual code from inc/injectorISR.c for each pin such that each one is unique and references a separate set of values specific to it while only maintaining a single copy of the code.

See Also
injectorISR.c

Definition in file injectionISRs.c.

Macro Definition Documentation

#define INJECTIONISRS_C

Definition at line 42 of file injectionISRs.c.

#define INJECTOR_CHANNEL_NUMBER   0

Definition at line 102 of file injectionISRs.c.

Referenced by InjectorXISR().

#define InjectorXISR   Injector1ISR

Definition at line 103 of file injectionISRs.c.

#define INJECTOR_CHANNEL_NUMBER   1

Definition at line 102 of file injectionISRs.c.

#define InjectorXISR   Injector2ISR

Definition at line 103 of file injectionISRs.c.

#define INJECTOR_CHANNEL_NUMBER   2

Definition at line 102 of file injectionISRs.c.

#define InjectorXISR   Injector3ISR

Definition at line 103 of file injectionISRs.c.

#define INJECTOR_CHANNEL_NUMBER   3

Definition at line 102 of file injectionISRs.c.

#define InjectorXISR   Injector4ISR

Definition at line 103 of file injectionISRs.c.

#define INJECTOR_CHANNEL_NUMBER   4

Definition at line 102 of file injectionISRs.c.

#define InjectorXISR   Injector5ISR

Definition at line 103 of file injectionISRs.c.

#define INJECTOR_CHANNEL_NUMBER   5

Definition at line 102 of file injectionISRs.c.

#define InjectorXISR   Injector6ISR

Definition at line 103 of file injectionISRs.c.

Function Documentation

void StagedOnISR ( void  )
Todo:
TODO This will be handled by XGATE, somehow, in the mean time, move to UISR file along with others.

Definition at line 50 of file injectionISRs.c.

References PITINTE.

{
// clear the flag
PITINTE |= 0x04;
/// @todo TODO This will be handled by XGATE, somehow, in the mean time, move to UISR file along with others.
}
void StagedOffISR ( void  )
Todo:
TODO This will be handled by XGATE, somehow, in the mean time, move to UISR file along with others.

Definition at line 57 of file injectionISRs.c.

References PITINTE.

{
// clear the flag
PITINTE |= 0x08;
/// @todo TODO This will be handled by XGATE, somehow, in the mean time, move to UISR file along with others.
}