Speeduino
|
#include "sensors.h"
#include "crankMaths.h"
#include "globals.h"
#include "maths.h"
#include "storage.h"
#include "comms.h"
#include "idle.h"
#include "errors.h"
#include "corrections.h"
#include "pages.h"
#include "decoders.h"
#include "auxiliaries.h"
#include "utilities.h"
#include <BOARD_H>
Functions | |
static void | validateMAP (void) |
void | initialiseADC (void) |
void | instanteneousMAPReading (void) |
void | readMAP (void) |
void | readTPS (bool useFilter) |
void | readCLT (bool useFilter) |
void | readIAT (void) |
void | readBaro (void) |
void | readO2 (void) |
void | readO2_2 (void) |
void | readBat (void) |
uint32_t | vssGetPulseGap (byte historyIndex) |
Returns the VSS pulse gap for a given history point. | |
uint16_t | getSpeed (void) |
byte | getGear (void) |
byte | getFuelPressure (void) |
byte | getOilPressure (void) |
uint8_t | getAnalogKnock (void) |
void | flexPulse (void) |
void | knockPulse (void) |
void | vssPulse (void) |
The ISR function for VSS pulses. | |
uint16_t | readAuxanalog (uint8_t analogPin) |
uint16_t | readAuxdigital (uint8_t digitalPin) |
Read sensors with appropriate timing / scheduling.
Init all ADC conversions by setting resolutions, etc.
Returns the VSS pulse gap for a given history point.
historyIndex | The gap number that is wanted. EG: historyIndex = 0 = Latest entry historyIndex = 1 = 2nd entry entry |
The ISR function for VSS pulses.
bool auxIsEnabled |
uint32_t MAPcurRev |
byte mapErrorCount = 0 |
uint16_t MAPlast |
The previous MAP reading
volatile unsigned long vssTimes[VSS_SAMPLES] = {0} |