ERRFL – Error Flag register (0x0001, default 0x0000)
More...
#include <as5047u_registers.hpp>
|
| static constexpr uint16_t | ADDRESS = 0x0001 |
| |
ERRFL – Error Flag register (0x0001, default 0x0000)
| Bits | Name | R | Description |
| 0 | AGC_warning | R | AGC at limit flag (1 = AGC value reached 0 or 255, |
| | | indicating extreme magnetic field) 1 | MagHalf | R | Magnetic field half error (1 = AGC=255 and measured | | | magnitude ~ half of target) 2 | P2RAM_warning | R | OTP shadow (P2RAM) single-bit correction flag (ECC | | | corrected one bit) 3 | P2RAM_error | R | OTP shadow (P2RAM) double-bit error flag (uncorrectable | | | ECC error) 4 | Framing_error | R | SPI framing error (bad SPI frame alignment) 5 | Command_error | R | SPI command error (invalid SPI command received) 6 | CRC_error | R | SPI CRC communication error (CRC checksum mismatch) 7 | WDTST | R | Watchdog failure (1 = internal oscillator or watchdog | | | test failed) 8 | (unused) | - | Unused bit (always 0) 9 | OffCompNotFinished | R | Offset compensation not finished (1 = internal offset | | | calibration still in progress) 10 | CORDIC_Overflow | R | CORDIC overflow error flag (numerical overflow in | | | CORDIC cord. calc) 11-15| (reserved) | - | Reserved (reads 0)
- Note
- Reading the ERRFL register clears all the error flags (self-clearing on read). In case any error flag is set, it is recommended to read the DIA (Diagnostic) register for more detailed status.
◆ [union]
◆ ADDRESS
| constexpr uint16_t AS5047U_REG::ERRFL::ADDRESS = 0x0001 |
|
staticconstexpr |
◆ AGC_warning
| uint16_t AS5047U_REG::ERRFL::AGC_warning |
◆ [struct]
| struct { ... } AS5047U_REG::ERRFL::bits |
◆ Command_error
| uint16_t AS5047U_REG::ERRFL::Command_error |
◆ CORDIC_Overflow
| uint16_t AS5047U_REG::ERRFL::CORDIC_Overflow |
◆ CRC_error
| uint16_t AS5047U_REG::ERRFL::CRC_error |
◆ Framing_error
| uint16_t AS5047U_REG::ERRFL::Framing_error |
◆ MagHalf
| uint16_t AS5047U_REG::ERRFL::MagHalf |
◆ OffCompNotFinished
| uint16_t AS5047U_REG::ERRFL::OffCompNotFinished |
◆ P2RAM_error
| uint16_t AS5047U_REG::ERRFL::P2RAM_error |
◆ P2RAM_warning
| uint16_t AS5047U_REG::ERRFL::P2RAM_warning |
◆ reserved_11_15
| uint16_t AS5047U_REG::ERRFL::reserved_11_15 |
◆ unused_8
| uint16_t AS5047U_REG::ERRFL::unused_8 |
◆ value
| uint16_t AS5047U_REG::ERRFL::value |
◆ WDTST
| uint16_t AS5047U_REG::ERRFL::WDTST |
The documentation for this struct was generated from the following file: