📄 ssresults_fwx.h
字号:
/********************************************************************** * * Copyright (c) 2004, Dy 4 Systems All rights reserved. * This Source Code is the Property of Dy 4 Systems Inc. and * can only be used in accordance with Source Code License * Agreement of Dy 4 Systems Inc. dba (doing business as) * CURTISS-WRIGHT CONTROLS EMBEDDED COMPUTING, "CWCEC". * **********************************************************************//*FILE HEADER***************************************************************** * Product Name: BSP demo code * * %name: ssResults_fwx.h % * * Description: Definitions for IBIT results/errors storage. * * %created_by: tissa % * %date_created: Tue Sep 30 2004 % * * Notes: * * History: * 01a, 30sep04, tis created based on the fwx file ssResults.h version 9 * *END FILE HEADER*************************************************************/#ifndef FW_RESULTS_H#define FW_RESULTS_H#ifdef __cplusplusextern "C"{#endif/* Include Files *//* Macro declarations */#define DRT_HEADER_INDEX 0 /* index to header record of DRT */#define DRT_FIRST_ENTRY_INDEX 1 /* index to first entry record of DRT *//* Global Variables and Global Structures declarations *//* DRT header record structure. */typedef struct{ UINT32 uFailEntries; /* number of failure entries in DRT */ UINT32 uMaxEntries; /* max. no. of DRT entries (incl. header)*/ UINT32 uNextEntry; /* index to next empty entry */ UINT32 uTimeStamp; /* DRT creation time -> timebase reg */ UINT32 uMissedEntries; /* no. entries not recorded - DRT overflow */ UINT32 reserved1; /* unused */ UINT32 reserved2; /* unused */ UINT32 reserved3; /* unused */} sFW_DRT_HEADER;/* DRT entry record structure. */typedef struct { eFW_DEVICE_HANDLE eBitCode; /* BIT diagnostic identifier code */ eFW_TEST_HANDLE eDiagCode; /* diagnostics identifier code */ eFW_ERROR eResultCode; /* result identifier code */ UINT32 uTimeStamp; /* time of result -> timer register */ UINT32 uResultData1; /* supplemental failure data */ UINT32 uResultData2; /* supplemental failure data */ UINT32 uResultData3; /* supplemental failure data */ UINT32 uResultData4; /* supplemental failure data */} sFW_DRT_ENTRY;/* DRT union structure. DRT's first element is a header record followed by* many entry records */typedef union { sFW_DRT_HEADER header; sFW_DRT_ENTRY entry;} sFW_DRT;#ifdef _cplusplus}#endif#endif /* FW_RESULTS_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -