Speeduino
|
#include <BOARD_H>
#include <SimplyAtomic.h>
Go to the source code of this file.
Functions | |
void | initialiseAuxPWM (void) |
void | boostControl (void) |
void | boostDisable (void) |
void | boostByGear (void) |
void | vvtControl (void) |
void | initialiseFan (void) |
void | initialiseAirCon (void) |
void | nitrousControl (void) |
void | fanControl (void) |
void | airConControl (void) |
bool | READ_AIRCON_REQUEST (void) |
void | wmiControl (void) |
void | boostInterrupt (void) |
void | vvtInterrupt (void) |
#define AIRCON_FAN_OFF | ( | ) | ATOMIC() { ((((configPage15.airConFanPol)==1)) ? AIRCON_FAN_PIN_HIGH() : AIRCON_FAN_PIN_LOW()); BIT_CLEAR(currentStatus.airConStatus, BIT_AIRCON_FAN); } |
#define AIRCON_FAN_ON | ( | ) | ATOMIC() { ((((configPage15.airConFanPol)==1)) ? AIRCON_FAN_PIN_LOW() : AIRCON_FAN_PIN_HIGH()); BIT_SET(currentStatus.airConStatus, BIT_AIRCON_FAN); } |
#define AIRCON_FAN_PIN_HIGH | ( | ) | *aircon_fan_pin_port |= (aircon_fan_pin_mask) |
#define AIRCON_FAN_PIN_LOW | ( | ) | *aircon_fan_pin_port &= ~(aircon_fan_pin_mask) |
#define AIRCON_OFF | ( | ) | ATOMIC() { ((((configPage15.airConCompPol)==1)) ? AIRCON_PIN_HIGH() : AIRCON_PIN_LOW()); BIT_CLEAR(currentStatus.airConStatus, BIT_AIRCON_COMPRESSOR); } |
#define AIRCON_ON | ( | ) | ATOMIC() { ((((configPage15.airConCompPol)==1)) ? AIRCON_PIN_LOW() : AIRCON_PIN_HIGH()); BIT_SET(currentStatus.airConStatus, BIT_AIRCON_COMPRESSOR); } |
#define AIRCON_PIN_HIGH | ( | ) | *aircon_comp_pin_port |= (aircon_comp_pin_mask) |
#define AIRCON_PIN_LOW | ( | ) | *aircon_comp_pin_port &= ~(aircon_comp_pin_mask) |
#define BOOST_PIN_HIGH | ( | ) | ATOMIC() { *boost_pin_port |= (boost_pin_mask); } |
#define BOOST_PIN_LOW | ( | ) | ATOMIC() { *boost_pin_port &= ~(boost_pin_mask); } |
#define FAN_OFF | ( | ) | ATOMIC() { ((configPage6.fanInv) ? FAN_PIN_HIGH() : FAN_PIN_LOW()); } |
#define FAN_ON | ( | ) | ATOMIC() { ((configPage6.fanInv) ? FAN_PIN_LOW() : FAN_PIN_HIGH()); } |
#define FAN_PIN_HIGH | ( | ) | *fan_pin_port |= (fan_pin_mask) |
#define FAN_PIN_LOW | ( | ) | *fan_pin_port &= ~(fan_pin_mask) |
#define FUEL_PUMP_OFF | ( | ) | ATOMIC() { *pump_pin_port &= ~(pump_pin_mask); } |
#define FUEL_PUMP_ON | ( | ) | ATOMIC() { *pump_pin_port |= (pump_pin_mask); } |
#define N2O_STAGE1_PIN_HIGH | ( | ) | ATOMIC() { *n2o_stage1_pin_port |= (n2o_stage1_pin_mask); } |
#define N2O_STAGE1_PIN_LOW | ( | ) | ATOMIC() { *n2o_stage1_pin_port &= ~(n2o_stage1_pin_mask); } |
#define N2O_STAGE2_PIN_HIGH | ( | ) | ATOMIC() { *n2o_stage2_pin_port |= (n2o_stage2_pin_mask); } |
#define N2O_STAGE2_PIN_LOW | ( | ) | ATOMIC() { *n2o_stage2_pin_port &= ~(n2o_stage2_pin_mask); } |
#define READ_N2O_ARM_PIN | ( | ) | ((*n2o_arming_pin_port & n2o_arming_pin_mask) ? true : false) |
#define SIMPLE_BOOST_D 1 |
#define SIMPLE_BOOST_I 1 |
#define SIMPLE_BOOST_P 1 |
#define VVT1_PIN_HIGH | ( | ) | ATOMIC() { *vvt1_pin_port |= (vvt1_pin_mask); } |
#define VVT1_PIN_LOW | ( | ) | ATOMIC() { *vvt1_pin_port &= ~(vvt1_pin_mask); } |
#define VVT1_PIN_OFF | ( | ) | VVT1_PIN_LOW(); |
#define VVT1_PIN_ON | ( | ) | VVT1_PIN_HIGH(); |
#define VVT2_PIN_HIGH | ( | ) | ATOMIC() { *vvt2_pin_port |= (vvt2_pin_mask); } |
#define VVT2_PIN_LOW | ( | ) | ATOMIC() { *vvt2_pin_port &= ~(vvt2_pin_mask); } |
#define VVT2_PIN_OFF | ( | ) | VVT2_PIN_LOW(); |
#define VVT2_PIN_ON | ( | ) | VVT2_PIN_HIGH(); |
#define VVT_TIME_DELAY_MULTIPLIER 50 |
#define WMI_TANK_IS_EMPTY | ( | ) | ((configPage10.wmiEmptyEnabled) ? ((configPage10.wmiEmptyPolarity) ? digitalRead(pinWMIEmpty) : !digitalRead(pinWMIEmpty)) : 1) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |