Speeduino
|
#include <Arduino.h>
Go to the source code of this file.
Typedefs | |
typedef void(* | voidVoidCallback) (void) |
#define closeInjector1_DIRECT | ( | ) | { *inj1_pin_port &= ~(inj1_pin_mask); BIT_CLEAR(currentStatus.status1, BIT_STATUS1_INJ1); } |
#define closeInjector2_DIRECT | ( | ) | { *inj2_pin_port &= ~(inj2_pin_mask); BIT_CLEAR(currentStatus.status1, BIT_STATUS1_INJ2); } |
#define closeInjector3_DIRECT | ( | ) | { *inj3_pin_port &= ~(inj3_pin_mask); BIT_CLEAR(currentStatus.status1, BIT_STATUS1_INJ3); } |
#define closeInjector4_DIRECT | ( | ) | { *inj4_pin_port &= ~(inj4_pin_mask); BIT_CLEAR(currentStatus.status1, BIT_STATUS1_INJ4); } |
#define closeInjector5_DIRECT | ( | ) | { *inj5_pin_port &= ~(inj5_pin_mask); } |
#define closeInjector6_DIRECT | ( | ) | { *inj6_pin_port &= ~(inj6_pin_mask); } |
#define closeInjector7_DIRECT | ( | ) | { *inj7_pin_port &= ~(inj7_pin_mask); } |
#define closeInjector8_DIRECT | ( | ) | { *inj8_pin_port &= ~(inj8_pin_mask); } |
#define coil1Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil1Low_DIRECT() : coil1High_DIRECT()) |
#define coil1Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil1Low_MC33810(); } else { coil1High_MC33810(); } |
#define coil1High_DIRECT | ( | ) | (*ign1_pin_port |= (ign1_pin_mask)) |
#define coil1Low_DIRECT | ( | ) | (*ign1_pin_port &= ~(ign1_pin_mask)) |
#define coil1StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil1High_DIRECT() : coil1Low_DIRECT()) |
#define coil1StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil1High_MC33810(); } else { coil1Low_MC33810(); } |
#define coil1Toggle_DIRECT | ( | ) | (*ign1_pin_port ^= ign1_pin_mask ) |
#define coil2Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil2Low_DIRECT() : coil2High_DIRECT()) |
#define coil2Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil2Low_MC33810(); } else { coil2High_MC33810(); } |
#define coil2High_DIRECT | ( | ) | (*ign2_pin_port |= (ign2_pin_mask)) |
#define coil2Low_DIRECT | ( | ) | (*ign2_pin_port &= ~(ign2_pin_mask)) |
#define coil2StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil2High_DIRECT() : coil2Low_DIRECT()) |
#define coil2StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil2High_MC33810(); } else { coil2Low_MC33810(); } |
#define coil2Toggle_DIRECT | ( | ) | (*ign2_pin_port ^= ign2_pin_mask ) |
#define coil3Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil3Low_DIRECT() : coil3High_DIRECT()) |
#define coil3Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil3Low_MC33810(); } else { coil3High_MC33810(); } |
#define coil3High_DIRECT | ( | ) | (*ign3_pin_port |= (ign3_pin_mask)) |
#define coil3Low_DIRECT | ( | ) | (*ign3_pin_port &= ~(ign3_pin_mask)) |
#define coil3StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil3High_DIRECT() : coil3Low_DIRECT()) |
#define coil3StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil3High_MC33810(); } else { coil3Low_MC33810(); } |
#define coil3Toggle_DIRECT | ( | ) | (*ign3_pin_port ^= ign3_pin_mask ) |
#define coil4Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil4Low_DIRECT() : coil4High_DIRECT()) |
#define coil4Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil4Low_MC33810(); } else { coil4High_MC33810(); } |
#define coil4High_DIRECT | ( | ) | (*ign4_pin_port |= (ign4_pin_mask)) |
#define coil4Low_DIRECT | ( | ) | (*ign4_pin_port &= ~(ign4_pin_mask)) |
#define coil4StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil4High_DIRECT() : coil4Low_DIRECT()) |
#define coil4StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil4High_MC33810(); } else { coil4Low_MC33810(); } |
#define coil4Toggle_DIRECT | ( | ) | (*ign4_pin_port ^= ign4_pin_mask ) |
#define coil5Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil5Low_DIRECT() : coil5High_DIRECT()) |
#define coil5Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil5Low_MC33810(); } else { coil5High_MC33810(); } |
#define coil5High_DIRECT | ( | ) | (*ign5_pin_port |= (ign5_pin_mask)) |
#define coil5Low_DIRECT | ( | ) | (*ign5_pin_port &= ~(ign5_pin_mask)) |
#define coil5StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil5High_DIRECT() : coil5Low_DIRECT()) |
#define coil5StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil5High_MC33810(); } else { coil5Low_MC33810(); } |
#define coil5Toggle_DIRECT | ( | ) | (*ign5_pin_port ^= ign5_pin_mask ) |
#define coil6Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil6Low_DIRECT() : coil6High_DIRECT()) |
#define coil6Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil6Low_MC33810(); } else { coil6High_MC33810(); } |
#define coil6High_DIRECT | ( | ) | (*ign6_pin_port |= (ign6_pin_mask)) |
#define coil6Low_DIRECT | ( | ) | (*ign6_pin_port &= ~(ign6_pin_mask)) |
#define coil6StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil6High_DIRECT() : coil6Low_DIRECT()) |
#define coil6StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil6High_MC33810(); } else { coil6Low_MC33810(); } |
#define coil6Toggle_DIRECT | ( | ) | (*ign6_pin_port ^= ign6_pin_mask ) |
#define coil7Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil7Low_DIRECT() : coil7High_DIRECT()) |
#define coil7Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil7Low_MC33810(); } else { coil7High_MC33810(); } |
#define coil7High_DIRECT | ( | ) | (*ign7_pin_port |= (ign7_pin_mask)) |
#define coil7Low_DIRECT | ( | ) | (*ign7_pin_port &= ~(ign7_pin_mask)) |
#define coil7StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil7High_DIRECT() : coil7Low_DIRECT()) |
#define coil7StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil7High_MC33810(); } else { coil7Low_MC33810(); } |
#define coil7Toggle_DIRECT | ( | ) | (*ign7_pin_port ^= ign7_pin_mask ) |
#define coil8Charging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil8Low_DIRECT() : coil8High_DIRECT()) |
#define coil8Charging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil8Low_MC33810(); } else { coil8High_MC33810(); } |
#define coil8High_DIRECT | ( | ) | (*ign8_pin_port |= (ign8_pin_mask)) |
#define coil8Low_DIRECT | ( | ) | (*ign8_pin_port &= ~(ign8_pin_mask)) |
#define coil8StopCharging_DIRECT | ( | ) | (configPage4.IgInv == GOING_HIGH ? coil8High_DIRECT() : coil8Low_DIRECT()) |
#define coil8StopCharging_MC33810 | ( | ) | if(configPage4.IgInv == GOING_HIGH) { coil8High_MC33810(); } else { coil8Low_MC33810(); } |
#define coil8Toggle_DIRECT | ( | ) | (*ign8_pin_port ^= ign8_pin_mask ) |
#define injector1Toggle_DIRECT | ( | ) | (*inj1_pin_port ^= inj1_pin_mask ) |
#define injector2Toggle_DIRECT | ( | ) | (*inj2_pin_port ^= inj2_pin_mask ) |
#define injector3Toggle_DIRECT | ( | ) | (*inj3_pin_port ^= inj3_pin_mask ) |
#define injector4Toggle_DIRECT | ( | ) | (*inj4_pin_port ^= inj4_pin_mask ) |
#define injector5Toggle_DIRECT | ( | ) | (*inj5_pin_port ^= inj5_pin_mask ) |
#define injector6Toggle_DIRECT | ( | ) | (*inj6_pin_port ^= inj6_pin_mask ) |
#define injector7Toggle_DIRECT | ( | ) | (*inj7_pin_port ^= inj7_pin_mask ) |
#define injector8Toggle_DIRECT | ( | ) | (*inj8_pin_port ^= inj8_pin_mask ) |
#define openInjector1_DIRECT | ( | ) | { *inj1_pin_port |= (inj1_pin_mask); BIT_SET(currentStatus.status1, BIT_STATUS1_INJ1); } |
#define openInjector2_DIRECT | ( | ) | { *inj2_pin_port |= (inj2_pin_mask); BIT_SET(currentStatus.status1, BIT_STATUS1_INJ2); } |
#define openInjector3_DIRECT | ( | ) | { *inj3_pin_port |= (inj3_pin_mask); BIT_SET(currentStatus.status1, BIT_STATUS1_INJ3); } |
#define openInjector4_DIRECT | ( | ) | { *inj4_pin_port |= (inj4_pin_mask); BIT_SET(currentStatus.status1, BIT_STATUS1_INJ4); } |
#define openInjector5_DIRECT | ( | ) | { *inj5_pin_port |= (inj5_pin_mask); } |
#define openInjector6_DIRECT | ( | ) | { *inj6_pin_port |= (inj6_pin_mask); } |
#define openInjector7_DIRECT | ( | ) | { *inj7_pin_port |= (inj7_pin_mask); } |
#define openInjector8_DIRECT | ( | ) | { *inj8_pin_port |= (inj8_pin_mask); } |