![]() |
Speeduino
|
#include "auxiliaries.h"#include "globals.h"#include "maths.h"#include "src/PID_v1/PID_v1.h"#include "decoders.h"#include "timers.h"#include "preprocessor.h"#include "units.h"#include "board_definition.h"#include "atomic.h"#include "src/pins/fastInputPin.h"#include "src/pins/fastOutputPin.h"| #define AIRCON_FAN_OFF | ( | ) | ATOMIC() { ((((configPage15.airConFanPol)==1)) ? AIRCON_FAN_PIN_HIGH() : AIRCON_FAN_PIN_LOW()); currentStatus.airconFanOn = false; } |
| #define AIRCON_FAN_ON | ( | ) | ATOMIC() { ((((configPage15.airConFanPol)==1)) ? AIRCON_FAN_PIN_LOW() : AIRCON_FAN_PIN_HIGH()); currentStatus.airconFanOn = true; } |
| #define AIRCON_FAN_PIN_HIGH | ( | ) | aircon_fan_pin.setPinHigh() |
| #define AIRCON_FAN_PIN_LOW | ( | ) | aircon_fan_pin.setPinLow() |
| #define AIRCON_OFF | ( | ) | ATOMIC() { ((((configPage15.airConCompPol)==1)) ? AIRCON_PIN_HIGH() : AIRCON_PIN_LOW()); currentStatus.airconCompressorOn = false; } |
| #define AIRCON_ON | ( | ) | ATOMIC() { ((((configPage15.airConCompPol)==1)) ? AIRCON_PIN_LOW() : AIRCON_PIN_HIGH()); currentStatus.airconCompressorOn = true; } |
| #define AIRCON_PIN_HIGH | ( | ) | aircon_comp_pin.setPinHigh() |
| #define AIRCON_PIN_LOW | ( | ) | aircon_comp_pin.setPinLow() |
| #define BOOST_PIN_HIGH | ( | ) | ATOMIC() { boost_pin.setPinHigh(); } |
| #define BOOST_PIN_LOW | ( | ) | ATOMIC() { boost_pin.setPinLow(); } |
| #define FAN_PIN_HIGH | ( | ) | fan_pin.setPinHigh() |
| #define FAN_PIN_LOW | ( | ) | fan_pin.setPinLow() |
| #define FUEL_PUMP_PIN_HIGH | ( | ) | pump_pin.setPinHigh() |
| #define FUEL_PUMP_PIN_LOW | ( | ) | pump_pin.setPinLow() |
| #define N2O_STAGE1_PIN_HIGH | ( | ) | ATOMIC() { n2o_stage1_pin.setPinHigh(); } |
| #define N2O_STAGE1_PIN_LOW | ( | ) | ATOMIC() { n2o_stage1_pin.setPinLow(); } |
| #define N2O_STAGE2_PIN_HIGH | ( | ) | ATOMIC() { n2o_stage2_pin.setPinHigh(); } |
| #define N2O_STAGE2_PIN_LOW | ( | ) | ATOMIC() { n2o_stage2_pin.setPinLow(); } |
| #define VVT1_PIN_HIGH | ( | ) | ATOMIC() { vvt1_pin.setPinHigh(); } |
| #define VVT1_PIN_LOW | ( | ) | ATOMIC() { vvt1_pin.setPinLow(); } |
| #define VVT2_PIN_HIGH | ( | ) | ATOMIC() { vvt2_pin.setPinHigh(); } |
| #define VVT2_PIN_LOW | ( | ) | ATOMIC() { vvt2_pin.setPinLow(); } |
| #define VVT_TIME_DELAY_MULTIPLIER 50 |
| #define WMI_TANK_IS_EMPTY | ( | ) | ((configPage10.wmiEmptyEnabled) ? ((configPage10.wmiEmptyPolarity) ? digitalRead(pinWMIEmpty) : !digitalRead(pinWMIEmpty)) : 1) |



































|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| uint16_t boost_pwm_max_count |
|
static |
|
static |
|
constexpr |
|
constexpr |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| uint16_t vvt_pwm_max_count |
|
static |
|
static |
|
static |
|
static |
|
static |