comparison src/gpf/ccd/ccddata_ccd.c @ 5:1ea54a97e831

src/gpf: import of Magnetite src/gpf3
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 15 Jul 2018 08:11:07 +0000
parents
children
comparison
equal deleted inserted replaced
4:6e457872f745 5:1ea54a97e831
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : ccddata_ccd.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 : Definition of variables exported from CCDDATA to CCD
18 +-----------------------------------------------------------------------------
19 */
20
21 /*
22 * standard definitions like UCHAR, ERROR etc.
23 */
24 #include "typedefs.h"
25
26 /* BUFFER_ALIGNMENT is defined in ccd.h, requiring ccd_globs.h */
27 #include "ccd_globs.h"
28 #include "ccd.h"
29
30 #include "mconst.cdg"
31
32 /*
33 * export information about the value of constants to ccd.lib
34 * NUM_OF_ENTITIES and MAX_MSTRUCT_LEN are defined in mconst.cdg
35 */
36
37 UBYTE decMsgBuffer[MAX_MSTRUCT_LEN + BUFFER_ALIGNMENT];
38
39 UBYTE* ccddata_get_decmsgbuffer (void)
40 {
41 return decMsgBuffer;
42 }
43
44 UBYTE mi_length[NUM_OF_ENTITIES];
45
46 UBYTE* ccddata_get_mi_length (void)
47 {
48 return mi_length;
49 }