HardFOC Vortex V1 HAL
Unified HAL API for the HardFOC Vortex motor-control platform (ESP32-C6, TMC9660)
Loading...
Searching...
No Matches
Functions
vortex::motor::detail Namespace Reference

Functions

template<typename Driver , bool kWrite>
size_t RunBatch (Driver &driver, std::span< ParamAccess > items) noexcept
 
template<typename Driver , typename Pred >
void ApplyPhase (Driver &driver, std::span< const ParamWrite > image, ApplyOptions opt, Pred take, ApplyResult &r) noexcept
 Apply the image entries selected by take, in image order, kBatchChunk at a time.
 

Function Documentation

◆ ApplyPhase()

template<typename Driver , typename Pred >
void vortex::motor::detail::ApplyPhase ( Driver &  driver,
std::span< const ParamWrite >  image,
ApplyOptions  opt,
Pred  take,
ApplyResult &  r 
)
noexcept

Apply the image entries selected by take, in image order, kBatchChunk at a time.

Per chunk: optional differential read, one pipelined write of the entries that differ, optional read-back. Stack use is three chunk buffers whatever the image size.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ RunBatch()

template<typename Driver , bool kWrite>
size_t vortex::motor::detail::RunBatch ( Driver &  driver,
std::span< ParamAccess >  items 
)
noexcept
Here is the call graph for this function: