/*
 *  Do not modify this file; it is automatically 
 *  generated and any modifications will be overwritten.
 *
 * @(#) xdc-x20
 */

/*
 * ======== GENERATED SECTIONS ========
 *     
 *     PROLOGUE
 *     INCLUDES
 *     
 *     INTERNAL DEFINITIONS
 *     MODULE-WIDE CONFIGS
 *     FUNCTION DECLARATIONS
 *     SYSTEM FUNCTIONS
 *     
 *     EPILOGUE
 *     STATE STRUCTURES
 *     PREFIX ALIASES
 */


/*
 * ======== PROLOGUE ========
 */

#ifndef ti_uiactools_runtime_EventHdr__include
#define ti_uiactools_runtime_EventHdr__include

#ifndef __nested__
#define __nested__
#define ti_uiactools_runtime_EventHdr__top__
#endif

#ifdef __cplusplus
#define __extern extern "C"
#else
#define __extern extern
#endif

#define ti_uiactools_runtime_EventHdr___VERS 150


/*
 * ======== INCLUDES ========
 */

#include <xdc/std.h>

#include <xdc/runtime/xdc.h>
#include <xdc/runtime/Types.h>
#include <ti/uiactools/runtime/EventHdr__prologue.h>
#include <ti/uiactools/runtime/package/package.defs.h>

#include <xdc/runtime/IModule.h>


/*
 * ======== AUXILIARY DEFINITIONS ========
 */

/* HdrType */
enum ti_uiactools_runtime_EventHdr_HdrType {
    ti_uiactools_runtime_EventHdr_HdrType_Event = 0,
    ti_uiactools_runtime_EventHdr_HdrType_EventWithTimestamp = 1,
    ti_uiactools_runtime_EventHdr_HdrType_EventWithSnapshotId = 2,
    ti_uiactools_runtime_EventHdr_HdrType_EventWithSnapshotIdAndTimestamp = 3,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved4 = 4,
    ti_uiactools_runtime_EventHdr_HdrType_EventWithTimestampAndEndpointId = 5,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved6 = 6,
    ti_uiactools_runtime_EventHdr_HdrType_EventWithSnapshotIdAndTimestampAndEndpointId = 7,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved8 = 8,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved9 = 9,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved10 = 10,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved11 = 11,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved12 = 12,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved13 = 13,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved14 = 14,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved15 = 15,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved16 = 16,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved17 = 17,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved18 = 18,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved19 = 19,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved20 = 20,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved21 = 21,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved22 = 22,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved23 = 23,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved24 = 24,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved25 = 25,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved26 = 26,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved27 = 27,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved28 = 28,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved29 = 29,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved30 = 30,
    ti_uiactools_runtime_EventHdr_HdrType_Reserved31 = 31
};
typedef enum ti_uiactools_runtime_EventHdr_HdrType ti_uiactools_runtime_EventHdr_HdrType;


/*
 * ======== INTERNAL DEFINITIONS ========
 */


/*
 * ======== MODULE-WIDE CONFIGS ========
 */

/* Module__diagsEnabled */
typedef xdc_Bits32 CT__ti_uiactools_runtime_EventHdr_Module__diagsEnabled;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__diagsEnabled ti_uiactools_runtime_EventHdr_Module__diagsEnabled__C;

/* Module__diagsIncluded */
typedef xdc_Bits32 CT__ti_uiactools_runtime_EventHdr_Module__diagsIncluded;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__diagsIncluded ti_uiactools_runtime_EventHdr_Module__diagsIncluded__C;

/* Module__diagsMask */
typedef xdc_Bits16* CT__ti_uiactools_runtime_EventHdr_Module__diagsMask;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__diagsMask ti_uiactools_runtime_EventHdr_Module__diagsMask__C;

/* Module__gateObj */
typedef xdc_Ptr CT__ti_uiactools_runtime_EventHdr_Module__gateObj;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__gateObj ti_uiactools_runtime_EventHdr_Module__gateObj__C;

