ERRFL, decoded. Reading ERRFL clears it on the chip.
More...
#include <as5047u_types.hpp>
|
|
bool | agc_warning {false} |
| | AGC at its minimum or maximum: magnet too far or too close.
|
| |
|
bool | mag_half {false} |
| | Field at half the regulated value.
|
| |
|
bool | p2ram_warning {false} |
| | ECC corrected one bit in the P2RAM.
|
| |
|
bool | p2ram_error {false} |
| | ECC found an uncorrectable P2RAM error.
|
| |
|
bool | framing {false} |
| | SPI framing error.
|
| |
|
bool | command {false} |
| | Invalid SPI command.
|
| |
|
bool | crc {false} |
| | Wrong CRC on a MOSI frame.
|
| |
|
bool | watchdog {false} |
| | Internal oscillator or watchdog fault.
|
| |
|
bool | offset_comp {false} |
| | Offset compensation not finished.
|
| |
|
bool | cordic_overflow {false} |
| | CORDIC overflow.
|
| |
|
bool | flags_lost {false} |
| | Not an ERRFL bit: in GetLatchedErrorFlags() only, true when a read of ERRFL failed after its command was sent (a reply CRC error, a failed transfer, a reserved bit set). ERRFL clears when it is read, so the flags that read took from the chip may be lost.
|
| |
|
uint16_t | raw {0} |
| | The register value.
|
| |
ERRFL, decoded. Reading ERRFL clears it on the chip.
The documentation for this struct was generated from the following file: