HF-AS5047U Driver  0.1.0-dev
HF-AS5047U C++ Driver
Loading...
Searching...
No Matches
AS5047U_REG::ANGLECOM Struct Reference

ANGLECOM – Compensated Angle register (0x3FFF, read-only) More...

#include <as5047u_registers.hpp>

Public Attributes

union { 
 
   uint16_t   value 
 
   struct { 
 
      uint16_t   ANGLECOM_value: 14 
 
      uint16_t   reserved_14_15: 2 
 
   }   bits 
 
};  
 

Static Public Attributes

static constexpr uint16_t ADDRESS = 0x3FFF
 

Detailed Description

ANGLECOM – Compensated Angle register (0x3FFF, read-only)

Bits Name R Description
0-13 ANGLECOM_value R Absolute angle with dynamic compensation (14-bit)
14-15 (reserved) - Reserved bits (reads 0)

ANGLECOM_value is the fully compensated 14-bit absolute angle reading, incorporating the sensor’s dynamic angle error compensation (DAEC) algorithm. This value is updated in real-time with minimal latency at high speeds, thanks to DAEC. It is the primary angle output for most applications. If the Data_select bit in SETTINGS2 is 0 (default), reading from address 0x3FFF returns this ANGLECOM value. The angle is represented as a number from 0 to 16383 corresponding to 0° to 360° (with 14-bit resolution).

Member Data Documentation

◆ [union]

union { ... } AS5047U_REG::ANGLECOM

◆ ADDRESS

constexpr uint16_t AS5047U_REG::ANGLECOM::ADDRESS = 0x3FFF
staticconstexpr

◆ ANGLECOM_value

uint16_t AS5047U_REG::ANGLECOM::ANGLECOM_value

◆ [struct]

struct { ... } AS5047U_REG::ANGLECOM::bits

◆ reserved_14_15

uint16_t AS5047U_REG::ANGLECOM::reserved_14_15

◆ value

uint16_t AS5047U_REG::ANGLECOM::value

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