You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

75 lines
2.6 KiB

/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_MSP_LEISAI_ISV2CAN_PB_H_INCLUDED
#define PB_MSP_LEISAI_ISV2CAN_PB_H_INCLUDED
#include "pb.h"
#if PB_PROTO_HEADER_VERSION != 40
#error Regenerate this file with the current version of nanopb generator.
#endif
/* Struct definitions */
typedef struct _ISV_MotorParameters {
int32_t MotorID;
int32_t Real_Current;
int32_t Target_Current;
int32_t Real_Velcity;
int32_t Target_Velcity;
int32_t Target_Position;
int32_t Real_Position;
int32_t TT_Motor_Fault;
int32_t AccTime;
int32_t DecTime;
} ISV_MotorParameters;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define ISV_MotorParameters_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
#define ISV_MotorParameters_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define ISV_MotorParameters_MotorID_tag 1
#define ISV_MotorParameters_Real_Current_tag 2
#define ISV_MotorParameters_Target_Current_tag 3
#define ISV_MotorParameters_Real_Velcity_tag 4
#define ISV_MotorParameters_Target_Velcity_tag 5
#define ISV_MotorParameters_Target_Position_tag 6
#define ISV_MotorParameters_Real_Position_tag 7
#define ISV_MotorParameters_TT_Motor_Fault_tag 8
#define ISV_MotorParameters_AccTime_tag 37
#define ISV_MotorParameters_DecTime_tag 38
/* Struct field encoding specification for nanopb */
#define ISV_MotorParameters_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, INT32, MotorID, 1) \
X(a, STATIC, SINGULAR, INT32, Real_Current, 2) \
X(a, STATIC, SINGULAR, INT32, Target_Current, 3) \
X(a, STATIC, SINGULAR, INT32, Real_Velcity, 4) \
X(a, STATIC, SINGULAR, INT32, Target_Velcity, 5) \
X(a, STATIC, SINGULAR, INT32, Target_Position, 6) \
X(a, STATIC, SINGULAR, INT32, Real_Position, 7) \
X(a, STATIC, SINGULAR, INT32, TT_Motor_Fault, 8) \
X(a, STATIC, SINGULAR, INT32, AccTime, 37) \
X(a, STATIC, SINGULAR, INT32, DecTime, 38)
#define ISV_MotorParameters_CALLBACK NULL
#define ISV_MotorParameters_DEFAULT NULL
extern const pb_msgdesc_t ISV_MotorParameters_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define ISV_MotorParameters_fields &ISV_MotorParameters_msg
/* Maximum encoded size of messages (where known) */
#define ISV_MotorParameters_size 112
#define MSP_LEISAI_ISV2CAN_PB_H_MAX_SIZE ISV_MotorParameters_size
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif