![]() |
Speeduino
|
#include "auxiliaries.h"#include "globals.h"#include "elapsed_time.h"#include "maths.h"#include "src/PID/integerPID.h"#include "src/PID/integerPID_ideal.h"#include "decoders.h"#include "timers.h"#include "preprocessor.h"#include "units.h"#include "atomic.h"#include "src/pins/fastInputPin.h"#include "src/pins/boardOutputPin.h"#include "scheduler_fuel_controller.h"Functions | |
| static bool | isWmiTankEmpty (void) |
| static void | initialiseVvtPins (uint8_t pin1, uint8_t pin2) |
| static void | setVvtPidTunings (integerPID &pid, const config10 &page10, bool isReverse) |
| static void | initialiseVvtPid (integerPID &pid, const config10 &page10, bool isReverse, int16_t currentAngle) |
| void | initialiseAuxPWM (void) |
| void | vvt1On (void) |
| void | vvt1Off (void) |
| void | vvt2On (void) |
| void | vvt2Off (void) |
| void | vvtControl (void) |
| void | wmiControl (void) |
| void | vvtInterrupt (void) |
Variables | |
| TESTABLE_STATIC long | vvt1_pwm_value |
| TESTABLE_STATIC long | vvt2_pwm_value |
| TESTABLE_STATIC volatile unsigned int | vvt1_pwm_cur_value |
| TESTABLE_STATIC volatile unsigned int | vvt2_pwm_cur_value |
| TESTABLE_STATIC volatile bool | vvt1_pwm_state |
| TESTABLE_STATIC volatile bool | vvt2_pwm_state |
| TESTABLE_STATIC volatile bool | vvt1_max_pwm |
| TESTABLE_STATIC volatile bool | vvt2_max_pwm |
| TESTABLE_STATIC volatile char | nextVVT |
| TESTABLE_STATIC byte | vvtCounter |
| static uint32_t | vvtWarmTime |
| TESTABLE_STATIC bool | vvtIsHot |
| TESTABLE_STATIC bool | vvtTimeHold |
| TESTABLE_STATIC uint16_t | vvt_pwm_max_count |
| static integerPID | vvtPID |
| static integerPID | vvt2PID |
| TESTABLE_STATIC boardOutputPin_t | vvt1_pin |
| TESTABLE_STATIC boardOutputPin_t | vvt2_pin |
| void initialiseAuxPWM | ( | void | ) |
|
static |
|
static |
|
static |
|
static |
| void vvt1Off | ( | void | ) |
| void vvt1On | ( | void | ) |
| void vvt2Off | ( | void | ) |
| void vvt2On | ( | void | ) |
| void vvtControl | ( | void | ) |
| void vvtInterrupt | ( | void | ) |
| void wmiControl | ( | void | ) |
| TESTABLE_STATIC volatile char nextVVT |
| TESTABLE_STATIC volatile bool vvt1_max_pwm |
| TESTABLE_STATIC boardOutputPin_t vvt1_pin |
| TESTABLE_STATIC volatile unsigned int vvt1_pwm_cur_value |
| TESTABLE_STATIC volatile bool vvt1_pwm_state |
| TESTABLE_STATIC long vvt1_pwm_value |
| TESTABLE_STATIC volatile bool vvt2_max_pwm |
| TESTABLE_STATIC boardOutputPin_t vvt2_pin |
| TESTABLE_STATIC volatile unsigned int vvt2_pwm_cur_value |
| TESTABLE_STATIC volatile bool vvt2_pwm_state |
| TESTABLE_STATIC long vvt2_pwm_value |
|
static |
| TESTABLE_STATIC uint16_t vvt_pwm_max_count |
| TESTABLE_STATIC byte vvtCounter |
| TESTABLE_STATIC bool vvtIsHot |
|
static |
| TESTABLE_STATIC bool vvtTimeHold |
|
static |