/* Module__gatePrms */
typedef xdc_Ptr CT__ti_uiactools_runtime_EventHdr_Module__gatePrms;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__gatePrms ti_uiactools_runtime_EventHdr_Module__gatePrms__C;

/* Module__id */
typedef xdc_runtime_Types_ModuleId CT__ti_uiactools_runtime_EventHdr_Module__id;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__id ti_uiactools_runtime_EventHdr_Module__id__C;

/* Module__loggerDefined */
typedef xdc_Bool CT__ti_uiactools_runtime_EventHdr_Module__loggerDefined;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerDefined ti_uiactools_runtime_EventHdr_Module__loggerDefined__C;

/* Module__loggerObj */
typedef xdc_Ptr CT__ti_uiactools_runtime_EventHdr_Module__loggerObj;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerObj ti_uiactools_runtime_EventHdr_Module__loggerObj__C;

/* Module__loggerFxn0 */
typedef xdc_runtime_Types_LoggerFxn0 CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn0;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn0 ti_uiactools_runtime_EventHdr_Module__loggerFxn0__C;

/* Module__loggerFxn1 */
typedef xdc_runtime_Types_LoggerFxn1 CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn1;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn1 ti_uiactools_runtime_EventHdr_Module__loggerFxn1__C;

/* Module__loggerFxn2 */
typedef xdc_runtime_Types_LoggerFxn2 CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn2;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn2 ti_uiactools_runtime_EventHdr_Module__loggerFxn2__C;

/* Module__loggerFxn4 */
typedef xdc_runtime_Types_LoggerFxn4 CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn4;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn4 ti_uiactools_runtime_EventHdr_Module__loggerFxn4__C;

/* Module__loggerFxn8 */
typedef xdc_runtime_Types_LoggerFxn8 CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn8;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__loggerFxn8 ti_uiactools_runtime_EventHdr_Module__loggerFxn8__C;

/* Module__startupDoneFxn */
typedef xdc_Bool (*CT__ti_uiactools_runtime_EventHdr_Module__startupDoneFxn)(void);
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Module__startupDoneFxn ti_uiactools_runtime_EventHdr_Module__startupDoneFxn__C;

/* Object__count */
typedef xdc_Int CT__ti_uiactools_runtime_EventHdr_Object__count;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Object__count ti_uiactools_runtime_EventHdr_Object__count__C;

/* Object__heap */
typedef xdc_runtime_IHeap_Handle CT__ti_uiactools_runtime_EventHdr_Object__heap;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Object__heap ti_uiactools_runtime_EventHdr_Object__heap__C;

/* Object__sizeof */
typedef xdc_SizeT CT__ti_uiactools_runtime_EventHdr_Object__sizeof;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Object__sizeof ti_uiactools_runtime_EventHdr_Object__sizeof__C;

/* Object__table */
typedef xdc_Ptr CT__ti_uiactools_runtime_EventHdr_Object__table;
__extern __FAR__ const CT__ti_uiactools_runtime_EventHdr_Object__table ti_uiactools_runtime_EventHdr_Object__table__C;


/*
 * ======== FUNCTION DECLARATIONS ========
 */

/* Module_startup */
#define ti_uiactools_runtime_EventHdr_Module_startup( state ) -1

/* Module__startupDone__S */
xdc__CODESECT(ti_uiactools_runtime_EventHdr_Module__startupDone__S, "ti_uiactools_runtime_EventHdr_Module__startupDone")
__extern xdc_Bool ti_uiactools_runtime_EventHdr_Module__startupDone__S( void );


/*
 * ======== SYSTEM FUNCTIONS ========
 */

/* Module_startupDone */
#define ti_uiactools_runtime_EventHdr_Module_startupDone() ti_uiactools_runtime_EventHdr_Module__startupDone__S()

/* Object_heap */
#define ti_uiactools_runtime_EventHdr_Object_heap() ti_uiactools_runtime_EventHdr_Object__heap__C

