Red Bird Racing VCU v2
 
Loading...
Searching...
No Matches
TelemetryFramePedal::StateByteFaults::Bits Struct Reference

Bitfield representation of the fault bits. More...

#include <CarState.hpp>

Collaboration diagram for TelemetryFramePedal::StateByteFaults::Bits:

Public Attributes

bool fault_active: 1
 
bool fault_exceeded: 1
 
bool apps_5v_low: 1
 
bool apps_5v_high: 1
 
bool apps_3v3_low: 1
 
bool apps_3v3_high: 1
 
bool brake_low: 1
 
bool brake_high: 1
 

Detailed Description

Bitfield representation of the fault bits.

Definition at line 54 of file CarState.hpp.

Member Data Documentation

◆ apps_3v3_high

bool TelemetryFramePedal::StateByteFaults::Bits::apps_3v3_high

APPS 3V3 considered shorted to rail

Definition at line 61 of file CarState.hpp.

Referenced by Pedal::update().

◆ apps_3v3_low

bool TelemetryFramePedal::StateByteFaults::Bits::apps_3v3_low

APPS 3V3 considered shorted to ground

Definition at line 60 of file CarState.hpp.

Referenced by Pedal::update().

◆ apps_5v_high

bool TelemetryFramePedal::StateByteFaults::Bits::apps_5v_high

APPS 5V considered shorted to rail

Definition at line 59 of file CarState.hpp.

Referenced by Pedal::update().

◆ apps_5v_low

bool TelemetryFramePedal::StateByteFaults::Bits::apps_5v_low

APPS 5V considered shorted to ground

Definition at line 58 of file CarState.hpp.

Referenced by Pedal::update().

◆ brake_high

bool TelemetryFramePedal::StateByteFaults::Bits::brake_high

Brake considered shorted to rail

Definition at line 63 of file CarState.hpp.

Referenced by Pedal::update().

◆ brake_low

bool TelemetryFramePedal::StateByteFaults::Bits::brake_low

Brake considered shorted to ground

Definition at line 62 of file CarState.hpp.

Referenced by Pedal::update().

◆ fault_active

bool TelemetryFramePedal::StateByteFaults::Bits::fault_active

Pedal faulty now, only one resetable

Definition at line 56 of file CarState.hpp.

Referenced by Pedal::update().

◆ fault_exceeded

bool TelemetryFramePedal::StateByteFaults::Bits::fault_exceeded

Current pedal fault exceeded allowed time

Definition at line 57 of file CarState.hpp.

Referenced by Pedal::update().


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