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.

70 lines
2.2 KiB

3 weeks ago
/* Automatically generated nanopb header */
/* Generated by nanopb-0.4.8 */
#ifndef PB_MSP_MPU6050_PB_H_INCLUDED
#define PB_MSP_MPU6050_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_BSP_MPU6050 {
int32_t MPU_Pitch; /* 10 */
int32_t MPU_Roll;
int32_t MPU_Gro_X;
int32_t MPU_Gro_Y;
int32_t MPU_Gro_Z;
int32_t MPU_Acc_X;
int32_t MPU_Acc_Y;
int32_t MPU_Acc_Z;
} SP_BSP_MPU6050;
#ifdef __cplusplus
extern "C" {
#endif
/* Initializer values for message structs */
#define SP_BSP_MPU6050_init_default {0, 0, 0, 0, 0, 0, 0, 0}
#define SP_BSP_MPU6050_init_zero {0, 0, 0, 0, 0, 0, 0, 0}
/* Field tags (for use in manual encoding/decoding) */
#define SP_BSP_MPU6050_MPU_Pitch_tag 1
#define SP_BSP_MPU6050_MPU_Roll_tag 2
#define SP_BSP_MPU6050_MPU_Gro_X_tag 3
#define SP_BSP_MPU6050_MPU_Gro_Y_tag 4
#define SP_BSP_MPU6050_MPU_Gro_Z_tag 5
#define SP_BSP_MPU6050_MPU_Acc_X_tag 6
#define SP_BSP_MPU6050_MPU_Acc_Y_tag 7
#define SP_BSP_MPU6050_MPU_Acc_Z_tag 8
/* Struct field encoding specification for nanopb */
#define SP_BSP_MPU6050_FIELDLIST(X, a) \
X(a, STATIC, SINGULAR, INT32, MPU_Pitch, 1) \
X(a, STATIC, SINGULAR, INT32, MPU_Roll, 2) \
X(a, STATIC, SINGULAR, INT32, MPU_Gro_X, 3) \
X(a, STATIC, SINGULAR, INT32, MPU_Gro_Y, 4) \
X(a, STATIC, SINGULAR, INT32, MPU_Gro_Z, 5) \
X(a, STATIC, SINGULAR, INT32, MPU_Acc_X, 6) \
X(a, STATIC, SINGULAR, INT32, MPU_Acc_Y, 7) \
X(a, STATIC, SINGULAR, INT32, MPU_Acc_Z, 8)
#define SP_BSP_MPU6050_CALLBACK NULL
#define SP_BSP_MPU6050_DEFAULT NULL
extern const pb_msgdesc_t SP_BSP_MPU6050_msg;
/* Defines for backwards compatibility with code written before nanopb-0.4.0 */
#define SP_BSP_MPU6050_fields &SP_BSP_MPU6050_msg
/* Maximum encoded size of messages (where known) */
#define MSP_MPU6050_PB_H_MAX_SIZE SP_BSP_MPU6050_size
#define SP_BSP_MPU6050_size 88
#ifdef __cplusplus
} /* extern "C" */
#endif
#endif