/* Module_heap */
#define ti_uiactools_runtime_EventHdr_Module_heap() ti_uiactools_runtime_EventHdr_Object__heap__C

/* Module_id */
static inline CT__ti_uiactools_runtime_EventHdr_Module__id ti_uiactools_runtime_EventHdr_Module_id( void ) 
{
    return ti_uiactools_runtime_EventHdr_Module__id__C;
}

/* Module_hasMask */
static inline xdc_Bool ti_uiactools_runtime_EventHdr_Module_hasMask( void ) 
{
    return ti_uiactools_runtime_EventHdr_Module__diagsMask__C != NULL;
}

/* Module_getMask */
static inline xdc_Bits16 ti_uiactools_runtime_EventHdr_Module_getMask( void ) 
{
    return ti_uiactools_runtime_EventHdr_Module__diagsMask__C != NULL ? *ti_uiactools_runtime_EventHdr_Module__diagsMask__C : 0;
}

/* Module_setMask */
static inline xdc_Void ti_uiactools_runtime_EventHdr_Module_setMask( xdc_Bits16 mask ) 
{
    if (ti_uiactools_runtime_EventHdr_Module__diagsMask__C != NULL) *ti_uiactools_runtime_EventHdr_Module__diagsMask__C = mask;
}


/*
 * ======== EPILOGUE ========
 */

#include <ti/uiactools/runtime/EventHdr__epilogue.h>

#ifdef ti_uiactools_runtime_EventHdr__top__
#undef __nested__
#endif

#endif /* ti_uiactools_runtime_EventHdr__include */


/*
 * ======== STATE STRUCTURES ========
 */

#if defined(__config__) || (!defined(__nested__) && defined(ti_uiactools_runtime_EventHdr__internalaccess))

#ifndef ti_uiactools_runtime_EventHdr__include_state
#define ti_uiactools_runtime_EventHdr__include_state


#endif /* ti_uiactools_runtime_EventHdr__include_state */

#endif

/*
 * ======== PREFIX ALIASES ========
 */

#if !defined(__nested__) && !defined(ti_uiactools_runtime_EventHdr__nolocalnames)

#ifndef ti_uiactools_runtime_EventHdr__localnames__done
#define ti_uiactools_runtime_EventHdr__localnames__done

