|
HF-TMC9660 Driver 0.1.0-dev
Hardware Agnostic C++ Driver for the TMC9660
|
Subsystem for debug and data logging features. More...
#include <tmc9660.hpp>
Public Member Functions | |
| bool | init (uint32_t sample_count) noexcept |
| Initialize and configure the RAMDebug feature (data logging). | |
| bool | startCapture () noexcept |
| Start capturing data using RAMDebug. | |
| bool | readData (uint32_t index, uint32_t &data) noexcept |
| Read a captured sample from RAMDebug buffer. | |
| bool | getStatus (bool &is_running) noexcept |
| Get the current state of the RAM debug engine. | |
Private Member Functions | |
| RamDebug (TMC9660 &parent) noexcept | |
Private Attributes | |
| TMC9660 & | driver |
Friends | |
| class | TMC9660 |
Subsystem for debug and data logging features.
|
inlineexplicitprivatenoexcept |
|
noexcept |
Get the current state of the RAM debug engine.
| [out] | is_running | Will be set to true if capture is ongoing, false if stopped or idle. |
|
noexcept |
Initialize and configure the RAMDebug feature (data logging).
This sends a command to initialize the RAM debug system and reset any previous configurations.
| sample_count | Number of samples to collect in the buffer. |
|
noexcept |
Read a captured sample from RAMDebug buffer.
| index | Sample index to read (0-based). | |
| [out] | data | Variable to store the 32-bit sample data. |
|
noexcept |
Start capturing data using RAMDebug.
|
private |