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

COSDATA – Raw digital cosine channel data (0x3FFB, default 0x0000) More...

#include <as5047u_registers.hpp>

Public Attributes

union { 
 
   uint16_t   value 
 
   struct { 
 
      int16_t   COSDATA: 16 
 
   }   bits 
 
};  
 

Static Public Attributes

static constexpr uint16_t ADDRESS = 0x3FFB
 

Detailed Description

COSDATA – Raw digital cosine channel data (0x3FFB, default 0x0000)

Bits Name R Description
0-15 COSDATA R Raw digital cosine channel data (16-bit signed)

The COSDATA register provides the raw digital output of the cosine channel from the sensor’s CORDIC engine. The value is a signed 16-bit integer.

Member Data Documentation

◆ [union]

union { ... } AS5047U_REG::COSDATA

◆ ADDRESS

constexpr uint16_t AS5047U_REG::COSDATA::ADDRESS = 0x3FFB
staticconstexpr

◆ [struct]

struct { ... } AS5047U_REG::COSDATA::bits

◆ COSDATA

int16_t AS5047U_REG::COSDATA::COSDATA

◆ value

uint16_t AS5047U_REG::COSDATA::value

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