#include <CanandmagStatus.h>
Struct class representing a Canandmag's status.
◆ CanandmagStatus()
| constexpr redux::sensors::canandmag::CanandmagStatus::CanandmagStatus |
( |
uint8_t |
activeFaultsRaw, |
|
|
uint8_t |
stickyFaultsRaw, |
|
|
bool |
faultsValid, |
|
|
units::celsius_t |
temp, |
|
|
bool |
magnetInRange |
|
) |
| |
|
inlineconstexpr |
Constructor for CanandmagStatus
- Parameters
-
| activeFaultsRaw | raw uint8_t field |
| stickyFaultsRaw | raw uint8_t field |
| faultsValid | whether the faults fields have valid adata |
| temp | MCU temp |
| magnetInRange | whether the encoder magnet is in range |
◆ activeFaults
◆ magnetInRange
| bool redux::sensors::canandmag::CanandmagStatus::magnetInRange |
Whether the magnet is in range.
◆ stickyFaults
◆ temperature
| units::celsius_t redux::sensors::canandmag::CanandmagStatus::temperature |
Encoder MCU temperature (celsius).
The documentation for this struct was generated from the following file: