
/* #########################################################################
 * [2015-11-30 12:17:30.055000] 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 "SIM_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_sim_R_SCGC6_fields[15] = {
    PB_FIELD(  1, BOOL    , OPTIONAL, STATIC  , FIRST, teensy__3_1_sim_R_SCGC6, RTC, RTC, 0),
    PB_FIELD(  2, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, ADC0, RTC, 0),
    PB_FIELD(  3, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, FTM1, ADC0, 0),
    PB_FIELD(  4, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, FTM0, FTM1, 0),
    PB_FIELD(  5, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, PIT, FTM0, 0),
    PB_FIELD(  6, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, PDB, PIT, 0),
    PB_FIELD(  7, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, USBDCD, PDB, 0),
    PB_FIELD(  8, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, CRC, USBDCD, 0),
    PB_FIELD(  9, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, I2S, CRC, 0),
    PB_FIELD( 10, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, SPI1, I2S, 0),
    PB_FIELD( 11, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, SPI0, SPI1, 0),
    PB_FIELD( 12, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, FLEXCAN0, SPI0, 0),
    PB_FIELD( 13, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, DMAMUX, FLEXCAN0, 0),
    PB_FIELD( 14, BOOL    , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_R_SCGC6, FTFL, DMAMUX, 0),
    PB_LAST_FIELD
};

const pb_field_t teensy__3_1_sim_R_SCGC7_fields[2] = {
    PB_FIELD(  1, BOOL    , OPTIONAL, STATIC  , FIRST, teensy__3_1_sim_R_SCGC7, DMA, DMA, 0),
    PB_LAST_FIELD
};

const pb_field_t teensy__3_1_sim_Registers_fields[23] = {
    PB_FIELD(  1, UINT32  , OPTIONAL, STATIC  , FIRST, teensy__3_1_sim_Registers, SOPT1, SOPT1, 0),
    PB_FIELD(  2, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SOPT1CFG, SOPT1, 0),
    PB_FIELD(  3, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SOPT2, SOPT1CFG, 0),
    PB_FIELD(  4, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SOPT4, SOPT2, 0),
    PB_FIELD(  5, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SOPT5, SOPT4, 0),
    PB_FIELD(  6, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SOPT7, SOPT5, 0),
    PB_FIELD(  7, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SDID, SOPT7, 0),
    PB_FIELD(  8, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC1, SDID, 0),
    PB_FIELD(  9, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC2, SCGC1, 0),
    PB_FIELD( 10, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC3, SCGC2, 0),
    PB_FIELD( 11, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC4, SCGC3, 0),
    PB_FIELD( 12, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC5, SCGC4, 0),
    PB_FIELD( 13, MESSAGE , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC6, SCGC5, &teensy__3_1_sim_R_SCGC6_fields),
    PB_FIELD( 14, MESSAGE , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, SCGC7, SCGC6, &teensy__3_1_sim_R_SCGC7_fields),
    PB_FIELD( 15, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, CLKDIV1, SCGC7, 0),
    PB_FIELD( 16, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, CLKDIV2, CLKDIV1, 0),
    PB_FIELD( 17, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, FCFG1, CLKDIV2, 0),
    PB_FIELD( 18, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, FCFG2, FCFG1, 0),
    PB_FIELD( 19, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, UIDH, FCFG2, 0),
    PB_FIELD( 20, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, UIDMH, UIDH, 0),
    PB_FIELD( 21, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, UIDML, UIDMH, 0),
    PB_FIELD( 22, UINT32  , OPTIONAL, STATIC  , OTHER, teensy__3_1_sim_Registers, UIDL, UIDML, 0),
    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_sim_Registers, SCGC6) < 65536 && pb_membersize(teensy__3_1_sim_Registers, SCGC7) < 65536), YOU_MUST_DEFINE_PB_FIELD_32BIT_FOR_MESSAGES_teensy__3_1_sim_R_SCGC6_teensy__3_1_sim_R_SCGC7_teensy__3_1_sim_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_sim_Registers, SCGC6) < 256 && pb_membersize(teensy__3_1_sim_Registers, SCGC7) < 256), YOU_MUST_DEFINE_PB_FIELD_16BIT_FOR_MESSAGES_teensy__3_1_sim_R_SCGC6_teensy__3_1_sim_R_SCGC7_teensy__3_1_sim_Registers)
#endif


