/* Automatically generated nanopb header */ /* Generated by nanopb-0.4.8 */ #ifndef PB_BSP_IO_PB_H_INCLUDED #define PB_BSP_IO_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 _IO_Data { int32_t DO0; int32_t DO1; int32_t DO2; int32_t DO3; int32_t DO4; int32_t DO5; int32_t DI0; int32_t DI1; int32_t DI2; int32_t DI3; int32_t DI4; int32_t DI5; } IO_Data; #ifdef __cplusplus extern "C" { #endif /* Initializer values for message structs */ #define IO_Data_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} #define IO_Data_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0} /* Field tags (for use in manual encoding/decoding) */ #define IO_Data_DO0_tag 1 #define IO_Data_DO1_tag 2 #define IO_Data_DO2_tag 3 #define IO_Data_DO3_tag 4 #define IO_Data_DO4_tag 5 #define IO_Data_DO5_tag 6 #define IO_Data_DI0_tag 7 #define IO_Data_DI1_tag 8 #define IO_Data_DI2_tag 9 #define IO_Data_DI3_tag 10 #define IO_Data_DI4_tag 11 #define IO_Data_DI5_tag 12 /* Struct field encoding specification for nanopb */ #define IO_Data_FIELDLIST(X, a) \ X(a, STATIC, SINGULAR, INT32, DO0, 1) \ X(a, STATIC, SINGULAR, INT32, DO1, 2) \ X(a, STATIC, SINGULAR, INT32, DO2, 3) \ X(a, STATIC, SINGULAR, INT32, DO3, 4) \ X(a, STATIC, SINGULAR, INT32, DO4, 5) \ X(a, STATIC, SINGULAR, INT32, DO5, 6) \ X(a, STATIC, SINGULAR, INT32, DI0, 7) \ X(a, STATIC, SINGULAR, INT32, DI1, 8) \ X(a, STATIC, SINGULAR, INT32, DI2, 9) \ X(a, STATIC, SINGULAR, INT32, DI3, 10) \ X(a, STATIC, SINGULAR, INT32, DI4, 11) \ X(a, STATIC, SINGULAR, INT32, DI5, 12) #define IO_Data_CALLBACK NULL #define IO_Data_DEFAULT NULL extern const pb_msgdesc_t IO_Data_msg; /* Defines for backwards compatibility with code written before nanopb-0.4.0 */ #define IO_Data_fields &IO_Data_msg /* Maximum encoded size of messages (where known) */ #define BSP_IO_PB_H_MAX_SIZE IO_Data_size #define IO_Data_size 132 #ifdef __cplusplus } /* extern "C" */ #endif #endif