Speeduino
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
statuses.h File Reference

The statuses struct and related defines. More...

#include <stdint.h>
#include "bit_manip.h"
#include "atomic.h"
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  statuses
 The status struct with current values for all 'live' variables. More...
 

Typedefs

using byte = uint8_t
 

Functions

static bool HasAnySyncUnsafe (const statuses &status)
 Non-atomic version of HasAnySync. **Should only be called in an ATOMIC() block***.
 
static bool HasAnySync (const statuses &status)
 
static bool isEngineProtectActive (const statuses &status)
 
static void resetEngineProtect (statuses &status)
 

Detailed Description

The statuses struct and related defines.

Typedef Documentation

◆ byte

Function Documentation

◆ HasAnySync()

static bool HasAnySync ( const statuses status)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ HasAnySyncUnsafe()

static bool HasAnySyncUnsafe ( const statuses status)
inlinestatic

Non-atomic version of HasAnySync. **Should only be called in an ATOMIC() block***.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isEngineProtectActive()

static bool isEngineProtectActive ( const statuses status)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

◆ resetEngineProtect()

static void resetEngineProtect ( statuses status)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function: