仓库提交练习
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.

100 lines
3.8 KiB

/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_MSP_MK32_PB_H_INCLUDED
#define PB_MSP_MK32_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_MK32_Button {
int32_t RxIndex;
int32_t CH0_RY_H; /* 上1000,下-1000 */
int32_t CH1_RY_V; /* 上1000,下-1000 */
int32_t CH2_LY_V; /* 上1000,下-1000 */
int32_t CH3_LY_H; /* 上1000,下-1000 */
int32_t CH4_SA; /* 上-1000,下1000 */
int32_t CH5_SB; /* 上-1000,下1000 */
int32_t CH6_SC; /* 上-1000,下1000 */
int32_t CH7_SD; /* 上-1000,下1000 */
int32_t CH8_SE; /* 上-1000,下1000 */
int32_t CH9_SF; /* 上-1000,下1000 */
int32_t CH10_LD1;
int32_t CH11_RD1;
int32_t CH12_S1;
int32_t CH13_S2;
int32_t CH14_LT;
int32_t CH15_RT;
int32_t IsOnline;
} SP_MSP_MK32_Button;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define SP_MSP_MK32_Button_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}
#define SP_MSP_MK32_Button_init_zero {0, 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_MK32_Button_RxIndex_tag 1
#define SP_MSP_MK32_Button_CH0_RY_H_tag 2
#define SP_MSP_MK32_Button_CH1_RY_V_tag 3
#define SP_MSP_MK32_Button_CH2_LY_V_tag 4
#define SP_MSP_MK32_Button_CH3_LY_H_tag 5
#define SP_MSP_MK32_Button_CH4_SA_tag 6
#define SP_MSP_MK32_Button_CH5_SB_tag 7
#define SP_MSP_MK32_Button_CH6_SC_tag 8
#define SP_MSP_MK32_Button_CH7_SD_tag 9
#define SP_MSP_MK32_Button_CH8_SE_tag 10
#define SP_MSP_MK32_Button_CH9_SF_tag 11
#define SP_MSP_MK32_Button_CH10_LD1_tag 12
#define SP_MSP_MK32_Button_CH11_RD1_tag 13
#define SP_MSP_MK32_Button_CH12_S1_tag 14
#define SP_MSP_MK32_Button_CH13_S2_tag 15
#define SP_MSP_MK32_Button_CH14_LT_tag 16
#define SP_MSP_MK32_Button_CH15_RT_tag 17
#define SP_MSP_MK32_Button_IsOnline_tag 18
/* Struct field encoding specification for nanopb */
#define SP_MSP_MK32_Button_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, INT32, RxIndex, 1) \
X(a, STATIC, SINGULAR, INT32, CH0_RY_H, 2) \
X(a, STATIC, SINGULAR, INT32, CH1_RY_V, 3) \
X(a, STATIC, SINGULAR, INT32, CH2_LY_V, 4) \
X(a, STATIC, SINGULAR, INT32, CH3_LY_H, 5) \
X(a, STATIC, SINGULAR, INT32, CH4_SA, 6) \
X(a, STATIC, SINGULAR, INT32, CH5_SB, 7) \
X(a, STATIC, SINGULAR, INT32, CH6_SC, 8) \
X(a, STATIC, SINGULAR, INT32, CH7_SD, 9) \
X(a, STATIC, SINGULAR, INT32, CH8_SE, 10) \
X(a, STATIC, SINGULAR, INT32, CH9_SF, 11) \
X(a, STATIC, SINGULAR, INT32, CH10_LD1, 12) \
X(a, STATIC, SINGULAR, INT32, CH11_RD1, 13) \
X(a, STATIC, SINGULAR, INT32, CH12_S1, 14) \
X(a, STATIC, SINGULAR, INT32, CH13_S2, 15) \
X(a, STATIC, SINGULAR, INT32, CH14_LT, 16) \
X(a, STATIC, SINGULAR, INT32, CH15_RT, 17) \
X(a, STATIC, SINGULAR, INT32, IsOnline, 18)
#define SP_MSP_MK32_Button_CALLBACK NULL
#define SP_MSP_MK32_Button_DEFAULT NULL
extern const pb_msgdesc_t SP_MSP_MK32_Button_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define SP_MSP_MK32_Button_fields &SP_MSP_MK32_Button_msg
/* Maximum encoded size of messages (where known) */
#define MSP_MK32_PB_H_MAX_SIZE SP_MSP_MK32_Button_size
#define SP_MSP_MK32_Button_size 201
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif