
/* #########################################################################
 * [2015-11-30 12:17:29.670000] THIS FILE IS AUTOGENERATED - DO NOT EDIT!
 * ######################################################################### */

/* Automatically generated nanopb header */
/* Generated by nanopb-0.3.2 at Mon Nov 30 12:17:29 2015. */

#ifndef PB__TEENSY_MINIMAL_RPC__PIT_PB_H_INCLUDED
#define PB__TEENSY_MINIMAL_RPC__PIT_PB_H_INCLUDED
#include <pb.h>

#if PB_PROTO_HEADER_VERSION != 30
#error Regenerate this file with the current version of nanopb generator.
#endif

#ifdef __cplusplus
extern "C" {
#endif

/* Enum definitions */
/* Struct definitions */
typedef struct _teensy__3_1_pit_R_MCR {
    bool has_MDIS;
    bool MDIS;
    bool has_FRZ;
    bool FRZ;
} teensy__3_1_pit_R_MCR;

typedef struct _teensy__3_1_pit_R_TCTRL {
    bool has_CHN;
    bool CHN;
    bool has_TIE;
    bool TIE;
    bool has_TEN;
    bool TEN;
} teensy__3_1_pit_R_TCTRL;

typedef struct _teensy__3_1_pit_R_TFLG {
    bool has_TIF;
    bool TIF;
} teensy__3_1_pit_R_TFLG;

typedef struct _teensy__3_1_pit_Registers {
    bool has_MCR;
    teensy__3_1_pit_R_MCR MCR;
} teensy__3_1_pit_Registers;

typedef struct _teensy__3_1_pit_TimerConfig {
    bool has_LDVAL;
    uint32_t LDVAL;
    bool has_CVAL;
    uint32_t CVAL;
    bool has_TCTRL;
    teensy__3_1_pit_R_TCTRL TCTRL;
    bool has_TFLG;
    teensy__3_1_pit_R_TFLG TFLG;
} teensy__3_1_pit_TimerConfig;

/* Default values for struct fields */

/* Initializer values for message structs */
#define teensy__3_1_pit_R_MCR_init_default       {false, 0, false, 0}
#define teensy__3_1_pit_R_TCTRL_init_default     {false, 0, false, 0, false, 0}
#define teensy__3_1_pit_R_TFLG_init_default      {false, 0}
#define teensy__3_1_pit_TimerConfig_init_default {false, 0, false, 0, false, teensy__3_1_pit_R_TCTRL_init_default, false, teensy__3_1_pit_R_TFLG_init_default}
#define teensy__3_1_pit_Registers_init_default   {false, teensy__3_1_pit_R_MCR_init_default}
#define teensy__3_1_pit_R_MCR_init_zero          {false, 0, false, 0}
#define teensy__3_1_pit_R_TCTRL_init_zero        {false, 0, false, 0, false, 0}
#define teensy__3_1_pit_R_TFLG_init_zero         {false, 0}
#define teensy__3_1_pit_TimerConfig_init_zero    {false, 0, false, 0, false, teensy__3_1_pit_R_TCTRL_init_zero, false, teensy__3_1_pit_R_TFLG_init_zero}
#define teensy__3_1_pit_Registers_init_zero      {false, teensy__3_1_pit_R_MCR_init_zero}

/* Field tags (for use in manual encoding/decoding) */
#define teensy__3_1_pit_R_MCR_MDIS_tag           1
#define teensy__3_1_pit_R_MCR_FRZ_tag            2
#define teensy__3_1_pit_R_TCTRL_CHN_tag          1
#define teensy__3_1_pit_R_TCTRL_TIE_tag          2
#define teensy__3_1_pit_R_TCTRL_TEN_tag          3
#define teensy__3_1_pit_R_TFLG_TIF_tag           1
#define teensy__3_1_pit_Registers_MCR_tag        1
#define teensy__3_1_pit_TimerConfig_LDVAL_tag    1
#define teensy__3_1_pit_TimerConfig_CVAL_tag     2
#define teensy__3_1_pit_TimerConfig_TCTRL_tag    3
#define teensy__3_1_pit_TimerConfig_TFLG_tag     4

/* Struct field encoding specification for nanopb */
extern const pb_field_t teensy__3_1_pit_R_MCR_fields[3];
extern const pb_field_t teensy__3_1_pit_R_TCTRL_fields[4];
extern const pb_field_t teensy__3_1_pit_R_TFLG_fields[2];
extern const pb_field_t teensy__3_1_pit_TimerConfig_fields[5];
extern const pb_field_t teensy__3_1_pit_Registers_fields[2];

/* Maximum encoded size of messages (where known) */
#define teensy__3_1_pit_R_MCR_size               4
#define teensy__3_1_pit_R_TCTRL_size             6
#define teensy__3_1_pit_R_TFLG_size              2
#define teensy__3_1_pit_TimerConfig_size         24
#define teensy__3_1_pit_Registers_size           6

#ifdef __cplusplus
} /* extern "C" */
#endif

#endif
