HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
Loading...
Searching...
No Matches
As5047uDiagnostics Struct Reference

Sensor diagnostic information. More...

#include <As5047uHandler.h>

Public Attributes

bool magnetic_field_ok
 Magnetic field strength is adequate.
 
bool agc_warning
 AGC at minimum or maximum.
 
bool cordic_overflow
 CORDIC algorithm overflow.
 
bool offset_compensation_ok
 Offset compensation completed.
 
bool communication_ok
 SPI communication working.
 
uint16_t last_error_flags
 Last error flags read.
 
uint32_t communication_errors
 Count of communication errors.
 
uint32_t total_measurements
 Total measurements taken.
 

Detailed Description

Sensor diagnostic information.

Member Data Documentation

◆ agc_warning

bool As5047uDiagnostics::agc_warning

AGC at minimum or maximum.

◆ communication_errors

uint32_t As5047uDiagnostics::communication_errors

Count of communication errors.

◆ communication_ok

bool As5047uDiagnostics::communication_ok

SPI communication working.

◆ cordic_overflow

bool As5047uDiagnostics::cordic_overflow

CORDIC algorithm overflow.

◆ last_error_flags

uint16_t As5047uDiagnostics::last_error_flags

Last error flags read.

◆ magnetic_field_ok

bool As5047uDiagnostics::magnetic_field_ok

Magnetic field strength is adequate.

◆ offset_compensation_ok

bool As5047uDiagnostics::offset_compensation_ok

Offset compensation completed.

◆ total_measurements

uint32_t As5047uDiagnostics::total_measurements

Total measurements taken.


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