HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
Loading...
Searching...
No Matches
Functions
anonymous_namespace{Vortex.cpp} Namespace Reference

Functions

void DisableMotorDriver (GpioManager &gpio) noexcept
 
ManagerError ToManagerError (CommError e) noexcept
 
ManagerError ToManagerError (MotorError e) noexcept
 
ManagerError ToManagerError (ImuError e) noexcept
 
ManagerError ToManagerError (EncoderError e) noexcept
 
ManagerError ToManagerError (LedError e) noexcept
 
template<typename E >
ManagerError ToManagerErrorGeneric (E e, E not_initialized) noexcept
 
void Fill (ManagerDiagnostics &d, const char *name, bool required, bool initialized, ManagerError error, uint8_t raw) noexcept
 

Function Documentation

◆ DisableMotorDriver()

void anonymous_namespace{Vortex.cpp}::DisableMotorDriver ( GpioManager &  gpio)
noexcept

Drive the TMC9660 driver-enable line inactive (gate drivers off), if the GPIO manager is up.

◆ Fill()

void anonymous_namespace{Vortex.cpp}::Fill ( ManagerDiagnostics &  d,
const char *  name,
bool  required,
bool  initialized,
ManagerError  error,
uint8_t  raw 
)
noexcept
Here is the caller graph for this function:

◆ ToManagerError() [1/5]

ManagerError anonymous_namespace{Vortex.cpp}::ToManagerError ( CommError  e)
noexcept
Here is the caller graph for this function:

◆ ToManagerError() [2/5]

ManagerError anonymous_namespace{Vortex.cpp}::ToManagerError ( EncoderError  e)
noexcept

◆ ToManagerError() [3/5]

ManagerError anonymous_namespace{Vortex.cpp}::ToManagerError ( ImuError  e)
noexcept

◆ ToManagerError() [4/5]

ManagerError anonymous_namespace{Vortex.cpp}::ToManagerError ( LedError  e)
noexcept

◆ ToManagerError() [5/5]

ManagerError anonymous_namespace{Vortex.cpp}::ToManagerError ( MotorError  e)
noexcept

◆ ToManagerErrorGeneric()

template<typename E >
ManagerError anonymous_namespace{Vortex.cpp}::ToManagerErrorGeneric ( E  e,
E  not_initialized 
)
noexcept

hf_*_err_t codes: 0 is success everywhere; NOT_INITIALIZED is named per type.

Here is the caller graph for this function: