Motion Master 6.0.0-alpha.86
Next-generation motion control software
Loading...
Searching...
No Matches
mm::node::RestoreDefaultParametersConfig Struct Reference

Retry/timing for the restore-default-parameters confirmation walk (ProfileDevice::runRestoreDefaultParameters). More...

#include <profile_device.h>

Public Attributes

uint32_t retries = 10
 Maximum confirmation polls after the first.
 
std::chrono::milliseconds interval {500}
 Delay between confirmation polls.
 
std::chrono::milliseconds settle {1000}
 Wait after the write before the first poll.
 
std::stop_token stop {}
 Abandons the wait, not the restore (see above).
 

Detailed Description

Retry/timing for the restore-default-parameters confirmation walk (ProfileDevice::runRestoreDefaultParameters).

The restore counterpart of StoreParametersConfig, with the same fields and defaults: after the "load" signature is written, wait settle for the device to begin, then poll the 0x1011 sub-entry up to retries more times, interval apart, until it reads back 1.

Member Data Documentation

◆ interval

std::chrono::milliseconds mm::node::RestoreDefaultParametersConfig::interval {500}

Delay between confirmation polls.

◆ retries

uint32_t mm::node::RestoreDefaultParametersConfig::retries = 10

Maximum confirmation polls after the first.

◆ settle

std::chrono::milliseconds mm::node::RestoreDefaultParametersConfig::settle {1000}

Wait after the write before the first poll.

◆ stop

std::stop_token mm::node::RestoreDefaultParametersConfig::stop {}

Abandons the wait, not the restore (see above).


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