📄 pmsm__tables_8h.html
字号:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"><title>AVR449: PMSM_tables.h File Reference</title><link href="doxygen.css" rel="stylesheet" type="text/css"></head><body><!-- Generated by Doxygen 1.4.4 --><div class="qindex"><a class="qindex" href="main.html">Main Page</a> | <a class="qindex" href="annotated.html">Data Structures</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Data Fields</a> | <a class="qindex" href="globals.html">Globals</a> | <a class="qindex" href="pages.html">Related Pages</a></div><h1>PMSM_tables.h File Reference</h1><hr><a name="_details"></a><h2>Detailed Description</h2>Motor control tables. <p>This file contains the table definitions used for motor control.<p><dl compact><dt><b>Application note:</b></dt><dd>AVR447: Sinusoidal driving of three-phase permanent motor using ATtiny261/461/861.</dd></dl><dl compact><dt><b>Documentation</b></dt><dd>For comprehensive code documentation, supported compilers, compiler settings and supported devices see readme.html</dd></dl><dl compact><dt><b>Author:</b></dt><dd>Atmel Corporation: <a href="http://www.atmel.com">http://www.atmel.com</a> <br> Support email: <a href="mailto:avr@atmel.com">avr@atmel.com</a></dd></dl><dl compact><dt><b>Name</b></dt><dd>RELEASE_1_0 </dd></dl><dl compact><dt><b>Revision</b></dt><dd>1.4 </dd></dl><dl compact><dt><b>RCSfile</b></dt><dd><a class="el" href="PMSM__tables_8h.html">PMSM_tables.h</a>,v </dd></dl><dl compact><dt><b>Date</b></dt><dd>2006/05/18 07:59:26 </dd></dl><br><p>Definition in file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p><code>#include "<a class="el" href="PMSM_8h-source.html">PMSM.h</a>"</code><br><code>#include "<a class="el" href="stdint_8h-source.html">stdint.h</a>"</code><br><p>Include dependency graph for PMSM_tables.h:<p><center><img src="PMSM__tables_8h__incl.png" border="0" usemap="#PMSM_tables.h_map" alt=""></center><map name="PMSM_tables.h_map"><area href="PMSM_8h.html" shape="rect" coords="172,5,244,32" alt=""><area href="stdint_8h.html" shape="rect" coords="295,31,359,57" alt=""></map><p>This graph shows which files directly or indirectly include this file:<p><center><img src="PMSM__tables_8h__dep__incl.png" border="0" usemap="#PMSM_tables.hdep_map" alt=""></center><map name="PMSM_tables.hdep_map"><area href="main_8c.html" shape="rect" coords="172,5,233,32" alt=""></map><p><a href="PMSM__tables_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"><tr><td></td></tr><tr><td colspan="2"><br><h2>Variables</h2></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a56">uint8_t</a> __flash const </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a1">blockCommutationTableForward</a> [8]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Block commutation Output Compare Override Enable masks. <a href="#a1"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top"><a class="el" href="stdint_8h.html#a56">uint8_t</a> __flash const </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a2">blockCommutationTableReverse</a> [8]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Block commutation Output Compare Override Enable masks. <a href="#a2"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">__flash const <a class="el" href="stdint_8h.html#a58">uint16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a5">CSOffsetsForward</a> [8]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Sine table offset values corresponding to hall sensor values when running in the forward direction. <a href="#a5"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">__flash const <a class="el" href="stdint_8h.html#a58">uint16_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a6">CSOffsetsReverse</a> [8]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Sine table offset values corresponding to hall sensor values when running in the reverse direction. <a href="#a6"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">__flash const <a class="el" href="stdint_8h.html#a56">uint8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a3">expectedHallSequenceForward</a> [8]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Table of next expected hall sensor value when running forward. <a href="#a3"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">__flash const <a class="el" href="stdint_8h.html#a56">uint8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a4">expectedHallSequenceReverse</a> [8]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Table of next expected hall sensor value when running in the reverse direction. <a href="#a4"></a><br></td></tr><tr><td class="memItemLeft" nowrap align="right" valign="top">__flash const <a class="el" href="stdint_8h.html#a56">uint8_t</a> </td><td class="memItemRight" valign="bottom"><a class="el" href="PMSM__tables_8h.html#a0">sineTable</a> [SINE_TABLE_LENGTH *3]</td></tr><tr><td class="mdescLeft"> </td><td class="mdescRight">Sine wave modulation table. <a href="#a0"></a><br></td></tr></table><hr><h2>Variable Documentation</h2><a class="anchor" name="a1"></a><!-- doxytag: member="PMSM_tables.h::blockCommutationTableForward" ref="a1" args="[8]" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="stdint_8h.html#a56">uint8_t</a> __flash const <a class="el" href="PMSM__tables_8h.html#a1">blockCommutationTableForward</a>[8] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{ 0x00, ((1 << <a class="code" href="PMSM_8h.html#a22">WH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a17">UL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a18">UH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a19">VL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a22">WH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a19">VL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a20">VH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a21">WL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a20">VH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a17">UL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a18">UH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a21">WL_OCOE</a>)), 0x00}</pre></div>Block commutation Output Compare Override Enable masks. <p>This array contains Output Compare Override Enable masks for block commutation when running in the forward direction.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00257">257</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00455">BlockCommutate()</a>. </td> </tr></table><a class="anchor" name="a2"></a><!-- doxytag: member="PMSM_tables.h::blockCommutationTableReverse" ref="a2" args="[8]" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top"><a class="el" href="stdint_8h.html#a56">uint8_t</a> __flash const <a class="el" href="PMSM__tables_8h.html#a2">blockCommutationTableReverse</a>[8] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td> <td><p><b>Initial value:</b><div class="fragment"><pre class="fragment">{ 0x00, ((1 << <a class="code" href="PMSM_8h.html#a18">UH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a21">WL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a20">VH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a17">UL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a20">VH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a21">WL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a22">WH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a19">VL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a18">UH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a19">VL_OCOE</a>)), ((1 << <a class="code" href="PMSM_8h.html#a22">WH_OCOE</a>) | (1 << <a class="code" href="PMSM_8h.html#a17">UL_OCOE</a>)), 0x00}</pre></div>Block commutation Output Compare Override Enable masks. <p>This array contains Output Compare Override Enable masks for block commutation when running in the reverse direction.<p>Definition at line <a class="el" href="PMSM__tables_8h-source.html#l00275">275</a> of file <a class="el" href="PMSM__tables_8h-source.html">PMSM_tables.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00455">BlockCommutate()</a>. </td> </tr></table><a class="anchor" name="a5"></a><!-- doxytag: member="PMSM_tables.h::CSOffsetsForward" ref="a5" args="[8]" --><p><table class="mdTable" cellpadding="2" cellspacing="0"> <tr> <td class="mdRow"> <table cellpadding="0" cellspacing="0" border="0"> <tr> <td class="md" nowrap valign="top">__flash const <a class="el" href="stdint_8h.html#a58">uint16_t</a> <a class="el" href="PMSM__tables_8h.html#a5">CSOffsetsForward</a>[8] </td> </tr> </table> </td> </tr></table><table cellspacing="5" cellpadding="0" border="0"> <tr> <td> </td>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -