Speeduino
Loading...
Searching...
No Matches
speeduino.h
Go to the documentation of this file.
1
12#ifndef SPEEDUINO_H
13#define SPEEDUINO_H
14//#include "globals.h"
15
16#define CRANK_RUN_HYSTER 15
17
18void setup(void);
19void loop(void);
20uint16_t PW(int REQ_FUEL, byte VE, long MAP, uint16_t corrections, int injOpen);
21byte getVE1(void);
22byte getAdvance1(void);
27
28extern uint16_t req_fuel_uS;
46
47
48
49#endif
static uint32_t rshift(uint32_t a)
Bitwise right shift - generic, unoptimized, case.
Definition bit_shifts.h:349
uint16_t calculatePWLimit()
Definition speeduino.ino:1457
void loop(void)
Definition speeduino.ino:100
byte getAdvance1(void)
Definition speeduino.ino:1319
uint16_t staged_req_fuel_mult_pri
Definition speeduino.ino:60
byte getVE1(void)
Definition speeduino.ino:1290
uint16_t req_fuel_uS
Definition speeduino.ino:52
uint16_t inj_opentime_uS
Definition speeduino.ino:53
void calculateIgnitionAngles(uint16_t dwellAngle)
Definition speeduino.ino:1348
uint16_t PW(int REQ_FUEL, byte VE, long MAP, uint16_t corrections, int injOpen)
This function calculates the required pulsewidth time (in us) given the current system state.
Definition speeduino.ino:1217
void setup(void)
Definition speeduino.ino:63
uint16_t staged_req_fuel_mult_sec
Definition speeduino.ino:61
void checkLaunchAndFlatShift()
Definition speeduino.ino:1683
void calculateStaging(uint32_t)
Definition speeduino.ino:1487