Speeduino
Loading...
Searching...
No Matches
Functions | Variables
timers.cpp File Reference
#include "timers.h"
#include "globals.h"
#include "sensors.h"
#include "scheduler.h"
#include "scheduledIO.h"
#include "speeduino.h"
#include "auxiliaries.h"
#include "comms.h"
#include "maths.h"

Functions

void initialiseTimers (void)
 
static void applyOverDwellCheck (IgnitionSchedule &schedule, uint32_t targetOverdwellTime)
 
void oneMSInterval (void)
 

Variables

volatile uint16_t lastRPM_100ms
 
volatile byte loop5ms
 
volatile byte loop20ms
 
volatile byte loop33ms
 
volatile byte loop66ms
 
volatile byte loop100ms
 
volatile byte loop250ms
 
volatile int loopSec
 
volatile unsigned int dwellLimit_uS
 
volatile uint8_t tachoEndTime
 
volatile TachoOutputStatus tachoOutputFlag
 
volatile uint16_t tachoSweepIncr
 
volatile uint16_t tachoSweepAccum
 
volatile uint8_t testInjectorPulseCount = 0
 
volatile uint8_t testIgnitionPulseCount = 0
 

Function Documentation

◆ applyOverDwellCheck()

static void applyOverDwellCheck ( IgnitionSchedule schedule,
uint32_t  targetOverdwellTime 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ initialiseTimers()

void initialiseTimers ( void  )
Here is the caller graph for this function:

◆ oneMSInterval()

void oneMSInterval ( void  )
Here is the call graph for this function:

Variable Documentation

◆ dwellLimit_uS

volatile unsigned int dwellLimit_uS

◆ lastRPM_100ms

volatile uint16_t lastRPM_100ms

◆ loop100ms

volatile byte loop100ms

◆ loop20ms

volatile byte loop20ms

◆ loop250ms

volatile byte loop250ms

◆ loop33ms

volatile byte loop33ms

◆ loop5ms

volatile byte loop5ms

◆ loop66ms

volatile byte loop66ms

◆ loopSec

volatile int loopSec

◆ tachoEndTime

volatile uint8_t tachoEndTime

◆ tachoOutputFlag

volatile TachoOutputStatus tachoOutputFlag

◆ tachoSweepAccum

volatile uint16_t tachoSweepAccum

◆ tachoSweepIncr

volatile uint16_t tachoSweepIncr

◆ testIgnitionPulseCount

volatile uint8_t testIgnitionPulseCount = 0

◆ testInjectorPulseCount

volatile uint8_t testInjectorPulseCount = 0