comparison g23m/condat/ms/src/aci/aci_bat_ext.h @ 0:509db1a7b7b8

initial import: leo2moko-r1
author Space Falcon <falcon@ivan.Harhan.ORG>
date Mon, 01 Jun 2015 03:24:05 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:509db1a7b7b8
1 /*
2 +-----------------------------------------------------------------------------
3 | Project : GSM-F&D (8411)
4 | Modul : ACI_BAT
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 header file consists of the prototype for aci_bat_ext.c
18 |
19 +-----------------------------------------------------------------------------
20 */
21 #ifndef ACI_BAT_EXT_H
22 #define ACI_BAT_EXT_H
23
24 #ifndef P_BAT_H
25 #include "p_bat.h"
26 #endif
27
28 #ifndef ACI_BAT_CMH_H
29 typedef enum
30 {
31 ACI_BAT_FAIL = -1,
32 ACI_BAT_CMPL,
33 ACI_BAT_EXCT,
34 ACI_BAT_BUSY
35 } T_ACI_BAT_RSLT;
36 #endif
37
38 #define BAT_BIT_13 0x2000 /* custom cmd/rsp between 0x2000 - 0x3FFF */
39
40 EXTERN T_ACI_BAT_RSLT aci_bat_send_custom_cmd (unsigned char src_id, T_BAT_cmd_send *cmd);
41 EXTERN T_ACI_BAT_RSLT aci_bat_rcv_custom (unsigned char src_id,
42 unsigned char client,
43 unsigned int dataTag,
44 void *dataPtr,
45 unsigned short dataSize);
46
47 #endif
48