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

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

#include "PIT_pb.h"

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



const pb_field_t teensy__3_1_pit_R_MCR_fields[3] = {
    PB_FIELD(  1, BOOL    , OPTIONAL, STATIC  , FIRST, teensy__3_1_pit_R_MCR, MDIS, MDIS, 0),
    PB_FIELD(  2, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_pit_R_MCR, FRZ, MDIS, 0),
    PB_LAST_FIELD
};

const pb_field_t teensy__3_1_pit_R_TCTRL_fields[4] = {
    PB_FIELD(  1, BOOL    , OPTIONAL, STATIC  , FIRST, teensy__3_1_pit_R_TCTRL, CHN, CHN, 0),
    PB_FIELD(  2, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_pit_R_TCTRL, TIE, CHN, 0),
    PB_FIELD(  3, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_pit_R_TCTRL, TEN, TIE, 0),
    PB_LAST_FIELD
};

const pb_field_t teensy__3_1_pit_R_TFLG_fields[2] = {
    PB_FIELD(  1, BOOL    , OPTIONAL, STATIC  , FIRST, teensy__3_1_pit_R_TFLG, TIF, TIF, 0),
    PB_LAST_FIELD
};

const pb_field_t teensy__3_1_pit_TimerConfig_fields[5] = {
    PB_FIELD(  1, UINT32  , OPTIONAL, STATIC  , FIRST, teensy__3_1_pit_TimerConfig, LDVAL, LDVAL, 0),
    PB_FIELD(  2, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_pit_TimerConfig, CVAL, LDVAL, 0),
    PB_FIELD(  3, MESSAGE , OPTIONAL, STATIC  , OTHER, teensy__3_1_pit_TimerConfig, TCTRL, CVAL, &teensy__3_1_pit_R_TCTRL_fields),
    PB_FIELD(  4, MESSAGE , OPTIONAL, STATIC  , OTHER, teensy__3_1_pit_TimerConfig, TFLG, TCTRL, &teensy__3_1_pit_R_TFLG_fields),
    PB_LAST_FIELD
};

const pb_field_t teensy__3_1_pit_Registers_fields[2] = {
    PB_FIELD(  1, MESSAGE , OPTIONAL, STATIC  , FIRST, teensy__3_1_pit_Registers, MCR, MCR, &teensy__3_1_pit_R_MCR_fields),
    PB_LAST_FIELD
};


/* Check that field information fits in pb_field_t */
#if !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_32BIT
 * compile-time option. You can do that in pb.h or on compiler command line.
 * 
 * The reason you need to do this is that some of your messages contain tag
 * numbers or field sizes that are larger than what can fit in 8 or 16 bit
 * field descriptors.
 */
PB_STATIC_ASSERT((pb_membersize(teensy__3_1_pit_TimerConfig, TCTRL) < 65536 && pb_membersize(teensy__3_1_pit_TimerConfig, TFLG) < 65536 && pb_membersize(teensy__3_1_pit_Registers, MCR) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_teensy__3_1_pit_R_MCR_teensy__3_1_pit_R_TCTRL_teensy__3_1_pit_R_TFLG_teensy__3_1_pit_TimerConfig_teensy__3_1_pit_Registers)
#endif

#if !defined(PB_FIELD_16BIT) && !defined(PB_FIELD_32BIT)
/* If you get an error here, it means that you need to define PB_FIELD_16BIT
 * compile-time option. You can do that in pb.h or on compiler command line.
 * 
 * The reason you need to do this is that some of your messages contain tag
 * numbers or field sizes that are larger than what can fit in the default
 * 8 bit descriptors.
 */
PB_STATIC_ASSERT((pb_membersize(teensy__3_1_pit_TimerConfig, TCTRL) < 256 && pb_membersize(teensy__3_1_pit_TimerConfig, TFLG) < 256 && pb_membersize(teensy__3_1_pit_Registers, MCR) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_teensy__3_1_pit_R_MCR_teensy__3_1_pit_R_TCTRL_teensy__3_1_pit_R_TFLG_teensy__3_1_pit_TimerConfig_teensy__3_1_pit_Registers)
#endif


