FreeCalypso > hg > freecalypso-citrine
comparison L1/cfile/l1_afunc.c @ 8:b36540edb046
L1/cfile/l1_*.c: initial import from tcs211-l1-reconst
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Thu, 09 Jun 2016 05:45:03 +0000 |
parents | 75a11d740a02 |
children | b80f0c5016ee |
comparison
equal
deleted
inserted
replaced
7:b7d857ebc9ca | 8:b36540edb046 |
---|---|
7 * | 7 * |
8 ************* Revision Controle System Header *************/ | 8 ************* Revision Controle System Header *************/ |
9 | 9 |
10 #define L1_AFUNC_C | 10 #define L1_AFUNC_C |
11 | 11 |
12 #include "config.h" | 12 #include "l1_macro.h" |
13 #include "l1_confg.h" | 13 #include "l1_confg.h" |
14 #include "l1_macro.h" | |
15 | 14 |
16 #if (CODE_VERSION == SIMULATION) | 15 #if (CODE_VERSION == SIMULATION) |
17 #include <string.h> | 16 #include <string.h> |
18 #include "l1_types.h" | 17 #include "l1_types.h" |
19 #include "sys_types.h" | 18 #include "sys_types.h" |
83 //ADDED FOR AAC | 82 //ADDED FOR AAC |
84 #if (L1_AAC == 1) | 83 #if (L1_AAC == 1) |
85 #include "l1aac_defty.h" | 84 #include "l1aac_defty.h" |
86 #endif | 85 #endif |
87 #include "l1_defty.h" | 86 #include "l1_defty.h" |
88 #include "../../gpf/inc/cust_os.h" | 87 #include "cust_os.h" |
89 #include "l1_msgty.h" | 88 #include "l1_msgty.h" |
90 #include "l1_varex.h" | 89 #include "l1_varex.h" |
91 #include "l1_proto.h" | 90 #include "l1_proto.h" |
92 #include "l1_tabs.h" | 91 #include "l1_tabs.h" |
93 #if L1_GPRS | 92 #if L1_GPRS |
105 #endif | 104 #endif |
106 #endif | 105 #endif |
107 | 106 |
108 | 107 |
109 #if (OP_L1_STANDALONE == 1) | 108 #if (OP_L1_STANDALONE == 1) |
110 #if (ANALOG == 11) | 109 #if (ANLG_FAM == 11) |
111 #include "bspTwl3029_Madc.h" | 110 #include "bspTwl3029_Madc.h" |
112 #endif | 111 #endif |
113 #endif | 112 #endif |
114 | 113 |
115 #if (L1_MADC_ON == 1) | 114 #if (L1_MADC_ON == 1) |
118 #include "drp_api.h" | 117 #include "drp_api.h" |
119 #include "l1_rf61.h" | 118 #include "l1_rf61.h" |
120 #include <string.h> | 119 #include <string.h> |
121 extern T_DRP_SRM_API* drp_srm_api; | 120 extern T_DRP_SRM_API* drp_srm_api; |
122 #endif | 121 #endif |
123 #if (ANALOG == 11) | 122 #if (ANLG_FAM == 11) |
124 BspTwl3029_MadcResults l1_madc_results; | 123 BspTwl3029_MadcResults l1_madc_results; |
125 void l1a_madc_callback(void); | 124 void l1a_madc_callback(void); |
126 #endif | 125 #endif |
127 #endif | 126 #endif |
128 #endif //L1_MADC_ON | 127 #endif //L1_MADC_ON |
1110 | 1109 |
1111 //MADC | 1110 //MADC |
1112 | 1111 |
1113 #if (L1_MADC_ON == 1) | 1112 #if (L1_MADC_ON == 1) |
1114 #if (OP_L1_STANDALONE == 1) | 1113 #if (OP_L1_STANDALONE == 1) |
1115 #if (ANALOG == 11) | 1114 #if (ANLG_FAM == 11) |
1116 void l1a_madc_callback(void) | 1115 void l1a_madc_callback(void) |
1117 { | 1116 { |
1118 char str[40]; | 1117 char str[40]; |
1119 | 1118 |
1120 | 1119 |
1157 //Send the message | 1156 //Send the message |
1158 adc_msg->SignalCode = CST_ADC_RESULT; | 1157 adc_msg->SignalCode = CST_ADC_RESULT; |
1159 os_send_sig(adc_msg, RRM1_QUEUE); | 1158 os_send_sig(adc_msg, RRM1_QUEUE); |
1160 #endif | 1159 #endif |
1161 } | 1160 } |
1162 #endif // ANALOG == 11 | 1161 #endif // ANLG_FAM == 11 |
1163 #endif //OP_L1_STANDALONE | 1162 #endif //OP_L1_STANDALONE |
1164 #endif // L1_MADC_ON | 1163 #endif // L1_MADC_ON |
1165 | 1164 |
1166 //============================================================================================== | 1165 //============================================================================================== |
1167 | 1166 |