/* module prefix */
#define EventHdr_HdrType ti_uiactools_runtime_EventHdr_HdrType
#define EventHdr_HdrType_Event ti_uiactools_runtime_EventHdr_HdrType_Event
#define EventHdr_HdrType_EventWithTimestamp ti_uiactools_runtime_EventHdr_HdrType_EventWithTimestamp
#define EventHdr_HdrType_EventWithSnapshotId ti_uiactools_runtime_EventHdr_HdrType_EventWithSnapshotId
#define EventHdr_HdrType_EventWithSnapshotIdAndTimestamp ti_uiactools_runtime_EventHdr_HdrType_EventWithSnapshotIdAndTimestamp
#define EventHdr_HdrType_Reserved4 ti_uiactools_runtime_EventHdr_HdrType_Reserved4
#define EventHdr_HdrType_EventWithTimestampAndEndpointId ti_uiactools_runtime_EventHdr_HdrType_EventWithTimestampAndEndpointId
#define EventHdr_HdrType_Reserved6 ti_uiactools_runtime_EventHdr_HdrType_Reserved6
#define EventHdr_HdrType_EventWithSnapshotIdAndTimestampAndEndpointId ti_uiactools_runtime_EventHdr_HdrType_EventWithSnapshotIdAndTimestampAndEndpointId
#define EventHdr_HdrType_Reserved8 ti_uiactools_runtime_EventHdr_HdrType_Reserved8
#define EventHdr_HdrType_Reserved9 ti_uiactools_runtime_EventHdr_HdrType_Reserved9
#define EventHdr_HdrType_Reserved10 ti_uiactools_runtime_EventHdr_HdrType_Reserved10
#define EventHdr_HdrType_Reserved11 ti_uiactools_runtime_EventHdr_HdrType_Reserved11
#define EventHdr_HdrType_Reserved12 ti_uiactools_runtime_EventHdr_HdrType_Reserved12
#define EventHdr_HdrType_Reserved13 ti_uiactools_runtime_EventHdr_HdrType_Reserved13
#define EventHdr_HdrType_Reserved14 ti_uiactools_runtime_EventHdr_HdrType_Reserved14
#define EventHdr_HdrType_Reserved15 ti_uiactools_runtime_EventHdr_HdrType_Reserved15
#define EventHdr_HdrType_Reserved16 ti_uiactools_runtime_EventHdr_HdrType_Reserved16
#define EventHdr_HdrType_Reserved17 ti_uiactools_runtime_EventHdr_HdrType_Reserved17
#define EventHdr_HdrType_Reserved18 ti_uiactools_runtime_EventHdr_HdrType_Reserved18
#define EventHdr_HdrType_Reserved19 ti_uiactools_runtime_EventHdr_HdrType_Reserved19
#define EventHdr_HdrType_Reserved20 ti_uiactools_runtime_EventHdr_HdrType_Reserved20
#define EventHdr_HdrType_Reserved21 ti_uiactools_runtime_EventHdr_HdrType_Reserved21
#define EventHdr_HdrType_Reserved22 ti_uiactools_runtime_EventHdr_HdrType_Reserved22
#define EventHdr_HdrType_Reserved23 ti_uiactools_runtime_EventHdr_HdrType_Reserved23
#define EventHdr_HdrType_Reserved24 ti_uiactools_runtime_EventHdr_HdrType_Reserved24
#define EventHdr_HdrType_Reserved25 ti_uiactools_runtime_EventHdr_HdrType_Reserved25
#define EventHdr_HdrType_Reserved26 ti_uiactools_runtime_EventHdr_HdrType_Reserved26
#define EventHdr_HdrType_Reserved27 ti_uiactools_runtime_EventHdr_HdrType_Reserved27
#define EventHdr_HdrType_Reserved28 ti_uiactools_runtime_EventHdr_HdrType_Reserved28
#define EventHdr_HdrType_Reserved29 ti_uiactools_runtime_EventHdr_HdrType_Reserved29
#define EventHdr_HdrType_Reserved30 ti_uiactools_runtime_EventHdr_HdrType_Reserved30
#define EventHdr_HdrType_Reserved31 ti_uiactools_runtime_EventHdr_HdrType_Reserved31
#define EventHdr_getHdrType ti_uiactools_runtime_EventHdr_getHdrType
#define EventHdr_setHdrType ti_uiactools_runtime_EventHdr_setHdrType
#define EventHdr_getLength ti_uiactools_runtime_EventHdr_getLength
#define EventHdr_setLength ti_uiactools_runtime_EventHdr_setLength
#define EventHdr_getSeqCount ti_uiactools_runtime_EventHdr_getSeqCount
#define EventHdr_setSeqCount ti_uiactools_runtime_EventHdr_setSeqCount
#define EventHdr_genEventHdrWord1 ti_uiactools_runtime_EventHdr_genEventHdrWord1
#define EventHdr_Module_name ti_uiactools_runtime_EventHdr_Module_name
#define EventHdr_Module_id ti_uiactools_runtime_EventHdr_Module_id
#define EventHdr_Module_startup ti_uiactools_runtime_EventHdr_Module_startup
#define EventHdr_Module_startupDone ti_uiactools_runtime_EventHdr_Module_startupDone
#define EventHdr_Module_hasMask ti_uiactools_runtime_EventHdr_Module_hasMask
#define EventHdr_Module_getMask ti_uiactools_runtime_EventHdr_Module_getMask
#define EventHdr_Module_setMask ti_uiactools_runtime_EventHdr_Module_setMask
#define EventHdr_Object_heap ti_uiactools_runtime_EventHdr_Object_heap
#define EventHdr_Module_heap ti_uiactools_runtime_EventHdr_Module_heap

#endif /* ti_uiactools_runtime_EventHdr__localnames__done */
#endif
