comparison src/cs/services/dar/dar_gen.h @ 0:92470e5d0b9e

src: partial import from FC Selenite
author Mychaela Falconia <falcon@freecalypso.org>
date Fri, 15 May 2020 01:28:16 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:92470e5d0b9e
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