HF-TMC51x0 Driver (TMC5130 & TMC5160) 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC51x0 (TMC5130 & TMC5160)
Loading...
Searching...
No Matches
TestDriverHandle Struct Reference

Test driver handle containing SPI interface and driver instance. More...

Public Attributes

std::unique_ptr< Esp32SPIspi
 SPI communication interface.
 
std::unique_ptr< tmc51x0::TMC51x0< Esp32SPI > > driver
 TMC51x0 driver instance.
 
std::vector< std::unique_ptr< tmc51x0::TMC51x0< Esp32SPI > > > drivers
 Driver instances for each chain position.
 

Detailed Description

Test driver handle containing SPI interface and driver instance.

Test driver handle for daisy chain tests.

This structure holds the lifetime-managed SPI communication interface and TMC51x0 driver instance for test functions. Uses unique_ptr for automatic resource management.

Contains the shared SPI interface and a vector of driver instances, one for each position in the daisy chain.

Member Data Documentation

◆ driver

std::unique_ptr<tmc51x0::TMC51x0<Esp32SPI> > TestDriverHandle::driver

TMC51x0 driver instance.

◆ drivers

std::vector<std::unique_ptr<tmc51x0::TMC51x0<Esp32SPI> > > TestDriverHandle::drivers

Driver instances for each chain position.

◆ spi

std::unique_ptr< Esp32SPI > TestDriverHandle::spi

SPI communication interface.

Shared SPI communication interface.


The documentation for this struct was generated from the following files: