Files
TweinStein/Documentation/html/fixed_8h_source.html

103 lines
7.4 KiB
HTML
Raw Normal View History

2026-06-12 02:55:04 -07:00
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.9.1"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>RTOS_MSPM0: RTOS_Labs_common/fixed.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
<tbody>
<tr style="height: 56px;">
<td id="projectlogo"><img alt="Logo" src="RobotSensors.png"/></td>
<td id="projectalign" style="padding-left: 0.5em;">
<div id="projectname">RTOS_MSPM0
&#160;<span id="projectnumber">1.1</span>
</div>
<div id="projectbrief">ECE445M starter code</div>
</td>
</tr>
</tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.9.1 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search','.html');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
initMenu('',true,false,'search.php','Search');
$(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
onmouseover="return searchBox.OnSearchSelectShow()"
onmouseout="return searchBox.OnSearchSelectHide()"
onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>
<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
</iframe>
</div>
<div id="nav-path" class="navpath">
<ul>
<li class="navelem"><a class="el" href="dir_d9737668015ddda3d9b152d7c8d1103c.html">RTOS_Labs_common</a></li> </ul>
</div>
</div><!-- top -->
<div class="header">
<div class="headertitle">
<div class="title">fixed.h</div> </div>
</div><!--header-->
<div class="contents">
<a href="fixed_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno"> 1</span>&#160; </div>
<div class="line"><a name="l00014"></a><span class="lineno"> 14</span>&#160;<span class="preprocessor">#include &lt;stdint.h&gt;</span></div>
<div class="line"><a name="l00015"></a><span class="lineno"> 15</span>&#160; </div>
<div class="line"><a name="l00027"></a><span class="lineno"><a class="line" href="group___math.html#ga585d66cf23f64b1e470007ddd099e35e"> 27</a></span>&#160;int16_t <a class="code" href="group___math.html#ga585d66cf23f64b1e470007ddd099e35e">fixed_sin</a>(int32_t theta);</div>
<div class="line"><a name="l00028"></a><span class="lineno"> 28</span>&#160; </div>
<div class="line"><a name="l00029"></a><span class="lineno"> 29</span>&#160; </div>
<div class="line"><a name="l00037"></a><span class="lineno"><a class="line" href="group___math.html#ga93731bdd1474e8414ecfbbb6c3bf4ae1"> 37</a></span>&#160;int16_t <a class="code" href="group___math.html#ga93731bdd1474e8414ecfbbb6c3bf4ae1">fixed_cos</a>(int32_t theta);</div>
<div class="line"><a name="l00038"></a><span class="lineno"> 38</span>&#160; </div>
<div class="line"><a name="l00046"></a><span class="lineno"><a class="line" href="group___math.html#ga4e056d1c21233a9777eb87c2552b1440"> 46</a></span>&#160;int32_t <a class="code" href="group___math.html#ga4e056d1c21233a9777eb87c2552b1440">fixed_sin2</a>(int32_t theta);</div>
<div class="line"><a name="l00047"></a><span class="lineno"> 47</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="group___math.html#ga5b1395587dae647ecf1be2beb57aa6ed"> 55</a></span>&#160;int32_t <a class="code" href="group___math.html#ga5b1395587dae647ecf1be2beb57aa6ed">fixed_cos2</a>(int32_t theta);</div>
<div class="line"><a name="l00056"></a><span class="lineno"> 56</span>&#160; </div>
<div class="line"><a name="l00069"></a><span class="lineno"><a class="line" href="group___math.html#ga4e2009102d0749ecec8a93cd263f0c3c"> 69</a></span>&#160;int32_t <a class="code" href="group___math.html#ga4e2009102d0749ecec8a93cd263f0c3c">sin540</a>(int32_t theta);</div>
<div class="line"><a name="l00070"></a><span class="lineno"> 70</span>&#160; </div>
<div class="line"><a name="l00078"></a><span class="lineno"><a class="line" href="group___math.html#ga9903bb2faf00cf90b2d3232689cfa82b"> 78</a></span>&#160;int32_t <a class="code" href="group___math.html#ga9903bb2faf00cf90b2d3232689cfa82b">cos540</a>(int32_t theta);</div>
<div class="ttc" id="agroup___math_html_ga4e056d1c21233a9777eb87c2552b1440"><div class="ttname"><a href="group___math.html#ga4e056d1c21233a9777eb87c2552b1440">fixed_sin2</a></div><div class="ttdeci">int32_t fixed_sin2(int32_t theta)</div><div class="ttdoc">binary fixed-point sin</div></div>
<div class="ttc" id="agroup___math_html_ga4e2009102d0749ecec8a93cd263f0c3c"><div class="ttname"><a href="group___math.html#ga4e2009102d0749ecec8a93cd263f0c3c">sin540</a></div><div class="ttdeci">int32_t sin540(int32_t theta)</div><div class="ttdoc">binary fixed-point sin</div></div>
<div class="ttc" id="agroup___math_html_ga585d66cf23f64b1e470007ddd099e35e"><div class="ttname"><a href="group___math.html#ga585d66cf23f64b1e470007ddd099e35e">fixed_sin</a></div><div class="ttdeci">int16_t fixed_sin(int32_t theta)</div><div class="ttdoc">decimal fixed-point sin</div></div>
<div class="ttc" id="agroup___math_html_ga5b1395587dae647ecf1be2beb57aa6ed"><div class="ttname"><a href="group___math.html#ga5b1395587dae647ecf1be2beb57aa6ed">fixed_cos2</a></div><div class="ttdeci">int32_t fixed_cos2(int32_t theta)</div><div class="ttdoc">binary fixed-point cos</div></div>
<div class="ttc" id="agroup___math_html_ga93731bdd1474e8414ecfbbb6c3bf4ae1"><div class="ttname"><a href="group___math.html#ga93731bdd1474e8414ecfbbb6c3bf4ae1">fixed_cos</a></div><div class="ttdeci">int16_t fixed_cos(int32_t theta)</div><div class="ttdoc">decimal fixed-point cos</div></div>
<div class="ttc" id="agroup___math_html_ga9903bb2faf00cf90b2d3232689cfa82b"><div class="ttname"><a href="group___math.html#ga9903bb2faf00cf90b2d3232689cfa82b">cos540</a></div><div class="ttdeci">int32_t cos540(int32_t theta)</div><div class="ttdoc">binary fixed-point cos</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.1
</small></address>
</body>
</html>