Speeduino
Loading...
Searching...
No Matches
resetControl.h
Go to the documentation of this file.
1#pragma once
2
3#include "statuses.h"
4
9
11
13
static TIntegral readSerialIntegralTimeout(void)
Reads an integral type, timing out if necessary.
Definition comms.cpp:175
constexpr uint8_t RESET_CONTROL_SERIAL_COMMAND
Definition resetControl.h:8
uint8_t getResetControl(void)
Definition resetControl.cpp:7
void initialiseResetControl(statuses &current, uint8_t resetControlMode, uint8_t resetPin)
Definition resetControl.cpp:12
void matchResetControlToEngineState(statuses &current)
Definition resetControl.cpp:48
constexpr uint8_t RESET_CONTROL_PREVENT_WHEN_RUNNING
Definition resetControl.h:6
constexpr uint8_t RESET_CONTROL_PREVENT_ALWAYS
Definition resetControl.h:7
constexpr uint8_t RESET_CONTROL_DISABLED
Definition resetControl.h:5
The statuses struct and related defines.
The status struct with current values for all 'live' variables.
Definition statuses.h:36