FreeCalypso > hg > freecalypso-sw
comparison gsm-fw/services/dar/dar_messages_i.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_messages_i.h */ | |
4 /* */ | |
5 /* Purpose: Internal messages used by DAR instance */ | |
6 /* */ | |
7 /* */ | |
8 /* Version 0.1 */ | |
9 /* */ | |
10 /* Date Modification */ | |
11 /* ------------------------------------ */ | |
12 /* 17 october 2001 Create */ | |
13 /* */ | |
14 /* Author Stephanie Gerthoux */ | |
15 /* */ | |
16 /* */ | |
17 /* (C) Copyright 2001 by Texas Instruments Incorporated, All Rights Reserved*/ | |
18 /****************************************************************************/ | |
19 | |
20 #include "rv/rv_defined_swe.h" | |
21 #ifdef RVM_DAR_SWE | |
22 #ifndef __DAR_MESSAGES_I_H_ | |
23 #define __DAR_MESSAGES_I_H_ | |
24 | |
25 #include "dar/dar_structs_i.h" | |
26 | |
27 #ifdef __cplusplus | |
28 extern "C" | |
29 { | |
30 #endif | |
31 | |
32 /******************************* Diagnose messages ************************************/ | |
33 /* Diagnose filter and no filter messages */ | |
34 #define DAR_FILTER_REQ (0x0001 | DAR_EVENT_INTERN | DAR_EVENTS_MASK) | |
35 | |
36 /* Diagnose filter structure */ | |
37 typedef struct | |
38 { | |
39 T_RV_HDR os_hdr; | |
40 T_DAR_MSG_PARAM use_msg_parameter; | |
41 T_RV_RETURN return_path; | |
42 } T_DAR_FILTER_START; | |
43 | |
44 /* Diagnose write messages */ | |
45 #define DAR_WRITE_REQ (0x0003 | DAR_EVENT_INTERN | DAR_EVENTS_MASK) | |
46 | |
47 /* Diagnose write data structure */ | |
48 typedef struct | |
49 { | |
50 T_RV_HDR os_hdr; | |
51 T_DAR_WRITE data_write; | |
52 T_RV_RETURN return_path; | |
53 } T_DAR_WRITE_START; | |
54 | |
55 /******************************* FFS interface ************************************/ | |
56 /* FFS RAM to FLASH interface */ | |
57 /* start message */ | |
58 #define DAR_FFS_RAM_2_FLASH_START_REQ (0x0004 | DAR_EVENT_INTERN | DAR_EVENTS_MASK) | |
59 typedef struct | |
60 { | |
61 T_RV_HDR os_hdr; | |
62 UINT16 initial_size; | |
63 } T_DAR_FFS_RAM_2_FLASH_START; | |
64 | |
65 /* start confirmation message */ | |
66 #define DAR_FFS_INIT_DONE (0x0005 | DAR_EVENT_INTERN | DAR_EVENTS_MASK) | |
67 | |
68 typedef struct | |
69 { | |
70 T_RV_HDR os_hdr; | |
71 } T_DAR_FFS_INIT; | |
72 | |
73 /* stop message */ | |
74 #define DAR_FFS_STOP_REQ (0x0006 | DAR_EVENT_INTERN | DAR_EVENTS_MASK) | |
75 typedef struct | |
76 { | |
77 T_RV_HDR os_hdr; | |
78 } T_DAR_FFS_STOP; | |
79 | |
80 /* stop confirmation message */ | |
81 #define DAR_FFS_STOP_CON (0x0007 | DAR_EVENT_INTERN | DAR_EVENTS_MASK) | |
82 | |
83 #ifdef __cplusplus | |
84 } | |
85 #endif | |
86 | |
87 #endif /* __DAR_MESSAGES_I_ */ | |
88 | |
89 #endif /* #ifdef RVM_DAR_SWE */ |