]> rtime.felk.cvut.cz Git - arc.git/blobdiff - boards/ti_tms570ls/examples/rte_simple/config/Rte_Tester.c
Regenerated examples for TMS570.
[arc.git] / boards / ti_tms570ls / examples / rte_simple / config / Rte_Tester.c
index c9cce0afdcad0aeca50423213058329ac29cc8e1..8c91fa2521e0c4e27e746105880f4e07e02b241b 100644 (file)
@@ -7,10 +7,9 @@
 * Configured for (MCU):    TMS570\r
 *\r
 * Module vendor:           ArcCore\r
-* Generator version:       0.0.9\r
+* Generator version:       0.0.13\r
 *\r
 * Generated by Arctic Studio (http://arccore.com) \r
-*           on Thu Jun 16 10:00:54 CEST 2011\r
 */\r
 \r
 /* Rte_Tester.c */\r
@@ -18,8 +17,8 @@
 #include "Os.h"\r
 #include "Rte_Tester.h"\r
 #include "Rte_Data.h"\r
-#include "Rte_Calculator.h"\r
 #include "Com.h"\r
+#include "Rte_Calculator.h"\r
 \r
 extern Rte_CDS_Tester Rte_Inst_Tester;\r
 \r
@@ -41,3 +40,12 @@ Std_ReturnType Rte_Call_Tester_Calculator_Multiply(const UInt8 arg1,
        return Rte_Multiply(arg1, arg2, result);\r
 }\r
 \r
+UInt32 Rte_IRead_FreqReqRunnable_FreqReq_freq() {\r
+       return Rte_Inst_Tester.FreqReqRunnable_FreqReq_freq->value;\r
+}\r
+\r
+void Rte_IWrite_FreqReqRunnable_FreqReqInd_freq(UInt32 Value) {\r
+       /** Note: this API is required to be called during execution of runnable FreqReqRunnable. 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
+       Rte_Inst_Tester.FreqReqRunnable_FreqReqInd_freq->value = Value;\r
+}\r
+\r