#include <cstdint>
Go to the source code of this file.
|
enum | CFG_T {
CFG_T_UNDEFINED = 0,
CFG_T_DOUBLE,
CFG_T_INT,
CFG_T_QSTRING,
CFG_T_ENUM,
CFG_T_BOOL
} |
|
enum | COMM_PACKET_ID {
COMM_FW_VERSION = 0,
COMM_JUMP_TO_BOOTLOADER,
COMM_ERASE_NEW_APP,
COMM_WRITE_NEW_APP_DATA,
COMM_GET_VALUES,
COMM_SET_DUTY,
COMM_SET_CURRENT,
COMM_SET_CURRENT_BRAKE,
COMM_SET_RPM,
COMM_SET_POS,
COMM_SET_HANDBRAKE,
COMM_SET_DETECT,
COMM_SET_SERVO_POS,
COMM_SET_MCCONF,
COMM_GET_MCCONF,
COMM_GET_MCCONF_DEFAULT,
COMM_SET_APPCONF,
COMM_GET_APPCONF,
COMM_GET_APPCONF_DEFAULT,
COMM_SAMPLE_PRINT,
COMM_TERMINAL_CMD,
COMM_PRINT,
COMM_ROTOR_POSITION,
COMM_EXPERIMENT_SAMPLE,
COMM_DETECT_MOTOR_PARAM,
COMM_DETECT_MOTOR_R_L,
COMM_DETECT_MOTOR_FLUX_LINKAGE,
COMM_DETECT_ENCODER,
COMM_DETECT_HALL_FOC,
COMM_REBOOT,
COMM_ALIVE,
COMM_GET_DECODED_PPM,
COMM_GET_DECODED_ADC,
COMM_GET_DECODED_CHUK,
COMM_FORWARD_CAN,
COMM_SET_CHUCK_DATA,
COMM_CUSTOM_APP_DATA,
COMM_NRF_START_PAIRING
} |
|
enum | debug_sampling_mode {
DEBUG_SAMPLING_OFF = 0,
DEBUG_SAMPLING_NOW,
DEBUG_SAMPLING_START,
DEBUG_SAMPLING_TRIGGER_START,
DEBUG_SAMPLING_TRIGGER_FAULT,
DEBUG_SAMPLING_TRIGGER_START_NOSEND,
DEBUG_SAMPLING_TRIGGER_FAULT_NOSEND,
DEBUG_SAMPLING_SEND_LAST_SAMPLES
} |
|
enum | disp_pos_mode {
DISP_POS_MODE_NONE = 0,
DISP_POS_MODE_INDUCTANCE,
DISP_POS_MODE_OBSERVER,
DISP_POS_MODE_ENCODER,
DISP_POS_MODE_PID_POS,
DISP_POS_MODE_PID_POS_ERROR,
DISP_POS_MODE_ENCODER_OBSERVER_ERROR
} |
|
enum | mc_fault_code {
FAULT_CODE_NONE = 0,
FAULT_CODE_OVER_VOLTAGE,
FAULT_CODE_UNDER_VOLTAGE,
FAULT_CODE_DRV,
FAULT_CODE_ABS_OVER_CURRENT,
FAULT_CODE_OVER_TEMP_FET,
FAULT_CODE_OVER_TEMP_MOTOR
} |
|
enum | NRF_PAIR_RES { NRF_PAIR_STARTED = 0,
NRF_PAIR_OK,
NRF_PAIR_FAIL
} |
|
enum | VESC_TX_T {
VESC_TX_UNDEFINED = 0,
VESC_TX_UINT8,
VESC_TX_INT8,
VESC_TX_UINT16,
VESC_TX_INT16,
VESC_TX_UINT32,
VESC_TX_INT32,
VESC_TX_DOUBLE16,
VESC_TX_DOUBLE32,
VESC_TX_DOUBLE32_AUTO
} |
|
Enumerator |
---|
CFG_T_UNDEFINED |
|
CFG_T_DOUBLE |
|
CFG_T_INT |
|
CFG_T_QSTRING |
|
CFG_T_ENUM |
|
CFG_T_BOOL |
|
Definition at line 56 of file datatypes.h.
Enumerator |
---|
COMM_FW_VERSION |
|
COMM_JUMP_TO_BOOTLOADER |
|
COMM_ERASE_NEW_APP |
|
COMM_WRITE_NEW_APP_DATA |
|
COMM_GET_VALUES |
|
COMM_SET_DUTY |
|
COMM_SET_CURRENT |
|
COMM_SET_CURRENT_BRAKE |
|
COMM_SET_RPM |
|
COMM_SET_POS |
|
COMM_SET_HANDBRAKE |
|
COMM_SET_DETECT |
|
COMM_SET_SERVO_POS |
|
COMM_SET_MCCONF |
|
COMM_GET_MCCONF |
|
COMM_GET_MCCONF_DEFAULT |
|
COMM_SET_APPCONF |
|
COMM_GET_APPCONF |
|
COMM_GET_APPCONF_DEFAULT |
|
COMM_SAMPLE_PRINT |
|
COMM_TERMINAL_CMD |
|
COMM_PRINT |
|
COMM_ROTOR_POSITION |
|
COMM_EXPERIMENT_SAMPLE |
|
COMM_DETECT_MOTOR_PARAM |
|
COMM_DETECT_MOTOR_R_L |
|
COMM_DETECT_MOTOR_FLUX_LINKAGE |
|
COMM_DETECT_ENCODER |
|
COMM_DETECT_HALL_FOC |
|
COMM_REBOOT |
|
COMM_ALIVE |
|
COMM_GET_DECODED_PPM |
|
COMM_GET_DECODED_ADC |
|
COMM_GET_DECODED_CHUK |
|
COMM_FORWARD_CAN |
|
COMM_SET_CHUCK_DATA |
|
COMM_CUSTOM_APP_DATA |
|
COMM_NRF_START_PAIRING |
|
Definition at line 141 of file datatypes.h.
Enumerator |
---|
DEBUG_SAMPLING_OFF |
|
DEBUG_SAMPLING_NOW |
|
DEBUG_SAMPLING_START |
|
DEBUG_SAMPLING_TRIGGER_START |
|
DEBUG_SAMPLING_TRIGGER_FAULT |
|
DEBUG_SAMPLING_TRIGGER_START_NOSEND |
|
DEBUG_SAMPLING_TRIGGER_FAULT_NOSEND |
|
DEBUG_SAMPLING_SEND_LAST_SAMPLES |
|
Definition at line 128 of file datatypes.h.
Enumerator |
---|
DISP_POS_MODE_NONE |
|
DISP_POS_MODE_INDUCTANCE |
|
DISP_POS_MODE_OBSERVER |
|
DISP_POS_MODE_ENCODER |
|
DISP_POS_MODE_PID_POS |
|
DISP_POS_MODE_PID_POS_ERROR |
|
DISP_POS_MODE_ENCODER_OBSERVER_ERROR |
|
Definition at line 94 of file datatypes.h.
Enumerator |
---|
FAULT_CODE_NONE |
|
FAULT_CODE_OVER_VOLTAGE |
|
FAULT_CODE_UNDER_VOLTAGE |
|
FAULT_CODE_DRV |
|
FAULT_CODE_ABS_OVER_CURRENT |
|
FAULT_CODE_OVER_TEMP_FET |
|
FAULT_CODE_OVER_TEMP_MOTOR |
|
Definition at line 82 of file datatypes.h.
Enumerator |
---|
NRF_PAIR_STARTED |
|
NRF_PAIR_OK |
|
NRF_PAIR_FAIL |
|
Definition at line 204 of file datatypes.h.
Enumerator |
---|
VESC_TX_UNDEFINED |
|
VESC_TX_UINT8 |
|
VESC_TX_INT8 |
|
VESC_TX_UINT16 |
|
VESC_TX_INT16 |
|
VESC_TX_UINT32 |
|
VESC_TX_INT32 |
|
VESC_TX_DOUBLE16 |
|
VESC_TX_DOUBLE32 |
|
VESC_TX_DOUBLE32_AUTO |
|
Definition at line 67 of file datatypes.h.