comparison src/gpf2/inc/drvconf.h @ 1:864b8cc0cf63

src/gpf2: preened GPF goo from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 25 Sep 2016 23:38:58 +0000
parents
children
comparison
equal deleted inserted replaced
0:945cf7f506b2 1:864b8cc0cf63
1 /*
2 +------------------------------------------------------------------------------
3 | File: drvconf.h
4 +------------------------------------------------------------------------------
5 | Copyright 2002 Texas Instruments Berlin, AG
6 | All rights reserved.
7 |
8 | This file is confidential and a trade secret of Texas
9 | Instruments Berlin, AG
10 | The receipt of or possession of this file does not convey
11 | any rights to reproduce or disclose its contents or to
12 | manufacture, use, or sell anything it may describe, in
13 | whole, or in part, without the specific written consent of
14 | Texas Instruments Berlin, AG.
15 +-----------------------------------------------------------------------------
16 | Purpose : Definitions for the dynamic driver configuration.
17 +-----------------------------------------------------------------------------
18 */
19
20 #ifndef DRVCONF_H
21 #define DRVCONF_H
22
23 /*==== INCLUDES =============================================================*/
24 #include "typedefs.h"
25 #include "gdi.h"
26 #include "vsi.h"
27
28 /*==== CONSTS ===============================================================*/
29
30 #if defined _TARGET_
31 #define MAX_AVAILABLE_DRV 1
32 #else
33 #define MAX_AVAILABLE_DRV 6
34 #endif
35
36 #define TIF_NAME "TIF"
37 #define TR_NAME "TR"
38 #define EMI_NAME "EMI"
39 #define SOCKET_NAME "SOCKET"
40 #define MTST_NAME "MTST"
41 #define SER_NAME "SER"
42 #define THIF_LINK_NAME "THIFLINK"
43 #define USERSPACE_LINK_NAME "USSPLINK"
44 #define TITRC_NAME "TITRC"
45 #define NODRV_NAME "NODRV"
46
47 #define DRV_DEFAULT "DEFAULT"
48 #define DRV_TI_MODE "TI_MODE"
49 #define DRV_RAW_TI_MODE "RAW_TI_MODE"
50 #define TIF_PCON_ENABLE "ENABLE_PCON"
51 #define TR_STX_LF "STX_LF"
52 #define ENABLE_SYNC_MODE "ENA_SYNC_MODE"
53 #define DISABLE_SYNC_MODE "DIS_SYNC_MODE"
54
55 #define FILTER "FILTER"
56
57 #define DRV_SIGTYPE_READ_L1 0x100
58 #define DRV_SIGTYPE_READ_RIV 0x200
59
60 /*==== TYPES ================================================================*/
61
62 typedef struct
63 {
64 T_DRV_LIST_ENTRY entry;
65 USHORT drv_pos;
66 } T_TST_DRV_ENTRY;
67
68 /*==== EXPORTS ==============================================================*/
69
70 SHORT tst_drv_open (char *drv_name, T_TST_DRV_ENTRY **drv_info );
71
72
73 #endif /* DRVCONF_H */