Public Member Functions | Public Attributes | Private Attributes | List of all members
TmclInterpreter Class Reference

#include <tmcl_interpreter.h>

Public Member Functions

bool executeCmd (tmcl_cmd_t cmd, std::string type, uint8_t motor, int32_t *val)
 
bool executeCmd (tmcl_cmd_t cmd, uint8_t type, uint8_t motor, int32_t *val)
 
bool getRetriesExceededStatus ()
 
bool resetInterface ()
 
bool shutdownInterface ()
 
 TmclInterpreter (uint16_t timeout_ms, uint8_t comm_exec_cmd_retries, std::vector< std::string > param_ap_name, std::vector< int > param_ap_type)
 
 ~TmclInterpreter ()
 

Public Attributes

tmcl_cfg_t tmcl_cfg_
 
tmcl_interface_t tmcl_interface_
 

Private Attributes

bool b_retries_exceeded_
 
uint8_t comm_exec_cmd_retries_
 
bool interface_enabled_
 
std::vector< std::string > param_ap_name_
 
std::vector< int > param_ap_type_
 
uint16_t timeout_ms_
 

Detailed Description

Definition at line 98 of file tmcl_interpreter.h.

Constructor & Destructor Documentation

◆ TmclInterpreter()

TmclInterpreter::TmclInterpreter ( uint16_t  timeout_ms,
uint8_t  comm_exec_cmd_retries,
std::vector< std::string >  param_ap_name,
std::vector< int >  param_ap_type 
)

Copyright (c) 2022-2023 Analog Devices, Inc. All Rights Reserved. This software is proprietary to Analog Devices, Inc. and its licensors.

Definition at line 12 of file tmcl_interpreter.cpp.

◆ ~TmclInterpreter()

TmclInterpreter::~TmclInterpreter ( )

Definition at line 35 of file tmcl_interpreter.cpp.

Member Function Documentation

◆ executeCmd() [1/2]

bool TmclInterpreter::executeCmd ( tmcl_cmd_t  cmd,
std::string  type,
uint8_t  motor,
int32_t *  val 
)

Definition at line 173 of file tmcl_interpreter.cpp.

◆ executeCmd() [2/2]

bool TmclInterpreter::executeCmd ( tmcl_cmd_t  cmd,
uint8_t  type,
uint8_t  motor,
int32_t *  val 
)

Definition at line 75 of file tmcl_interpreter.cpp.

◆ getRetriesExceededStatus()

bool TmclInterpreter::getRetriesExceededStatus ( )

Definition at line 215 of file tmcl_interpreter.cpp.

◆ resetInterface()

bool TmclInterpreter::resetInterface ( )

Definition at line 49 of file tmcl_interpreter.cpp.

◆ shutdownInterface()

bool TmclInterpreter::shutdownInterface ( )

Definition at line 196 of file tmcl_interpreter.cpp.

Member Data Documentation

◆ b_retries_exceeded_

bool TmclInterpreter::b_retries_exceeded_
private

Definition at line 133 of file tmcl_interpreter.h.

◆ comm_exec_cmd_retries_

uint8_t TmclInterpreter::comm_exec_cmd_retries_
private

Definition at line 129 of file tmcl_interpreter.h.

◆ interface_enabled_

bool TmclInterpreter::interface_enabled_
private

Definition at line 127 of file tmcl_interpreter.h.

◆ param_ap_name_

std::vector<std::string> TmclInterpreter::param_ap_name_
private

Definition at line 130 of file tmcl_interpreter.h.

◆ param_ap_type_

std::vector<int> TmclInterpreter::param_ap_type_
private

Definition at line 131 of file tmcl_interpreter.h.

◆ timeout_ms_

uint16_t TmclInterpreter::timeout_ms_
private

Definition at line 128 of file tmcl_interpreter.h.

◆ tmcl_cfg_

tmcl_cfg_t TmclInterpreter::tmcl_cfg_

Definition at line 124 of file tmcl_interpreter.h.

◆ tmcl_interface_

tmcl_interface_t TmclInterpreter::tmcl_interface_

Definition at line 123 of file tmcl_interpreter.h.


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


adi_tmcl
Author(s):
autogenerated on Wed Apr 2 2025 02:43:01