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

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


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

#ifndef ti_csl_Settings__include
#define ti_csl_Settings__include

#ifndef __nested__
#define __nested__
#define ti_csl_Settings__top__
#endif

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

#define ti_csl_Settings___VERS 150


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

#include <std.h>

#include <xdc.h>
#include <ypes.h>
#include <package.defs.h>

#include <IModule.h>


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


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


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

/* Module__diagsEnabled */
typedef xdc_Bits32 CT__ti_csl_Settings_Module__diagsEnabled;
__extern __FAR__ const CT__ti_csl_Settings_Module__diagsEnabled ti_csl_Settings_Module__diagsEnabled__C;

/* Module__diagsIncluded */
typedef xdc_Bits32 CT__ti_csl_Settings_Module__diagsIncluded;
__extern __FAR__ const CT__ti_csl_Settings_Module__diagsIncluded ti_csl_Settings_Module__diagsIncluded__C;

/* Module__diagsMask */
typedef xdc_Bits16* CT__ti_csl_Settings_Module__diagsMask;
__extern __FAR__ const CT__ti_csl_Settings_Module__diagsMask ti_csl_Settings_Module__diagsMask__C;

/* Module__gateObj */
typedef xdc_Ptr CT__ti_csl_Settings_Module__gateObj;
__extern __FAR__ const CT__ti_csl_Settings_Module__gateObj ti_csl_Settings_Module__gateObj__C;

/* Module__gatePrms */
typedef xdc_Ptr CT__ti_csl_Settings_Module__gatePrms;
__extern __FAR__ const CT__ti_csl_Settings_Module__gatePrms ti_csl_Settings_Module__gatePrms__C;

/* Module__id */
typedef xdc_runtime_Types_ModuleId CT__ti_csl_Settings_Module__id;
__extern __FAR__ const CT__ti_csl_Settings_Module__id ti_csl_Settings_Module__id__C;

/* Module__loggerDefined */
typedef xdc_Bool CT__ti_csl_Settings_Module__loggerDefined;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerDefined ti_csl_Settings_Module__loggerDefined__C;

/* Module__loggerObj */
typedef xdc_Ptr CT__ti_csl_Settings_Module__loggerObj;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerObj ti_csl_Settings_Module__loggerObj__C;

/* Module__loggerFxn0 */
typedef xdc_runtime_Types_LoggerFxn0 CT__ti_csl_Settings_Module__loggerFxn0;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn0 ti_csl_Settings_Module__loggerFxn0__C;

/* Module__loggerFxn1 */
typedef xdc_runtime_Types_LoggerFxn1 CT__ti_csl_Settings_Module__loggerFxn1;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn1 ti_csl_Settings_Module__loggerFxn1__C;

/* Module__loggerFxn2 */
typedef xdc_runtime_Types_LoggerFxn2 CT__ti_csl_Settings_Module__loggerFxn2;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn2 ti_csl_Settings_Module__loggerFxn2__C;

/* Module__loggerFxn4 */
typedef xdc_runtime_Types_LoggerFxn4 CT__ti_csl_Settings_Module__loggerFxn4;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn4 ti_csl_Settings_Module__loggerFxn4__C;

/* Module__loggerFxn8 */
typedef xdc_runtime_Types_LoggerFxn8 CT__ti_csl_Settings_Module__loggerFxn8;
__extern __FAR__ const CT__ti_csl_Settings_Module__loggerFxn8 ti_csl_Settings_Module__loggerFxn8__C;

/* Module__startupDoneFxn */
typedef xdc_Bool (*CT__ti_csl_Settings_Module__startupDoneFxn)(void);
__extern __FAR__ const CT__ti_csl_Settings_Module__startupDoneFxn ti_csl_Settings_Module__startupDoneFxn__C;

/* Object__count */
typedef xdc_Int CT__ti_csl_Settings_Object__count;
__extern __FAR__ const CT__ti_csl_Settings_Object__count ti_csl_Settings_Object__count__C;

/* Object__heap */
typedef xdc_runtime_IHeap_Handle CT__ti_csl_Settings_Object__heap;
__extern __FAR__ const CT__ti_csl_Settings_Object__heap ti_csl_Settings_Object__heap__C;

/* Object__sizeof */
typedef xdc_SizeT CT__ti_csl_Settings_Object__sizeof;
__extern __FAR__ const CT__ti_csl_Settings_Object__sizeof ti_csl_Settings_Object__sizeof__C;

/* Object__table */
typedef xdc_Ptr CT__ti_csl_Settings_Object__table;
__extern __FAR__ const CT__ti_csl_Settings_Object__table ti_csl_Settings_Object__table__C;

/* cslVersionString */
#define ti_csl_Settings_cslVersionString (ti_csl_Settings_cslVersionString__C)
typedef xdc_String CT__ti_csl_Settings_cslVersionString;
__extern __FAR__ const CT__ti_csl_Settings_cslVersionString ti_csl_Settings_cslVersionString__C;

