|
HardFOC Core
API reference
|
Implementation of unified AS5047U magnetic rotary position sensor handler. More...
#include "As5047uHandler.h"#include <cstring>#include <algorithm>#include <cmath>#include "handlers/logger/Logger.h"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:
|
noexcept |
Create AS5047U handler instance.
| spi_interface | Reference to SPI interface |
| config | Sensor configuration |