X-Git-Url: http://rtime.felk.cvut.cz/gitweb/jenkicar/rpp-simulink.git/blobdiff_plain/6bc4de85665b93eac538d391ea2c1b74bb4972ce..e89d79fca266503f4ece3bc5e1c16739124dc705:/doc/rpp_simulink.tex

diff --git a/doc/rpp_simulink.tex b/doc/rpp_simulink.tex
index 37ba877..e4ca366 100644
--- a/doc/rpp_simulink.tex
+++ b/doc/rpp_simulink.tex
@@ -2421,7 +2421,7 @@ This demo will toggle LEDs on the Hercules Development Kit with
 different rate. This is implemented with multiple Simulink tasks, each
 running at different rate. In the generated code, these tasks are
 called from a singe thread and therefore no task can preempt another
-one.
+one. See Section \ref{sec-singlet-mode} for more details.
 
 The state of each LED is printed to the Serial Communication Interface
 (115200-8-N-1) when toggled.
@@ -2438,6 +2438,38 @@ The state of each LED is printed to the Serial Communication Interface
 	\label{tab:multirate_st_led_desc}
 \end{center}
 
+\subsection{Multi-rate MultiTasking demo}
+\label{sec:mult-multi-thre}
+
+\begin{figure}[H]\begin{center}
+\noindent
+\includegraphics[scale=.45]{images/demo_multirate_mt.png}
+\caption{Multi-rate MultiTasking Simulink demo for RPP.}
+\end{center}\end{figure}
+
+\textbf{Description:}
+
+This demo will toggle LEDs on the Hercules Development Kit with
+different rate. This is implemented with multiple Simulink tasks, each
+running at different rate. In the generated code, every subrate task
+runs in its own thread. See Section \ref{sec-multit-mode} for more details.
+
+The state of each LED is printed to the Serial Communication Interface
+(115200-8-N-1) when toggled.
+
+\begin{center}
+	\begin{tabular}{lll}
+    \rowcolor[gray]{0.9}
+		LED & pin & rate [s] \\
+		1 & NHET1\_25 & 0.3 \\
+		2 & NHET1\_05 & 0.5 \\
+		3 & NHET1\_00 & 1.0 \\
+	\end{tabular}
+	\captionof{table}{LEDs connection and rate}
+	\label{tab:multirate_mt_led_desc}
+\end{center}
+
+
 
 \chapter{Command line testing tool}
 \label{chap-rpp-test-software}
