An example of importing Embedded Coder code into the mbed IDE. Currently doesn't connect IO to PWM, ADC, and Encoder, instead provides random inputs and measures execution time.

Dependencies:   mbed-dsp mbed Nucleo_pmsmfoc

Dependents:   Nucleo_pmsmfoc

html/html/rtwdemo_pmsmfoc_replacements.html

Committer:
paulcox
Date:
2014-11-25
Revision:
2:bbc155b0b886

File content as of revision 2:bbc155b0b886:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><link rel="stylesheet" type="text/css" href="rtwreport.css" /><title>
Code replacements in rtwdemo_pmsmfoc
</title>

</head>
<body onload="try {if (top) {if (top.rtwPageOnLoad) top.rtwPageOnLoad('rtwIdCodeReplacements'); else local_onload();}} catch(err) {};">
<h1>
Code replacements in rtwdemo_pmsmfoc
</h1>
<div>

</div>
<div>

</div>
<p>
Code replacements for library 'ARM Cortex-M'. The library comprises:<ul>
<li>
ARM Cortex-M<ul>
<li>
crl_table_cmsis.mat
</li>

</ul>

</li>

</ul>

</p>
<p>
To see the replacements and misses in the Code Replacement Viewer, look <a href="matlab: rtwprivate invokeViewerForReport 'rtwdemo_pmsmfoc' 'ARM Cortex-M'" class="callMATLAB" name="callMATLAB">here</a>.
</p>
<h3 name="sec_Function_replacements_in_rtwdemo_pmsmfoc" id="sec_Function_replacements_in_rtwdemo_pmsmfoc">
1. Function replacements in rtwdemo_pmsmfoc <span title="Click to shrink or expand section" style="cursor:pointer;font-weight:normal;" id="rtwIdCodeReplacements_table_001_control" onclick ="if (top) if (top.rtwTableShrink) top.rtwTableShrink(window.document, this, 'rtwIdCodeReplacements_table_001', false)"><span class="shrink-button">[<u>hide</u>]</span></span>
</h3>
<table width="100%" name="rtwIdCodeReplacements_table_001" id="rtwIdCodeReplacements_table_001" border="0">
<tr>
<td align="left" valign="top">
<p>
The following table provides a mapping from the functions used from the selected Code Replacement Library to the blocks in the model that triggered the replacement. <br />
</p>

</td>

</tr>
<tr>
<td align="left" valign="top">
<table width="100%" cellpadding="2" border="1">
<tr style="background-color: #eeeeff">
<td width="50%" align="left" valign="top" style="border-style: none">
<b>
Function
</b>

</td>
<td width="50%" align="left" valign="top" style="border-style: none">
<b>
Block
</b>

</td>

</tr>
<tr style="background-color: #ffffff">
<td width="50%" align="left" valign="top" style="border-style: none">
fabs
</td>
<td width="50%" align="left" valign="top" style="border-style: none">
<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:4451:169:2-5')" name="code2model" class="code2model">&lt;S4&gt;:169</a><br /><a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:5974')" name="code2model" class="code2model">&lt;S60&gt;/Velocity_Abs</a><br />Unknown
</td>

</tr>
<tr style="background-color: #eeeeff">
<td width="50%" align="left" valign="top" style="border-style: none">
ceil
</td>
<td width="50%" align="left" valign="top" style="border-style: none">
Unknown
</td>

</tr>
<tr style="background-color: #ffffff">
<td width="50%" align="left" valign="top" style="border-style: none">
arm_cos_f32
</td>
<td width="50%" align="left" valign="top" style="border-style: none">
<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:4499')" name="code2model" class="code2model">&lt;S14&gt;/sine_cosine</a>
</td>

</tr>
<tr style="background-color: #eeeeff">
<td width="50%" align="left" valign="top" style="border-style: none">
floor
</td>
<td width="50%" align="left" valign="top" style="border-style: none">
Unknown
</td>

</tr>
<tr style="background-color: #ffffff">
<td width="50%" align="left" valign="top" style="border-style: none">
arm_sin_f32
</td>
<td width="50%" align="left" valign="top" style="border-style: none">
<a href="matlab:coder.internal.code2model('rtwdemo_pmsmfoc:4499')" name="code2model" class="code2model">&lt;S14&gt;/sine_cosine</a>
</td>

</tr>

</table>

</td>

</tr>

</table>

</body>

</html>