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

AGC – Automatic Gain Control register (0x3FF9, read-only) More...

#include <as5047u_registers.hpp>

Public Attributes

union { 
 
   uint16_t   value 
 
   struct { 
 
      uint16_t   AGC_value: 8 
 
      uint16_t   reserved_8_15: 8 
 
   }   bits 
 
};  
 

Static Public Attributes

static constexpr uint16_t ADDRESS = 0x3FF9
 

Detailed Description

AGC – Automatic Gain Control register (0x3FF9, read-only)

Bits Name R Description
0-7 AGC_value R 8-bit AGC value (dynamic gain level, 0x00=minimum gain, 0xFF=maximum
gain) 8-15 (reserved) - Reserved (reads 0)

The AGC_value represents the current automatic gain control setting of the sensor’s analog front-end. A low value (near 0) means the magnetic field is strong (gain reduced), whereas a high value (near 255) means the field is weak (gain increased). This value is continuously adjusted to keep the CORDIC magnitude stable.

Member Data Documentation

◆ [union]

union { ... } AS5047U_REG::AGC

◆ ADDRESS

constexpr uint16_t AS5047U_REG::AGC::ADDRESS = 0x3FF9
staticconstexpr

◆ AGC_value

uint16_t AS5047U_REG::AGC::AGC_value

◆ [struct]

struct { ... } AS5047U_REG::AGC::bits

◆ reserved_8_15

uint16_t AS5047U_REG::AGC::reserved_8_15

◆ value

uint16_t AS5047U_REG::AGC::value

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