FreeCalypso > hg > fc-magnetite
comparison src/gpf3/ccd/ccddata_cdepval.c @ 2:c41a534f33c6
src/gpf3: preened GPF goo from TCS3.2
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 25 Sep 2016 23:52:50 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1:864b8cc0cf63 | 2:c41a534f33c6 |
---|---|
1 /* | |
2 +----------------------------------------------------------------------------- | |
3 | Project : | |
4 | Modul : ccddata_cdepval.c | |
5 +----------------------------------------------------------------------------- | |
6 | Copyright 2002 Texas Instruments Berlin, AG | |
7 | All rights reserved. | |
8 | | |
9 | This file is confidential and a trade secret of Texas | |
10 | Instruments Berlin, AG | |
11 | The receipt of or possession of this file does not convey | |
12 | any rights to reproduce or disclose its contents or to | |
13 | manufacture, use, or sell anything it may describe, in | |
14 | whole, or in part, without the specific written consent of | |
15 | Texas Instruments Berlin, AG. | |
16 +----------------------------------------------------------------------------- | |
17 | Purpose : Ccddata abstraction for use in lib/dll. The two tables | |
18 | pval and pstr, genereraed by ccdgen (in cdepval.cdg) | |
19 | are supplied. In addition, corresponding functions deliver | |
20 | specified elements of the tables. | |
21 +----------------------------------------------------------------------------- | |
22 */ | |
23 | |
24 #include "typedefs.h" | |
25 #include "ccdtable.h" | |
26 | |
27 static const T_CCD_ValTabEntry ccddata_pval [] = | |
28 { | |
29 #include "pval.cdg" | |
30 }; | |
31 | |
32 static const T_CCD_StrTabEntry ccddata_pstr [] = | |
33 { | |
34 #include "pstr.cdg" | |
35 }; | |
36 | |
37 const T_CCD_ValTabEntry* ccddata_get_pval (USHORT idx) | |
38 { | |
39 return &ccddata_pval[idx]; | |
40 } | |
41 | |
42 const T_CCD_StrTabEntry* ccddata_get_pstr (USHORT idx) | |
43 { | |
44 return &ccddata_pstr[idx]; | |
45 } |