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

ZPOSL – Zero Position LSB register (0x0017, default 0x0000) More...

#include <as5047u_registers.hpp>

Public Attributes

union { 
 
   uint16_t   value 
 
   struct { 
 
      uint16_t   ZPOSL_bits: 6 
 
      uint16_t   Dia1_en: 1 
 
      uint16_t   Dia2_en: 1 
 
      uint16_t   reserved_8_15: 8 
 
   }   bits 
 
};  
 

Static Public Attributes

static constexpr uint16_t ADDRESS = 0x0017
 

Detailed Description

ZPOSL – Zero Position LSB register (0x0017, default 0x0000)

Bits Name R/W/P Description
0-5 ZPOSL R/W/P Least significant 6 bits of the zero position
6 Dia1_en R/W/P Diagnostic feature 1 (Default 0; for AS5147U automotive variant only)
7 Dia2_en R/W/P Diagnostic feature 2 (Default 0; for AS5147U automotive variant only)
8-15 (unused) - Unused upper bits (reads 0)
Note
Bits 6 and 7 are not applicable on the AS5047U (remain 0 unless using AS5147U).

Member Data Documentation

◆ [union]

union { ... } AS5047U_REG::ZPOSL

◆ ADDRESS

constexpr uint16_t AS5047U_REG::ZPOSL::ADDRESS = 0x0017
staticconstexpr

◆ [struct]

struct { ... } AS5047U_REG::ZPOSL::bits

◆ Dia1_en

uint16_t AS5047U_REG::ZPOSL::Dia1_en

◆ Dia2_en

uint16_t AS5047U_REG::ZPOSL::Dia2_en

◆ reserved_8_15

uint16_t AS5047U_REG::ZPOSL::reserved_8_15

◆ value

uint16_t AS5047U_REG::ZPOSL::value

◆ ZPOSL_bits

uint16_t AS5047U_REG::ZPOSL::ZPOSL_bits

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