FreeCalypso > hg > leo2moko-debug
comparison chipsetsw/services/dar/dar_gen.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 /* 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 |