comparison src/g23m-aci/ati_ext/ati_ext_mech.h @ 163:2948924c8299

src/g23m-aci/ati_ext: import from another location in the TCS3.2 src tree
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 11 Oct 2016 02:40:18 +0000
parents
children
comparison
equal deleted inserted replaced
162:53929b40109c 163:2948924c8299
1 /*
2 +-----------------------------------------------------------------------------
3 | Project :
4 | Modul : J:\g23m-aci\aci_ext\aci_ext_pers.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 is the header file of the AT command extension mechanism.
18 +-----------------------------------------------------------------------------
19 */
20 #ifndef ATI_EXT_MECH_H
21 #define ATI_EXT_MECH_H
22
23 /* ACI extension definitions */
24
25 /* Globals ------------------------------------------------------------------------------ */
26
27 typedef enum
28 {
29 ATI_EXT_FAIL = -1, /* execution failed, error occurred */
30 ATI_EXT_CMPL, /* execution completed */
31 ATI_EXT_EXCT, /* execution is in progress */
32 ATI_EXT_BUSY /* execution is rejected due to a busy extension mechanism*/
33 } T_ATI_EXT_RETURN;
34
35
36 /* prototypes of functions.-------------------------------------- */
37
38
39 EXTERN char *parse (char *b, char *f, ...);
40 EXTERN void ext_OK_v2 ( T_ACI_AT_CMD cmdId );
41 EXTERN T_ATI_EXT_RETURN rEXT_Init ();
42 EXTERN T_ATI_EXT_RETURN rEXT_Execute (UBYTE src_id, CHAR *cmd);
43 EXTERN T_ATI_EXT_RETURN rEXT_Abort (UBYTE src_id);
44 EXTERN T_ATI_EXT_RETURN rEXT_Signal (T_ACI_EXT_IND *aci_ext_ind);
45
46 #ifdef FF_BAT
47 #include "p_bat.h"
48 EXTERN T_ATI_EXT_RETURN rEXT_Response_BAT (UBYTE src_id, T_BAT_cmd_response *resp);
49 #endif
50
51
52 #endif /* ATI_EXT_MECH_H */