The
<a href="https://github.com/ppisa/rpi-rt-control/blob/master/simulink/sfIRCInput.c" target="_blank"><em>IRC0</em></a>
and
-<a href="https://github.com/ppisa/rpi-rt-control/blob/master/simulink/sfPWMwDir.c" target="_blank"><em>PWMwDir</em></a>
+<a href="https://github.com/ppisa/rpi-rt-control/blob/master/simulink/sfPWMwDirOutput.c" target="_blank"><em>PWMwDir</em></a>
blocks are so called C MEX S-functions. The former reads the motor position
from <tt>/dev/irc0</tt>, the latter controls the PWM and DIR signals
by directly accessing the GPIO registers via <tt>mmap()</tt>ed <tt>/dev/mem</tt>.
<dl>
<dt>Bachelor thesis of Radek Mečiar: Motor control with Raspberry Pi board and Linux (Czech language only), 2014</dt>
<dd>Available <a href="https://support.dce.felk.cvut.cz/mediawiki/images/1/10/Bp_2014_meciar_radek.pdf" target="_blank">online in PDF format</a>
+ <br><dd>Corresponding source code on GitHub <a href="https://github.com/Ramese/servoPi" target="_blank">https://github.com/Ramese/servoPi</a>
</dd>
<dt>Michal Sojka, Pavel Píša: Usable Simulink Embedded Coder Target for Linux at 16th Real Time Linux Workshop, 2014</dt>
<dd><a href="https://www.osadl.org/?id=2018" target="_blank">Paper abstract</a> at <a href="https://www.osadl.org/RTLWS-2014.rtlws-2014.0.html" target="_blank">16th Real Time Linux Workshop</a> site.