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

Encoder Resolution and Specifications. More...

#include <esp32_as5047u_test_config.hpp>

Static Public Attributes

static constexpr uint16_t RESOLUTION_BITS = 14
 Angular resolution in bits.
 
static constexpr uint16_t COUNTS_PER_REV = 16384
 2^14 counts per revolution
 
static constexpr float DEGREES_PER_COUNT = 360.0f / 16384.0f
 Degrees per LSB (~0.022°)
 
static constexpr float MAX_ROTATION_SPEED_RPM = 28000.0f
 Maximum rotation speed (RPM)
 

Detailed Description

Encoder Resolution and Specifications.

AS5047U is a 14-bit on-axis magnetic rotary position sensor.

Member Data Documentation

◆ COUNTS_PER_REV

constexpr uint16_t AS5047U_TestConfig::EncoderSpecs::COUNTS_PER_REV = 16384
staticconstexpr

2^14 counts per revolution

◆ DEGREES_PER_COUNT

constexpr float AS5047U_TestConfig::EncoderSpecs::DEGREES_PER_COUNT = 360.0f / 16384.0f
staticconstexpr

Degrees per LSB (~0.022°)

◆ MAX_ROTATION_SPEED_RPM

constexpr float AS5047U_TestConfig::EncoderSpecs::MAX_ROTATION_SPEED_RPM = 28000.0f
staticconstexpr

Maximum rotation speed (RPM)

◆ RESOLUTION_BITS

constexpr uint16_t AS5047U_TestConfig::EncoderSpecs::RESOLUTION_BITS = 14
staticconstexpr

Angular resolution in bits.


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