|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Implementation of unified AS5047U magnetic rotary position sensor handler. More...
#include "As5047uHandler.h"#include <cstring>#include <algorithm>#include <cmath>#include "handlers/logger/Logger.h"Macros | |
| #define | LOG_BANNER(tag, art, format) Logger::GetInstance().LogBanner(tag, art, format) |
Functions | |
| std::unique_ptr< As5047uHandler > | CreateAs5047uHandler (BaseSpi &spi_interface, const As5047uConfig &config) noexcept |
| Create AS5047U handler instance. | |
Implementation of unified AS5047U magnetic rotary position sensor handler.
This file implements the comprehensive AS5047U handler with CRTP SPI integration, lazy initialization, shared pointer management, and complete exception-free design.
Key implementation features:
| #define LOG_BANNER | ( | tag, | |
| art, | |||
| format ) Logger::GetInstance().LogBanner(tag, art, format) |
|
noexcept |
Create AS5047U handler instance.
| spi_interface | Reference to SPI interface |
| config | Sensor configuration |