ReduxLib C++ 2025.0.0-beta2
Loading...
Searching...
No Matches
redux::sensors::canandgyro::CanandgyroStatus Struct Reference

#include <CanandgyroStatus.h>

Public Member Functions

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

Public Attributes

CanandgyroFaults activeFaults
 
CanandgyroFaults stickyFaults
 
units::celsius_t temperature
 

Detailed Description

Struct class representing a Canandgyro's status.

Constructor & Destructor Documentation

◆ CanandgyroStatus()

constexpr redux::sensors::canandgyro::CanandgyroStatus::CanandgyroStatus ( uint8_t  activeFaultsRaw,
uint8_t  stickyFaultsRaw,
bool  faultsValid,
units::celsius_t  temp 
)
inlineconstexpr

Constructor for CanandgyroStatus

Parameters
activeFaultsRawraw uint8_t field
stickyFaultsRawraw uint8_t field
faultsValidwhether the faults fields have valid data
tempMCU temp

Member Data Documentation

◆ activeFaults

CanandgyroFaults redux::sensors::canandgyro::CanandgyroStatus::activeFaults

Active faults.

◆ stickyFaults

CanandgyroFaults redux::sensors::canandgyro::CanandgyroStatus::stickyFaults

Sticky faults.

◆ temperature

units::celsius_t redux::sensors::canandgyro::CanandgyroStatus::temperature

Device MCU temperature (celsius).


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