|
HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
|
#include "Tmc9660Handler.h"#include <cstring>#include <cstdio>#include <cmath>#include <algorithm>#include "HandlerCommon.h"#include "core/hf-core-utils/hf-utils-rtos-wrap/include/OsAbstraction.h"#include "core/hf-core-utils/hf-utils-rtos-wrap/include/OsUtility.h"Namespaces | |
| namespace | anonymous_namespace{Tmc9660Handler.cpp} |
Functions | |
| static bool | anonymous_namespace{Tmc9660Handler.cpp}::setGpioFromSignal (BaseGpio &gpio_pin, tmc9660::GpioSignal signal, bool active_high) noexcept |
| Set a BaseGpio pin level based on a TMC9660 signal and its active-level config. | |
| static bool | anonymous_namespace{Tmc9660Handler.cpp}::readGpioToSignal (BaseGpio &gpio_pin, tmc9660::GpioSignal &signal, bool active_high) noexcept |
| Read a BaseGpio pin and convert to TMC9660 signal based on active-level config. | |