|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
Shared utility functions for handler CRTP communication adapters. More...
Go to the source code of this file.
Namespaces | |
| namespace | handler_utils |
Functions | |
| void | handler_utils::RouteLogToLogger (int level, const char *tag, const char *format, va_list args) noexcept |
| Route a driver log message to the Logger singleton. | |
| void | handler_utils::DelayMs (uint32_t ms) noexcept |
| RTOS-aware millisecond delay. | |
| void | handler_utils::DelayUs (uint32_t us) noexcept |
| Microsecond delay with automatic fallback to RTOS delay for large values. | |
Shared utility functions for handler CRTP communication adapters.
Provides common implementations for debug logging routing and delay operations, eliminating code duplication across handler communication adapters (TLE92466ED, TMC5160, TMC9660, MAX22200, etc.).
All functions are header-only (inline) so no additional .cpp is needed.