comparison src/g23m-aci/aci/sap_dti.h @ 162:53929b40109c

src/g23m-aci: initial import from TCS3.2/LoCosto
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:02:43 +0000
parents
children
comparison
equal deleted inserted replaced
161:4557e2a9c18e 162:53929b40109c
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : ...
4 | Modul : sap_dti.h
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 : This modul ...
18 +-----------------------------------------------------------------------------
19 */
20
21
22 #define ACI_CONNECT_DTI 0x00
23 #define ACI_DISCONNECT_DTI 0x01
24
25 #define NOT_READY 0x00
26 #define READY 0x01
27
28 typedef struct
29 {
30 BOOL isDtiConnected;
31 UBYTE dtxState;
32 } T_ACI_SRC_DTI_PARAMS;
33
34
35 /* process functions for DTI Lib */
36 EXTERN void dti_lib_dti_dti_connect_cnf (
37 T_DTI2_CONNECT_CNF *dti_connect_cnf );
38
39
40 EXTERN void dti_lib_dti_dti_connect_ind (
41 T_DTI2_CONNECT_IND *dti_connect_ind );
42
43 EXTERN void dti_lib_dti_dti_disconnect_ind (
44 T_DTI2_DISCONNECT_IND *dti_disconnect_ind );
45
46 EXTERN void dti_lib_dti_dti_data_ind (
47 T_DTI2_DATA_IND *dti_data_ind );
48
49 EXTERN void dti_lib_dti_dti_ready_ind (
50 T_DTI2_READY_IND *dti_ready_ind );
51
52 #ifdef _SIMULATION_
53 EXTERN const void dti_lib_dti_dti_data_test_ind (
54 T_DTI2_DATA_TEST_IND *dti_data_test_ind );
55 #endif
56
57
58
59
60 EXTERN void psaACI_Init();
61
62 EXTERN void aci_pei_sig_callback(U8 instance,
63 U8 interfac,
64 U8 channel,
65 U8 reason,
66 T_DTI2_DATA_IND* dti_data_ind);
67
68
69 /* function for "ACI PSA" */
70 EXTERN BOOL psaACI_Dti_Req (T_DTI_CONN_LINK_ID link_id,
71 T_DTI_ENTITY_ID peer_ent_id,
72 UBYTE dti_conn);
73
74
75
76 #ifdef DTI_CNTRL_MNG_C
77 T_ACI_SRC_DTI_PARAMS aci_src_dti_params[CMD_SRC_MAX];
78 DTI_HANDLE aci_hDTI;
79 #else
80 EXTERN T_ACI_SRC_DTI_PARAMS aci_src_dti_params[];
81 EXTERN DTI_HANDLE aci_hDTI;
82 #endif
83
84
85 /* OLD DTI Manager stuff */
86 #define ACI_DTI_DN_CHANNEL 0
87
88 #define DTI_MNG_ID_NOTPRESENT 0