/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.8 */ #ifndef PB_MSP_U7_PB_H_INCLUDED #define PB_MSP_U7_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 _SP_MSP_U7_Button { int32_t RxIndex; int32_t CH0_LYB_V; int32_t CH1_LYB_H; int32_t L1; /* int32 CH3_LYS_V= 4; */ int32_t L2; /* int32 CH4_LYS_H= 5; */ int32_t MODE; int32_t LU_pulley; int32_t RU_pulley; int32_t LU_Three; int32_t RU_Three; int32_t LU_Single; int32_t RU_Single; int32_t R1; int32_t R2; int32_t S3; int32_t IsOnline; int32_t S4; } SP_MSP_U7_Button; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define SP_MSP_U7_Button_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} #define SP_MSP_U7_Button_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} /* Field tags (for use in manual encoding/decoding) */ #define SP_MSP_U7_Button_RxIndex_tag 1 #define SP_MSP_U7_Button_CH0_LYB_V_tag 2 #define SP_MSP_U7_Button_CH1_LYB_H_tag 3 #define SP_MSP_U7_Button_L1_tag 4 #define SP_MSP_U7_Button_L2_tag 5 #define SP_MSP_U7_Button_MODE_tag 6 #define SP_MSP_U7_Button_LU_pulley_tag 7 #define SP_MSP_U7_Button_RU_pulley_tag 8 #define SP_MSP_U7_Button_LU_Three_tag 9 #define SP_MSP_U7_Button_RU_Three_tag 10 #define SP_MSP_U7_Button_LU_Single_tag 11 #define SP_MSP_U7_Button_RU_Single_tag 12 #define SP_MSP_U7_Button_R1_tag 13 #define SP_MSP_U7_Button_R2_tag 14 #define SP_MSP_U7_Button_S3_tag 15 #define SP_MSP_U7_Button_IsOnline_tag 16 #define SP_MSP_U7_Button_S4_tag 18 /* Struct field encoding specification for nanopb */ #define SP_MSP_U7_Button_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, INT32, RxIndex, 1) \ X(a, STATIC, SINGULAR, INT32, CH0_LYB_V, 2) \ X(a, STATIC, SINGULAR, INT32, CH1_LYB_H, 3) \ X(a, STATIC, SINGULAR, INT32, L1, 4) \ X(a, STATIC, SINGULAR, INT32, L2, 5) \ X(a, STATIC, SINGULAR, INT32, MODE, 6) \ X(a, STATIC, SINGULAR, INT32, LU_pulley, 7) \ X(a, STATIC, SINGULAR, INT32, RU_pulley, 8) \ X(a, STATIC, SINGULAR, INT32, LU_Three, 9) \ X(a, STATIC, SINGULAR, INT32, RU_Three, 10) \ X(a, STATIC, SINGULAR, INT32, LU_Single, 11) \ X(a, STATIC, SINGULAR, INT32, RU_Single, 12) \ X(a, STATIC, SINGULAR, INT32, R1, 13) \ X(a, STATIC, SINGULAR, INT32, R2, 14) \ X(a, STATIC, SINGULAR, INT32, S3, 15) \ X(a, STATIC, SINGULAR, INT32, IsOnline, 16) \ X(a, STATIC, SINGULAR, INT32, S4, 18) #define SP_MSP_U7_Button_CALLBACK NULL #define SP_MSP_U7_Button_DEFAULT NULL extern const pb_msgdesc_t SP_MSP_U7_Button_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define SP_MSP_U7_Button_fields &SP_MSP_U7_Button_msg /* Maximum encoded size of messages (where known) */ #define MSP_U7_PB_H_MAX_SIZE SP_MSP_U7_Button_size #define SP_MSP_U7_Button_size 189 #ifdef __cplusplus } /* extern "C" */ #endif #endif