/* useCSLIntcLib */
#define ti_csl_Settings_useCSLIntcLib (ti_csl_Settings_useCSLIntcLib__C)
typedef xdc_Bool CT__ti_csl_Settings_useCSLIntcLib;
__extern __FAR__ const CT__ti_csl_Settings_useCSLIntcLib ti_csl_Settings_useCSLIntcLib__C;


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

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

/* Handle__label__S */
xdc__CODESECT(ti_csl_Settings_Handle__label__S, "ti_csl_Settings_Handle__label")
__extern xdc_runtime_Types_Label* ti_csl_Settings_Handle__label__S( xdc_Ptr obj, xdc_runtime_Types_Label* lab );

/* Module__startupDone__S */
xdc__CODESECT(ti_csl_Settings_Module__startupDone__S, "ti_csl_Settings_Module__startupDone")
__extern xdc_Bool ti_csl_Settings_Module__startupDone__S( void );

/* Object__create__S */
xdc__CODESECT(ti_csl_Settings_Object__create__S, "ti_csl_Settings_Object__create")
__extern xdc_Ptr ti_csl_Settings_Object__create__S( xdc_Ptr __oa, xdc_SizeT __osz, xdc_Ptr __aa, const xdc_UChar* __pa, xdc_SizeT __psz, xdc_runtime_Error_Block* __eb );

/* Object__delete__S */
xdc__CODESECT(ti_csl_Settings_Object__delete__S, "ti_csl_Settings_Object__delete")
__extern xdc_Void ti_csl_Settings_Object__delete__S( xdc_Ptr instp );

/* Object__destruct__S */
xdc__CODESECT(ti_csl_Settings_Object__destruct__S, "ti_csl_Settings_Object__destruct")
__extern xdc_Void ti_csl_Settings_Object__destruct__S( xdc_Ptr objp );

/* Object__get__S */
xdc__CODESECT(ti_csl_Settings_Object__get__S, "ti_csl_Settings_Object__get")
__extern xdc_Ptr ti_csl_Settings_Object__get__S( xdc_Ptr oarr, xdc_Int i );

/* Object__first__S */
xdc__CODESECT(ti_csl_Settings_Object__first__S, "ti_csl_Settings_Object__first")
__extern xdc_Ptr ti_csl_Settings_Object__first__S( void );

/* Object__next__S */
xdc__CODESECT(ti_csl_Settings_Object__next__S, "ti_csl_Settings_Object__next")
__extern xdc_Ptr ti_csl_Settings_Object__next__S( xdc_Ptr obj );

/* Params__init__S */
xdc__CODESECT(ti_csl_Settings_Params__init__S, "ti_csl_Settings_Params__init")
__extern xdc_Void ti_csl_Settings_Params__init__S( xdc_Ptr dst, xdc_Ptr src, xdc_SizeT psz, xdc_SizeT isz );

/* Proxy__abstract__S */
xdc__CODESECT(ti_csl_Settings_Proxy__abstract__S, "ti_csl_Settings_Proxy__abstract")
__extern xdc_Bool ti_csl_Settings_Proxy__abstract__S( void );

/* Proxy__delegate__S */
xdc__CODESECT(ti_csl_Settings_Proxy__delegate__S, "ti_csl_Settings_Proxy__delegate")
__extern xdc_Ptr ti_csl_Settings_Proxy__delegate__S( void );


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

/* Module_startupDone */
#define ti_csl_Settings_Module_startupDone() ti_csl_Settings_Module__startupDone__S()

/* Object_heap */
#define ti_csl_Settings_Object_heap() ti_csl_Settings_Object__heap__C

/* Module_heap */
#define ti_csl_Settings_Module_heap() ti_csl_Settings_Object__heap__C

/* Module_id */
static inline CT__ti_csl_Settings_Module__id ti_csl_Settings_Module_id( void ) 
{
    return ti_csl_Settings_Module__id__C;
}

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

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

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


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

#ifdef ti_csl_Settings__top__
#undef __nested__
#endif

#endif /* ti_csl_Settings__include */


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

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

#ifndef ti_csl_Settings__include_state
#define ti_csl_Settings__include_state


#endif /* ti_csl_Settings__include_state */

#endif

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

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

#ifndef ti_csl_Settings__localnames__done
#define ti_csl_Settings__localnames__done

/* module prefix */
#define Settings_cslVersionString ti_csl_Settings_cslVersionString
#define Settings_useCSLIntcLib ti_csl_Settings_useCSLIntcLib
#define Settings_Module_name ti_csl_Settings_Module_name
#define Settings_Module_id ti_csl_Settings_Module_id
#define Settings_Module_startup ti_csl_Settings_Module_startup
#define Settings_Module_startupDone ti_csl_Settings_Module_startupDone
#define Settings_Module_hasMask ti_csl_Settings_Module_hasMask
#define Settings_Module_getMask ti_csl_Settings_Module_getMask
#define Settings_Module_setMask ti_csl_Settings_Module_setMask
#define Settings_Object_heap ti_csl_Settings_Object_heap
#define Settings_Module_heap ti_csl_Settings_Module_heap

#endif /* ti_csl_Settings__localnames__done */
#endif
