|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
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. | |
Complete sensor measurement data structure.
| uint8_t As5047uMeasurement::agc_value |
Automatic Gain Control value (0-255)
| uint16_t As5047uMeasurement::angle_compensated |
DAEC compensated angle (0-16383 LSB)
| uint16_t As5047uMeasurement::angle_raw |
Raw angle (0-16383 LSB)
| uint16_t As5047uMeasurement::error_flags |
Current error flags.
| uint16_t As5047uMeasurement::magnitude |
Magnetic field magnitude (0-16383)
| bool As5047uMeasurement::valid |
True if measurement is valid.
| float As5047uMeasurement::velocity_deg_per_sec |
Velocity in degrees per second.
| float As5047uMeasurement::velocity_rad_per_sec |
Velocity in radians per second.
| int16_t As5047uMeasurement::velocity_raw |
Raw velocity (signed 14-bit)
| float As5047uMeasurement::velocity_rpm |
Velocity in revolutions per minute.