ReduxLib C++ 2024.1.1-beta0
Loading...
Searching...
No Matches
redux::sensors::canandcolor::CanandcolorStatus Class Reference

#include <CanandcolorData.h>

Public Member Functions

 CanandcolorStatus (uint8_t activeFaultsRaw, uint8_t stickyFaultsRaw, bool faultsValid, units::celsius_t temp)
 

Public Attributes

CanandcolorFaults activeFaults
 
CanandcolorFaults stickyFaults
 
units::celsius_t temperature
 

Detailed Description

Immutable data class representing a Canandcolor's status.

Constructor & Destructor Documentation

◆ CanandcolorStatus()

redux::sensors::canandcolor::CanandcolorStatus::CanandcolorStatus ( uint8_t  activeFaultsRaw,
uint8_t  stickyFaultsRaw,
bool  faultsValid,
units::celsius_t  temp 
)
inline

Constructor for CanandcolorStatus

Parameters
activeFaultsRawthe active faults of the device (raw uint8_t field)
stickyFaultsRawthe sticky faults of the device (raw uint8_t field)
faultsValidwhether the faults fields have valid data
tempthe temperature of the device's processor

Member Data Documentation

◆ activeFaults

CanandcolorFaults redux::sensors::canandcolor::CanandcolorStatus::activeFaults

Active faults

◆ stickyFaults

CanandcolorFaults redux::sensors::canandcolor::CanandcolorStatus::stickyFaults

Sticky faults

◆ temperature

units::celsius_t redux::sensors::canandcolor::CanandcolorStatus::temperature

Device temperature


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