]> rtime.felk.cvut.cz Git - arc.git/blob - boards/ti_tms570ls/examples/rte_simple/config/Rte_Tester.c
Merge with 93e8231e88a3b1485c17700def836bf3bfc4ebee
[arc.git] / boards / ti_tms570ls / examples / rte_simple / config / Rte_Tester.c
1 /*\r
2 * Configuration of module: Rte (Rte_Tester.c)\r
3 *\r
4 * Created by:              \r
5 * Copyright:               \r
6 *\r
7 * Configured for (MCU):    TMS570\r
8 *\r
9 * Module vendor:           ArcCore\r
10 * Generator version:       0.0.9\r
11 *\r
12 * Generated by Arctic Studio (http://arccore.com) \r
13 *           on Thu Jun 16 10:00:54 CEST 2011\r
14 */\r
15 \r
16 /* Rte_Tester.c */\r
17 #include <string.h>\r
18 #include "Os.h"\r
19 #include "Rte_Tester.h"\r
20 #include "Rte_Data.h"\r
21 #include "Rte_Calculator.h"\r
22 #include "Com.h"\r
23 \r
24 extern Rte_CDS_Tester Rte_Inst_Tester;\r
25 \r
26 UInt8 Rte_IRead_TesterRunnable_Arguments_arg1() {\r
27         return Rte_Inst_Tester.TesterRunnable_Arguments_arg1->value;\r
28 }\r
29 \r
30 UInt8 Rte_IRead_TesterRunnable_Arguments_arg2() {\r
31         return Rte_Inst_Tester.TesterRunnable_Arguments_arg2->value;\r
32 }\r
33 \r
34 void Rte_IWrite_TesterRunnable_Result_result(UInt16 Value) {\r
35         /** Note: this API is required to be called during execution of runnable TesterRunnable. If this API is not called invalid data will be written back to the RTE buffers. See note on page 113 of the AUTOSAR RTE specification. */\r
36         Rte_Inst_Tester.TesterRunnable_Result_result->value = Value;\r
37 }\r
38 \r
39 Std_ReturnType Rte_Call_Tester_Calculator_Multiply(const UInt8 arg1,\r
40                 const UInt8 arg2, UInt16* result) {\r
41         return Rte_Multiply(arg1, arg2, result);\r
42 }\r
43 \r