Speeduino
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
statuses::engine_protect_flags_t Struct Reference

Engine protection status fields. More...

#include <statuses.h>

Public Member Functions

bool isActive (void) const
 Are any protections active.
 
void reset (void)
 Reset all protections to off.
 

Public Attributes

bool rpm: 1
 true if RPM limits have been breached, false otherwise
 
bool coolant: 1
 true if coolant limits have been breached, false otherwise
 
bool boostCut: 1
 true if the boost limit has been breached, false otherwise
 
bool oil: 1
 true if the oil limit has been breached, false otherwise
 
bool afr: 1
 true if the afr limit has been breached, false otherwise
 

Detailed Description

Engine protection status fields.

Member Function Documentation

◆ isActive()

bool statuses::engine_protect_flags_t::isActive ( void  ) const
inline

Are any protections active.

◆ reset()

void statuses::engine_protect_flags_t::reset ( void  )
inline

Reset all protections to off.

Member Data Documentation

◆ afr

bool statuses::engine_protect_flags_t::afr

true if the afr limit has been breached, false otherwise

◆ boostCut

bool statuses::engine_protect_flags_t::boostCut

true if the boost limit has been breached, false otherwise

◆ coolant

bool statuses::engine_protect_flags_t::coolant

true if coolant limits have been breached, false otherwise

◆ oil

bool statuses::engine_protect_flags_t::oil

true if the oil limit has been breached, false otherwise

◆ rpm

bool statuses::engine_protect_flags_t::rpm

true if RPM limits have been breached, false otherwise


The documentation for this struct was generated from the following file: