Speeduino
Loading...
Searching...
No Matches
Functions | Variables
resetControl.h File Reference
#include "statuses.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void initialiseResetControl (statuses &current, uint8_t resetControlMode, uint8_t resetPin)
 
uint8_t getResetControl (void)
 
void matchResetControlToEngineState (statuses &current)
 

Variables

constexpr uint8_t RESET_CONTROL_DISABLED = 0U
 
constexpr uint8_t RESET_CONTROL_PREVENT_WHEN_RUNNING = 1U
 
constexpr uint8_t RESET_CONTROL_PREVENT_ALWAYS = 2U
 
constexpr uint8_t RESET_CONTROL_SERIAL_COMMAND = 3U
 

Function Documentation

◆ getResetControl()

uint8_t getResetControl ( void  )
Here is the caller graph for this function:

◆ initialiseResetControl()

void initialiseResetControl ( statuses current,
uint8_t  resetControlMode,
uint8_t  resetPin 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ matchResetControlToEngineState()

void matchResetControlToEngineState ( statuses current)
Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ RESET_CONTROL_DISABLED

constexpr uint8_t RESET_CONTROL_DISABLED = 0U
constexpr

◆ RESET_CONTROL_PREVENT_ALWAYS

constexpr uint8_t RESET_CONTROL_PREVENT_ALWAYS = 2U
constexpr

◆ RESET_CONTROL_PREVENT_WHEN_RUNNING

constexpr uint8_t RESET_CONTROL_PREVENT_WHEN_RUNNING = 1U
constexpr

◆ RESET_CONTROL_SERIAL_COMMAND

constexpr uint8_t RESET_CONTROL_SERIAL_COMMAND = 3U
constexpr