comparison src/condat2/com/include/rx.h @ 3:93999a60b835

src/aci2, src/condat2: import of g23m/condat source pieces from TCS211
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 26 Sep 2016 00:29:36 +0000
parents
children
comparison
equal deleted inserted replaced
2:c41a534f33c6 3:93999a60b835
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM (6301)
4 | Modul :
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 : Types definitions for the fieldstrength driver
18 | .
19 +-----------------------------------------------------------------------------
20 */
21
22 #ifndef RX_H
23 #define RX_H
24
25 /*
26 * Signal Values
27 */
28 #define RX_QUAL_UNAVAILABLE 0xFF /* should be kept identically */
29 /* with the value defined in RR */
30
31 /*
32 * Signal Types
33 */
34 #define RX_SIGTYPE_RXLEVEL 0
35
36 /*
37 * Status Type
38 */
39 typedef struct rx_Status_Type
40 {
41 UBYTE actLevel;
42 UBYTE gsmLevel;
43 UBYTE rxQuality;
44 } rx_Status_Type;
45
46 /*
47 * Driver Control Block
48 */
49 typedef struct rx_DCB_Type
50 {
51 UBYTE Steps;
52 } rx_DCB_Type;
53
54 #if defined (NEW_FRAME)
55 /*
56 * to achieve backward compatibility with older definitions
57 */
58 #define drv_SignalCB_Type T_DRV_CB_FUNC
59 #define drv_SignalID_Type T_DRV_SIGNAL
60 #define T_VSI_THANDLE USHORT
61 #endif
62 /*
63 * Prototypes
64 */
65 EXTERN UBYTE rx_Init (drv_SignalCB_Type in_SignalCBPtr);
66 EXTERN void rx_Exit (void);
67 EXTERN UBYTE rx_SetConfig (rx_DCB_Type * in_DCBPtr);
68 EXTERN UBYTE rx_GetConfig (rx_DCB_Type * out_DCBPtr);
69 EXTERN UBYTE rx_GetStatus (rx_Status_Type * out_StatusPtr);
70 EXTERN void rx_timeout (T_VSI_THANDLE rx_handle);
71 #endif