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

ZPOSM – Zero Position MSB register (0x0016, default 0x0000) More...

#include <as5047u_registers.hpp>

Public Attributes

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

Static Public Attributes

static constexpr uint16_t ADDRESS = 0x0016
 

Detailed Description

ZPOSM – Zero Position MSB register (0x0016, default 0x0000)

Bits Name R/W/P Description
0-7 ZPOSM R/W/P Most significant 8 bits of the zero position
8-15 (unused) - Unused upper bits (reads 0)
Note
Together with ZPOSL, forms a 14-bit zero position value.

Member Data Documentation

◆ [union]

union { ... } AS5047U_REG::ZPOSM

◆ ADDRESS

constexpr uint16_t AS5047U_REG::ZPOSM::ADDRESS = 0x0016
staticconstexpr

◆ [struct]

struct { ... } AS5047U_REG::ZPOSM::bits

◆ reserved_8_15

uint16_t AS5047U_REG::ZPOSM::reserved_8_15

◆ value

uint16_t AS5047U_REG::ZPOSM::value

◆ ZPOSM_bits

uint16_t AS5047U_REG::ZPOSM::ZPOSM_bits

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