|
|
@ -0,0 +1,271 @@ |
|
|
|
/*
|
|
|
|
* Do not modify this file; it is automatically |
|
|
|
* generated and any modifications will be overwritten. |
|
|
|
* |
|
|
|
* @(#) xdc-y44 |
|
|
|
*/ |
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== GENERATED SECTIONS ======== |
|
|
|
* |
|
|
|
* PROLOGUE |
|
|
|
* INCLUDES |
|
|
|
* |
|
|
|
* INTERNAL DEFINITIONS |
|
|
|
* MODULE-WIDE CONFIGS |
|
|
|
* FUNCTION DECLARATIONS |
|
|
|
* SYSTEM FUNCTIONS |
|
|
|
* |
|
|
|
* EPILOGUE |
|
|
|
* STATE STRUCTURES |
|
|
|
* PREFIX ALIASES |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== PROLOGUE ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifndef vsky_libdsp_Settings__include |
|
|
|
#define vsky_libdsp_Settings__include |
|
|
|
|
|
|
|
#ifndef __nested__ |
|
|
|
#define __nested__ |
|
|
|
#define vsky_libdsp_Settings__top__ |
|
|
|
#endif |
|
|
|
|
|
|
|
#ifdef __cplusplus |
|
|
|
#define __extern extern "C" |
|
|
|
#else |
|
|
|
#define __extern extern |
|
|
|
#endif |
|
|
|
|
|
|
|
#define vsky_libdsp_Settings___VERS 150 |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== INCLUDES ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
#include <xdc/std.h> |
|
|
|
|
|
|
|
#include <xdc/runtime/xdc.h> |
|
|
|
#include <xdc/runtime/Types.h> |
|
|
|
#include <vsky/libdsp/package/package.defs.h> |
|
|
|
|
|
|
|
#include <xdc/runtime/IModule.h> |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== AUXILIARY DEFINITIONS ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== INTERNAL DEFINITIONS ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== MODULE-WIDE CONFIGS ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
/* Module__diagsEnabled */ |
|
|
|
typedef xdc_Bits32 CT__vsky_libdsp_Settings_Module__diagsEnabled; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__diagsEnabled vsky_libdsp_Settings_Module__diagsEnabled__C; |
|
|
|
|
|
|
|
/* Module__diagsIncluded */ |
|
|
|
typedef xdc_Bits32 CT__vsky_libdsp_Settings_Module__diagsIncluded; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__diagsIncluded vsky_libdsp_Settings_Module__diagsIncluded__C; |
|
|
|
|
|
|
|
/* Module__diagsMask */ |
|
|
|
typedef xdc_Bits16* CT__vsky_libdsp_Settings_Module__diagsMask; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__diagsMask vsky_libdsp_Settings_Module__diagsMask__C; |
|
|
|
|
|
|
|
/* Module__gateObj */ |
|
|
|
typedef xdc_Ptr CT__vsky_libdsp_Settings_Module__gateObj; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__gateObj vsky_libdsp_Settings_Module__gateObj__C; |
|
|
|
|
|
|
|
/* Module__gatePrms */ |
|
|
|
typedef xdc_Ptr CT__vsky_libdsp_Settings_Module__gatePrms; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__gatePrms vsky_libdsp_Settings_Module__gatePrms__C; |
|
|
|
|
|
|
|
/* Module__id */ |
|
|
|
typedef xdc_runtime_Types_ModuleId CT__vsky_libdsp_Settings_Module__id; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__id vsky_libdsp_Settings_Module__id__C; |
|
|
|
|
|
|
|
/* Module__loggerDefined */ |
|
|
|
typedef xdc_Bool CT__vsky_libdsp_Settings_Module__loggerDefined; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerDefined vsky_libdsp_Settings_Module__loggerDefined__C; |
|
|
|
|
|
|
|
/* Module__loggerObj */ |
|
|
|
typedef xdc_Ptr CT__vsky_libdsp_Settings_Module__loggerObj; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerObj vsky_libdsp_Settings_Module__loggerObj__C; |
|
|
|
|
|
|
|
/* Module__loggerFxn0 */ |
|
|
|
typedef xdc_runtime_Types_LoggerFxn0 CT__vsky_libdsp_Settings_Module__loggerFxn0; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerFxn0 vsky_libdsp_Settings_Module__loggerFxn0__C; |
|
|
|
|
|
|
|
/* Module__loggerFxn1 */ |
|
|
|
typedef xdc_runtime_Types_LoggerFxn1 CT__vsky_libdsp_Settings_Module__loggerFxn1; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerFxn1 vsky_libdsp_Settings_Module__loggerFxn1__C; |
|
|
|
|
|
|
|
/* Module__loggerFxn2 */ |
|
|
|
typedef xdc_runtime_Types_LoggerFxn2 CT__vsky_libdsp_Settings_Module__loggerFxn2; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerFxn2 vsky_libdsp_Settings_Module__loggerFxn2__C; |
|
|
|
|
|
|
|
/* Module__loggerFxn4 */ |
|
|
|
typedef xdc_runtime_Types_LoggerFxn4 CT__vsky_libdsp_Settings_Module__loggerFxn4; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerFxn4 vsky_libdsp_Settings_Module__loggerFxn4__C; |
|
|
|
|
|
|
|
/* Module__loggerFxn8 */ |
|
|
|
typedef xdc_runtime_Types_LoggerFxn8 CT__vsky_libdsp_Settings_Module__loggerFxn8; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__loggerFxn8 vsky_libdsp_Settings_Module__loggerFxn8__C; |
|
|
|
|
|
|
|
/* Module__startupDoneFxn */ |
|
|
|
typedef xdc_Bool (*CT__vsky_libdsp_Settings_Module__startupDoneFxn)(void); |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Module__startupDoneFxn vsky_libdsp_Settings_Module__startupDoneFxn__C; |
|
|
|
|
|
|
|
/* Object__count */ |
|
|
|
typedef xdc_Int CT__vsky_libdsp_Settings_Object__count; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Object__count vsky_libdsp_Settings_Object__count__C; |
|
|
|
|
|
|
|
/* Object__heap */ |
|
|
|
typedef xdc_runtime_IHeap_Handle CT__vsky_libdsp_Settings_Object__heap; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Object__heap vsky_libdsp_Settings_Object__heap__C; |
|
|
|
|
|
|
|
/* Object__sizeof */ |
|
|
|
typedef xdc_SizeT CT__vsky_libdsp_Settings_Object__sizeof; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Object__sizeof vsky_libdsp_Settings_Object__sizeof__C; |
|
|
|
|
|
|
|
/* Object__table */ |
|
|
|
typedef xdc_Ptr CT__vsky_libdsp_Settings_Object__table; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_Object__table vsky_libdsp_Settings_Object__table__C; |
|
|
|
|
|
|
|
/* freq */ |
|
|
|
#ifdef vsky_libdsp_Settings_freq__D |
|
|
|
#define vsky_libdsp_Settings_freq (vsky_libdsp_Settings_freq__D) |
|
|
|
#else |
|
|
|
#define vsky_libdsp_Settings_freq (vsky_libdsp_Settings_freq__C) |
|
|
|
typedef xdc_UInt32 CT__vsky_libdsp_Settings_freq; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_freq vsky_libdsp_Settings_freq__C; |
|
|
|
#endif |
|
|
|
|
|
|
|
/* clock */ |
|
|
|
#ifdef vsky_libdsp_Settings_clock__D |
|
|
|
#define vsky_libdsp_Settings_clock (vsky_libdsp_Settings_clock__D) |
|
|
|
#else |
|
|
|
#define vsky_libdsp_Settings_clock (vsky_libdsp_Settings_clock__C) |
|
|
|
typedef xdc_UInt32 CT__vsky_libdsp_Settings_clock; |
|
|
|
__extern __FAR__ const CT__vsky_libdsp_Settings_clock vsky_libdsp_Settings_clock__C; |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== FUNCTION DECLARATIONS ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
/* Module_startup */ |
|
|
|
#define vsky_libdsp_Settings_Module_startup( state ) (-1) |
|
|
|
|
|
|
|
/* Module__startupDone__S */ |
|
|
|
xdc__CODESECT(vsky_libdsp_Settings_Module__startupDone__S, "vsky_libdsp_Settings_Module__startupDone") |
|
|
|
__extern xdc_Bool vsky_libdsp_Settings_Module__startupDone__S( void ); |
|
|
|
|
|
|
|
/* getCoreFreq__E */ |
|
|
|
#define vsky_libdsp_Settings_getCoreFreq vsky_libdsp_Settings_getCoreFreq__E |
|
|
|
xdc__CODESECT(vsky_libdsp_Settings_getCoreFreq__E, "vsky_libdsp_Settings_getCoreFreq") |
|
|
|
__extern xdc_UInt32 vsky_libdsp_Settings_getCoreFreq__E( void ); |
|
|
|
xdc__CODESECT(vsky_libdsp_Settings_getCoreFreq__F, "vsky_libdsp_Settings_getCoreFreq") |
|
|
|
__extern xdc_UInt32 vsky_libdsp_Settings_getCoreFreq__F( void ); |
|
|
|
__extern xdc_UInt32 vsky_libdsp_Settings_getCoreFreq__R( void ); |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== SYSTEM FUNCTIONS ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
/* Module_startupDone */ |
|
|
|
#define vsky_libdsp_Settings_Module_startupDone() vsky_libdsp_Settings_Module__startupDone__S() |
|
|
|
|
|
|
|
/* Object_heap */ |
|
|
|
#define vsky_libdsp_Settings_Object_heap() vsky_libdsp_Settings_Object__heap__C |
|
|
|
|
|
|
|
/* Module_heap */ |
|
|
|
#define vsky_libdsp_Settings_Module_heap() vsky_libdsp_Settings_Object__heap__C |
|
|
|
|
|
|
|
/* Module_id */ |
|
|
|
static inline CT__vsky_libdsp_Settings_Module__id vsky_libdsp_Settings_Module_id( void ) |
|
|
|
{ |
|
|
|
return vsky_libdsp_Settings_Module__id__C; |
|
|
|
} |
|
|
|
|
|
|
|
/* Module_hasMask */ |
|
|
|
static inline xdc_Bool vsky_libdsp_Settings_Module_hasMask( void ) |
|
|
|
{ |
|
|
|
return vsky_libdsp_Settings_Module__diagsMask__C != NULL; |
|
|
|
} |
|
|
|
|
|
|
|
/* Module_getMask */ |
|
|
|
static inline xdc_Bits16 vsky_libdsp_Settings_Module_getMask( void ) |
|
|
|
{ |
|
|
|
return vsky_libdsp_Settings_Module__diagsMask__C != NULL ? *vsky_libdsp_Settings_Module__diagsMask__C : 0; |
|
|
|
} |
|
|
|
|
|
|
|
/* Module_setMask */ |
|
|
|
static inline xdc_Void vsky_libdsp_Settings_Module_setMask( xdc_Bits16 mask ) |
|
|
|
{ |
|
|
|
if (vsky_libdsp_Settings_Module__diagsMask__C != NULL) *vsky_libdsp_Settings_Module__diagsMask__C = mask; |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== EPILOGUE ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
#ifdef vsky_libdsp_Settings__top__ |
|
|
|
#undef __nested__ |
|
|
|
#endif |
|
|
|
|
|
|
|
#endif /* vsky_libdsp_Settings__include */ |
|
|
|
|
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== STATE STRUCTURES ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
#if defined(__config__) || (!defined(__nested__) && defined(vsky_libdsp_Settings__internalaccess)) |
|
|
|
|
|
|
|
#ifndef vsky_libdsp_Settings__include_state |
|
|
|
#define vsky_libdsp_Settings__include_state |
|
|
|
|
|
|
|
|
|
|
|
#endif /* vsky_libdsp_Settings__include_state */ |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
/*
|
|
|
|
* ======== PREFIX ALIASES ======== |
|
|
|
*/ |
|
|
|
|
|
|
|
#if !defined(__nested__) && !defined(vsky_libdsp_Settings__nolocalnames) |
|
|
|
|
|
|
|
#ifndef vsky_libdsp_Settings__localnames__done |
|
|
|
#define vsky_libdsp_Settings__localnames__done |
|
|
|
|
|
|
|
/* module prefix */ |
|
|
|
#define Settings_freq vsky_libdsp_Settings_freq |
|
|
|
#define Settings_clock vsky_libdsp_Settings_clock |
|
|
|
#define Settings_getCoreFreq vsky_libdsp_Settings_getCoreFreq |
|
|
|
#define Settings_Module_name vsky_libdsp_Settings_Module_name |
|
|
|
#define Settings_Module_id vsky_libdsp_Settings_Module_id |
|
|
|
#define Settings_Module_startup vsky_libdsp_Settings_Module_startup |
|
|
|
#define Settings_Module_startupDone vsky_libdsp_Settings_Module_startupDone |
|
|
|
#define Settings_Module_hasMask vsky_libdsp_Settings_Module_hasMask |
|
|
|
#define Settings_Module_getMask vsky_libdsp_Settings_Module_getMask |
|
|
|
#define Settings_Module_setMask vsky_libdsp_Settings_Module_setMask |
|
|
|
#define Settings_Object_heap vsky_libdsp_Settings_Object_heap |
|
|
|
#define Settings_Module_heap vsky_libdsp_Settings_Module_heap |
|
|
|
|
|
|
|
#endif /* vsky_libdsp_Settings__localnames__done */ |
|
|
|
#endif |