HF-Core Platform 0.1.0-dev
Hardware-Agnostic Handler Layer & RTOS Utilities for HardFOC
Loading...
Searching...
No Matches
anonymous_namespace{Tmc9660Handler.cpp} Namespace Reference

Functions

static bool 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 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.
 

Function Documentation

◆ readGpioToSignal()

static bool anonymous_namespace{Tmc9660Handler.cpp}::readGpioToSignal ( BaseGpio & gpio_pin,
tmc9660::GpioSignal & signal,
bool active_high )
staticnoexcept

Read a BaseGpio pin and convert to TMC9660 signal based on active-level config.

Here is the caller graph for this function:

◆ setGpioFromSignal()

static bool anonymous_namespace{Tmc9660Handler.cpp}::setGpioFromSignal ( BaseGpio & gpio_pin,
tmc9660::GpioSignal signal,
bool active_high )
staticnoexcept

Set a BaseGpio pin level based on a TMC9660 signal and its active-level config.

Here is the caller graph for this function: