Public Types | Static Public Attributes | List of all members
ttl_driver::XC430Reg Struct Reference

#include <xc430_reg.hpp>

Public Types

using TYPE_ALARM_SHUTDOWN = uint8_t
 
using TYPE_BAUDRATE = uint8_t
 
using TYPE_BUS_WATCHDOG = uint8_t
 
using TYPE_DRIVE_MODE = uint8_t
 
using TYPE_FIRMWARE_VERSION = uint8_t
 
using TYPE_GOAL_POSITION = uint32_t
 
using TYPE_GOAL_PWM = uint16_t
 
using TYPE_GOAL_VELOCITY = uint32_t
 
using TYPE_HOMING_OFFSET = uint32_t
 
using TYPE_HW_ERROR_STATUS = uint8_t
 
using TYPE_ID = uint8_t
 
using TYPE_LED = uint8_t
 
using TYPE_MAX_POSITION_LIMIT = uint32_t
 
using TYPE_MAX_VOLTAGE_LIMIT = uint16_t
 
using TYPE_MIN_POSITION_LIMIT = uint32_t
 
using TYPE_MIN_VOLTAGE_LIMIT = uint16_t
 
using TYPE_MODEL_INFORMATION = uint32_t
 
using TYPE_MODEL_NUMBER = uint16_t
 
using TYPE_MOVING = uint8_t
 
using TYPE_MOVING_STATUS = uint8_t
 
using TYPE_OPERATING_MODE = uint8_t
 
using TYPE_PID_GAIN = uint16_t
 
using TYPE_POSITION_TRAJECTORY = uint32_t
 
using TYPE_PRESENT_LOAD = uint16_t
 
using TYPE_PRESENT_POSITION = uint32_t
 
using TYPE_PRESENT_PWM = uint16_t
 
using TYPE_PRESENT_TEMPERATURE = uint8_t
 
using TYPE_PRESENT_VELOCITY = uint32_t
 
using TYPE_PRESENT_VOLTAGE = uint16_t
 
using TYPE_PROFILE = uint32_t
 
using TYPE_PWM_LIMIT = uint16_t
 
using TYPE_REGISTERED_INSTRUCTION = uint8_t
 
using TYPE_RETURN_DELAY_TIME = uint8_t
 
using TYPE_STARTUP_CONFIGURATION = uint8_t
 
using TYPE_STATUS_RETURN_LEVEL = uint8_t
 
using TYPE_TEMPERATURE_LIMIT = uint8_t
 
using TYPE_TORQUE_ENABLE = uint8_t
 
using TYPE_VELOCITY_LIMIT = uint32_t
 
using TYPE_VELOCITY_TRAJECTORY = uint32_t
 

Static Public Attributes

static constexpr uint16_t ADDR_ALARM_SHUTDOWN = 63
 
static constexpr uint16_t ADDR_BAUDRATE = 8
 
static constexpr uint16_t ADDR_BUS_WATCHDOG = 98
 
static constexpr uint16_t ADDR_DRIVE_MODE = 10
 
static constexpr uint16_t ADDR_FF1_GAIN = 90
 
static constexpr uint16_t ADDR_FF2_GAIN = 88
 
static constexpr uint16_t ADDR_FIRMWARE_VERSION = 6
 
static constexpr uint16_t ADDR_GOAL_POSITION = 116
 
static constexpr uint16_t ADDR_GOAL_PWM = 100
 
static constexpr uint16_t ADDR_GOAL_VELOCITY = 104
 
static constexpr uint16_t ADDR_HOMING_OFFSET = 20
 
static constexpr uint16_t ADDR_HW_ERROR_STATUS = 70
 
static constexpr uint16_t ADDR_ID = 7
 
static constexpr uint16_t ADDR_LED = 65
 
static constexpr uint16_t ADDR_MAX_POSITION_LIMIT = 48
 
static constexpr uint16_t ADDR_MAX_VOLTAGE_LIMIT = 32
 
static constexpr uint16_t ADDR_MIN_POSITION_LIMIT = 52
 
static constexpr uint16_t ADDR_MIN_VOLTAGE_LIMIT = 34
 
static constexpr uint16_t ADDR_MODEL_INFORMATION = 2
 
static constexpr uint16_t ADDR_MODEL_NUMBER = 0
 
static constexpr uint16_t ADDR_MOVING = 122
 
static constexpr uint16_t ADDR_MOVING_STATUS = 123
 
static constexpr uint16_t ADDR_OPERATING_MODE = 11
 
static constexpr uint16_t ADDR_POSITION_D_GAIN = 80
 
static constexpr uint16_t ADDR_POSITION_I_GAIN = 82
 
static constexpr uint16_t ADDR_POSITION_P_GAIN = 84
 
static constexpr uint16_t ADDR_POSITION_TRAJECTORY = 140
 
static constexpr uint16_t ADDR_PRESENT_LOAD = 126
 
static constexpr uint16_t ADDR_PRESENT_POSITION = 132
 
static constexpr uint16_t ADDR_PRESENT_PWM = 124
 
static constexpr uint16_t ADDR_PRESENT_TEMPERATURE = 146
 
static constexpr uint16_t ADDR_PRESENT_VELOCITY = 128
 
static constexpr uint16_t ADDR_PRESENT_VOLTAGE = 144
 
static constexpr uint16_t ADDR_PROFILE_ACCELERATION = 108
 
static constexpr uint16_t ADDR_PROFILE_VELOCITY = 112
 
static constexpr uint16_t ADDR_PWM_LIMIT = 36
 
static constexpr uint16_t ADDR_REGISTERED_INSTRUCTION = 69
 
static constexpr uint16_t ADDR_RETURN_DELAY_TIME = 9
 
static constexpr uint16_t ADDR_STARTUP_CONFIGURATION = 60
 
static constexpr uint16_t ADDR_STATUS_RETURN_LEVEL = 68
 
static constexpr uint16_t ADDR_TEMPERATURE_LIMIT = 31
 
static constexpr uint16_t ADDR_TORQUE_ENABLE = 64
 
static constexpr uint16_t ADDR_VELOCITY_I_GAIN = 76
 
static constexpr uint16_t ADDR_VELOCITY_LIMIT = 44
 
static constexpr uint16_t ADDR_VELOCITY_P_GAIN = 78
 
static constexpr uint16_t ADDR_VELOCITY_TRAJECTORY = 136
 
static constexpr int MODEL_NUMBER = 1080
 
static constexpr common::model::EHardwareType motor_type = common::model::EHardwareType::XC430
 
static constexpr float PROTOCOL_VERSION = 2.0
 
static constexpr uint8_t VERSION_STARTUP_CONFIGURATION = 45
 
static constexpr int VOLTAGE_CONVERSION = 10
 

Detailed Description

Definition at line 25 of file xc430_reg.hpp.

Member Typedef Documentation

◆ TYPE_ALARM_SHUTDOWN

Definition at line 88 of file xc430_reg.hpp.

◆ TYPE_BAUDRATE

Definition at line 48 of file xc430_reg.hpp.

◆ TYPE_BUS_WATCHDOG

Definition at line 116 of file xc430_reg.hpp.

◆ TYPE_DRIVE_MODE

Definition at line 54 of file xc430_reg.hpp.

◆ TYPE_FIRMWARE_VERSION

Definition at line 42 of file xc430_reg.hpp.

◆ TYPE_GOAL_POSITION

Definition at line 129 of file xc430_reg.hpp.

◆ TYPE_GOAL_PWM

Definition at line 119 of file xc430_reg.hpp.

◆ TYPE_GOAL_VELOCITY

Definition at line 122 of file xc430_reg.hpp.

◆ TYPE_HOMING_OFFSET

Definition at line 60 of file xc430_reg.hpp.

◆ TYPE_HW_ERROR_STATUS

Definition at line 104 of file xc430_reg.hpp.

◆ TYPE_ID

Definition at line 45 of file xc430_reg.hpp.

◆ TYPE_LED

Definition at line 95 of file xc430_reg.hpp.

◆ TYPE_MAX_POSITION_LIMIT

Definition at line 78 of file xc430_reg.hpp.

◆ TYPE_MAX_VOLTAGE_LIMIT

Definition at line 66 of file xc430_reg.hpp.

◆ TYPE_MIN_POSITION_LIMIT

Definition at line 81 of file xc430_reg.hpp.

◆ TYPE_MIN_VOLTAGE_LIMIT

Definition at line 69 of file xc430_reg.hpp.

◆ TYPE_MODEL_INFORMATION

Definition at line 39 of file xc430_reg.hpp.

◆ TYPE_MODEL_NUMBER

Definition at line 36 of file xc430_reg.hpp.

◆ TYPE_MOVING

Definition at line 132 of file xc430_reg.hpp.

◆ TYPE_MOVING_STATUS

Definition at line 135 of file xc430_reg.hpp.

◆ TYPE_OPERATING_MODE

Definition at line 57 of file xc430_reg.hpp.

◆ TYPE_PID_GAIN

Definition at line 106 of file xc430_reg.hpp.

◆ TYPE_POSITION_TRAJECTORY

Definition at line 153 of file xc430_reg.hpp.

◆ TYPE_PRESENT_LOAD

Definition at line 141 of file xc430_reg.hpp.

◆ TYPE_PRESENT_POSITION

Definition at line 147 of file xc430_reg.hpp.

◆ TYPE_PRESENT_PWM

Definition at line 138 of file xc430_reg.hpp.

◆ TYPE_PRESENT_TEMPERATURE

Definition at line 159 of file xc430_reg.hpp.

◆ TYPE_PRESENT_VELOCITY

Definition at line 144 of file xc430_reg.hpp.

◆ TYPE_PRESENT_VOLTAGE

Definition at line 156 of file xc430_reg.hpp.

◆ TYPE_PROFILE

Definition at line 124 of file xc430_reg.hpp.

◆ TYPE_PWM_LIMIT

Definition at line 72 of file xc430_reg.hpp.

◆ TYPE_REGISTERED_INSTRUCTION

Definition at line 101 of file xc430_reg.hpp.

◆ TYPE_RETURN_DELAY_TIME

Definition at line 51 of file xc430_reg.hpp.

◆ TYPE_STARTUP_CONFIGURATION

Definition at line 85 of file xc430_reg.hpp.

◆ TYPE_STATUS_RETURN_LEVEL

Definition at line 98 of file xc430_reg.hpp.

◆ TYPE_TEMPERATURE_LIMIT

Definition at line 63 of file xc430_reg.hpp.

◆ TYPE_TORQUE_ENABLE

Definition at line 92 of file xc430_reg.hpp.

◆ TYPE_VELOCITY_LIMIT

Definition at line 75 of file xc430_reg.hpp.

◆ TYPE_VELOCITY_TRAJECTORY

Definition at line 150 of file xc430_reg.hpp.

Member Data Documentation

◆ ADDR_ALARM_SHUTDOWN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_ALARM_SHUTDOWN = 63
staticconstexpr

Definition at line 87 of file xc430_reg.hpp.

◆ ADDR_BAUDRATE

constexpr uint16_t ttl_driver::XC430Reg::ADDR_BAUDRATE = 8
staticconstexpr

Definition at line 47 of file xc430_reg.hpp.

◆ ADDR_BUS_WATCHDOG

constexpr uint16_t ttl_driver::XC430Reg::ADDR_BUS_WATCHDOG = 98
staticconstexpr

Definition at line 115 of file xc430_reg.hpp.

◆ ADDR_DRIVE_MODE

constexpr uint16_t ttl_driver::XC430Reg::ADDR_DRIVE_MODE = 10
staticconstexpr

Definition at line 53 of file xc430_reg.hpp.

◆ ADDR_FF1_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_FF1_GAIN = 90
staticconstexpr

Definition at line 113 of file xc430_reg.hpp.

◆ ADDR_FF2_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_FF2_GAIN = 88
staticconstexpr

Definition at line 112 of file xc430_reg.hpp.

◆ ADDR_FIRMWARE_VERSION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_FIRMWARE_VERSION = 6
staticconstexpr

Definition at line 41 of file xc430_reg.hpp.

◆ ADDR_GOAL_POSITION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_GOAL_POSITION = 116
staticconstexpr

Definition at line 128 of file xc430_reg.hpp.

◆ ADDR_GOAL_PWM

constexpr uint16_t ttl_driver::XC430Reg::ADDR_GOAL_PWM = 100
staticconstexpr

Definition at line 118 of file xc430_reg.hpp.

◆ ADDR_GOAL_VELOCITY

constexpr uint16_t ttl_driver::XC430Reg::ADDR_GOAL_VELOCITY = 104
staticconstexpr

Definition at line 121 of file xc430_reg.hpp.

◆ ADDR_HOMING_OFFSET

constexpr uint16_t ttl_driver::XC430Reg::ADDR_HOMING_OFFSET = 20
staticconstexpr

Definition at line 59 of file xc430_reg.hpp.

◆ ADDR_HW_ERROR_STATUS

constexpr uint16_t ttl_driver::XC430Reg::ADDR_HW_ERROR_STATUS = 70
staticconstexpr

Definition at line 103 of file xc430_reg.hpp.

◆ ADDR_ID

constexpr uint16_t ttl_driver::XC430Reg::ADDR_ID = 7
staticconstexpr

Definition at line 44 of file xc430_reg.hpp.

◆ ADDR_LED

constexpr uint16_t ttl_driver::XC430Reg::ADDR_LED = 65
staticconstexpr

Definition at line 94 of file xc430_reg.hpp.

◆ ADDR_MAX_POSITION_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MAX_POSITION_LIMIT = 48
staticconstexpr

Definition at line 77 of file xc430_reg.hpp.

◆ ADDR_MAX_VOLTAGE_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MAX_VOLTAGE_LIMIT = 32
staticconstexpr

Definition at line 65 of file xc430_reg.hpp.

◆ ADDR_MIN_POSITION_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MIN_POSITION_LIMIT = 52
staticconstexpr

Definition at line 80 of file xc430_reg.hpp.

◆ ADDR_MIN_VOLTAGE_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MIN_VOLTAGE_LIMIT = 34
staticconstexpr

Definition at line 68 of file xc430_reg.hpp.

◆ ADDR_MODEL_INFORMATION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MODEL_INFORMATION = 2
staticconstexpr

Definition at line 38 of file xc430_reg.hpp.

◆ ADDR_MODEL_NUMBER

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MODEL_NUMBER = 0
staticconstexpr

Definition at line 35 of file xc430_reg.hpp.

◆ ADDR_MOVING

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MOVING = 122
staticconstexpr

Definition at line 131 of file xc430_reg.hpp.

◆ ADDR_MOVING_STATUS

constexpr uint16_t ttl_driver::XC430Reg::ADDR_MOVING_STATUS = 123
staticconstexpr

Definition at line 134 of file xc430_reg.hpp.

◆ ADDR_OPERATING_MODE

constexpr uint16_t ttl_driver::XC430Reg::ADDR_OPERATING_MODE = 11
staticconstexpr

Definition at line 56 of file xc430_reg.hpp.

◆ ADDR_POSITION_D_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_POSITION_D_GAIN = 80
staticconstexpr

Definition at line 109 of file xc430_reg.hpp.

◆ ADDR_POSITION_I_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_POSITION_I_GAIN = 82
staticconstexpr

Definition at line 110 of file xc430_reg.hpp.

◆ ADDR_POSITION_P_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_POSITION_P_GAIN = 84
staticconstexpr

Definition at line 111 of file xc430_reg.hpp.

◆ ADDR_POSITION_TRAJECTORY

constexpr uint16_t ttl_driver::XC430Reg::ADDR_POSITION_TRAJECTORY = 140
staticconstexpr

Definition at line 152 of file xc430_reg.hpp.

◆ ADDR_PRESENT_LOAD

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PRESENT_LOAD = 126
staticconstexpr

Definition at line 140 of file xc430_reg.hpp.

◆ ADDR_PRESENT_POSITION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PRESENT_POSITION = 132
staticconstexpr

Definition at line 146 of file xc430_reg.hpp.

◆ ADDR_PRESENT_PWM

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PRESENT_PWM = 124
staticconstexpr

Definition at line 137 of file xc430_reg.hpp.

◆ ADDR_PRESENT_TEMPERATURE

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PRESENT_TEMPERATURE = 146
staticconstexpr

Definition at line 158 of file xc430_reg.hpp.

◆ ADDR_PRESENT_VELOCITY

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PRESENT_VELOCITY = 128
staticconstexpr

Definition at line 143 of file xc430_reg.hpp.

◆ ADDR_PRESENT_VOLTAGE

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PRESENT_VOLTAGE = 144
staticconstexpr

Definition at line 155 of file xc430_reg.hpp.

◆ ADDR_PROFILE_ACCELERATION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PROFILE_ACCELERATION = 108
staticconstexpr

Definition at line 125 of file xc430_reg.hpp.

◆ ADDR_PROFILE_VELOCITY

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PROFILE_VELOCITY = 112
staticconstexpr

Definition at line 126 of file xc430_reg.hpp.

◆ ADDR_PWM_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_PWM_LIMIT = 36
staticconstexpr

Definition at line 71 of file xc430_reg.hpp.

◆ ADDR_REGISTERED_INSTRUCTION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_REGISTERED_INSTRUCTION = 69
staticconstexpr

Definition at line 100 of file xc430_reg.hpp.

◆ ADDR_RETURN_DELAY_TIME

constexpr uint16_t ttl_driver::XC430Reg::ADDR_RETURN_DELAY_TIME = 9
staticconstexpr

Definition at line 50 of file xc430_reg.hpp.

◆ ADDR_STARTUP_CONFIGURATION

constexpr uint16_t ttl_driver::XC430Reg::ADDR_STARTUP_CONFIGURATION = 60
staticconstexpr

Definition at line 83 of file xc430_reg.hpp.

◆ ADDR_STATUS_RETURN_LEVEL

constexpr uint16_t ttl_driver::XC430Reg::ADDR_STATUS_RETURN_LEVEL = 68
staticconstexpr

Definition at line 97 of file xc430_reg.hpp.

◆ ADDR_TEMPERATURE_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_TEMPERATURE_LIMIT = 31
staticconstexpr

Definition at line 62 of file xc430_reg.hpp.

◆ ADDR_TORQUE_ENABLE

constexpr uint16_t ttl_driver::XC430Reg::ADDR_TORQUE_ENABLE = 64
staticconstexpr

Definition at line 91 of file xc430_reg.hpp.

◆ ADDR_VELOCITY_I_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_VELOCITY_I_GAIN = 76
staticconstexpr

Definition at line 107 of file xc430_reg.hpp.

◆ ADDR_VELOCITY_LIMIT

constexpr uint16_t ttl_driver::XC430Reg::ADDR_VELOCITY_LIMIT = 44
staticconstexpr

Definition at line 74 of file xc430_reg.hpp.

◆ ADDR_VELOCITY_P_GAIN

constexpr uint16_t ttl_driver::XC430Reg::ADDR_VELOCITY_P_GAIN = 78
staticconstexpr

Definition at line 108 of file xc430_reg.hpp.

◆ ADDR_VELOCITY_TRAJECTORY

constexpr uint16_t ttl_driver::XC430Reg::ADDR_VELOCITY_TRAJECTORY = 136
staticconstexpr

Definition at line 149 of file xc430_reg.hpp.

◆ MODEL_NUMBER

constexpr int ttl_driver::XC430Reg::MODEL_NUMBER = 1080
staticconstexpr

Definition at line 30 of file xc430_reg.hpp.

◆ motor_type

constexpr common::model::EHardwareType ttl_driver::XC430Reg::motor_type = common::model::EHardwareType::XC430
staticconstexpr

Definition at line 27 of file xc430_reg.hpp.

◆ PROTOCOL_VERSION

constexpr float ttl_driver::XC430Reg::PROTOCOL_VERSION = 2.0
staticconstexpr

Definition at line 29 of file xc430_reg.hpp.

◆ VERSION_STARTUP_CONFIGURATION

constexpr uint8_t ttl_driver::XC430Reg::VERSION_STARTUP_CONFIGURATION = 45
staticconstexpr

Definition at line 84 of file xc430_reg.hpp.

◆ VOLTAGE_CONVERSION

constexpr int ttl_driver::XC430Reg::VOLTAGE_CONVERSION = 10
staticconstexpr

Definition at line 31 of file xc430_reg.hpp.


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


ttl_driver
Author(s): Clement Cocquempot
autogenerated on Wed May 21 2025 08:30:15