comparison gsm-fw/services/dar/dar_gen.h @ 305:4dccc9d3305f

gsm-fw: checking in DAR from Leonardo source
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Sun, 16 Mar 2014 05:48:58 +0000
parents
children 81bee6125882
comparison
equal deleted inserted replaced
304:e0ca3ca46a06 305:4dccc9d3305f
1 /********************************************************************************/
2 /* */
3 /* File Name: dar_gen.h */
4 /* */
5 /* Purpose: This file contain general definitions of DAR Module. */
6 /* */
7 /* Note: */
8 /* None. */
9 /* */
10 /* Revision History: */
11 /* 9 October 2001 Stephanie Gerthoux Create */
12 /* */
13 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved. */
14 /* */
15 /********************************************************************************/
16
17 #ifndef __DAR_GEN_H__
18 #define __DAR_GEN_H__
19
20 #include "rv/general.h"
21
22
23 /**** Type definitions ****/
24
25 /** Dar data format : ASCII or binary **/
26 typedef INT8 T_DAR_FORMAT;
27 /* possible values */
28 #define DAR_ASCII_FORMAT (0) /* ASCII format */
29 #define DAR_BINARY_FORMAT (-1) /* Binary format */
30
31 /** DAR data level ( Error / Warning / Debug) **/
32 typedef UINT8 T_DAR_LEVEL;
33
34 typedef UINT8* T_DAR_BUFFER;
35
36 typedef char T_DAR_INFO;
37
38 /** DAR callback function **/
39 typedef void (*DAR_CALLBACK_FUNC)(T_DAR_BUFFER, UINT16);
40
41 /** DAR Level Default definition **/
42 #define DAR_LEVEL_DEFAULT (DAR_ERROR)
43
44 #endif