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

Complete sensor measurement data structure. More...

#include <As5047uHandler.h>

Public Attributes

uint16_t angle_raw
 Raw angle (0-16383 LSB)
 
uint16_t angle_compensated
 DAEC compensated angle (0-16383 LSB)
 
int16_t velocity_raw
 Raw velocity (signed 14-bit)
 
float velocity_deg_per_sec
 Velocity in degrees per second.
 
float velocity_rad_per_sec
 Velocity in radians per second.
 
float velocity_rpm
 Velocity in revolutions per minute.
 
uint8_t agc_value
 Automatic Gain Control value (0-255)
 
uint16_t magnitude
 Magnetic field magnitude (0-16383)
 
uint16_t error_flags
 Current error flags.
 
bool valid
 True if measurement is valid.
 

Detailed Description

Complete sensor measurement data structure.

Member Data Documentation

◆ agc_value

uint8_t As5047uMeasurement::agc_value

Automatic Gain Control value (0-255)

◆ angle_compensated

uint16_t As5047uMeasurement::angle_compensated

DAEC compensated angle (0-16383 LSB)

◆ angle_raw

uint16_t As5047uMeasurement::angle_raw

Raw angle (0-16383 LSB)

◆ error_flags

uint16_t As5047uMeasurement::error_flags

Current error flags.

◆ magnitude

uint16_t As5047uMeasurement::magnitude

Magnetic field magnitude (0-16383)

◆ valid

bool As5047uMeasurement::valid

True if measurement is valid.

◆ velocity_deg_per_sec

float As5047uMeasurement::velocity_deg_per_sec

Velocity in degrees per second.

◆ velocity_rad_per_sec

float As5047uMeasurement::velocity_rad_per_sec

Velocity in radians per second.

◆ velocity_raw

int16_t As5047uMeasurement::velocity_raw

Raw velocity (signed 14-bit)

◆ velocity_rpm

float As5047uMeasurement::velocity_rpm

Velocity in revolutions per minute.


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