⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 pmsm_8h.html

📁 ATtiny261 461 861 这份资料介绍了执行Attiny261 461 861微控制器系列正弦波驱动三相无刷直流电动机霍尔传感器。
💻 HTML
📖 第 1 页 / 共 5 页
字号:
Definition at line <a class="el" href="PMSM_8h-source.html#l00272">272</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00278">SpeedController()</a>.    </td>  </tr></table><a class="anchor" name="a49"></a><!-- doxytag: member="PMSM.h::SPEED_CONTROLLER_TIME_BASE" ref="a49" args="" --><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">#define SPEED_CONTROLLER_TIME_BASE&nbsp;&nbsp;&nbsp;150          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The number of ticks between each iteration of the speed loop. <dl compact><dt><b><a class="el" href="todo.html#_todo000005">Todo:</a></b></dt><dd>Adjust speed control loop time base. </dd></dl><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00243">243</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00120">main()</a>.    </td>  </tr></table><a class="anchor" name="a37"></a><!-- doxytag: member="PMSM.h::SYNCHRONIZATION_COUNT" ref="a37" args="" --><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">#define SYNCHRONIZATION_COUNT&nbsp;&nbsp;&nbsp;2          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>This constant specifies the number of subsequent detections of correct direction of rotation needed before the firmware is considered synchronized with the motor. (SYNCHRONIZATION_COUNT + 1) hall sensor changes in the same direction are needed.<p>Definition at line <a class="el" href="PMSM_8h-source.html#l00193">193</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00675">MotorSynchronizedUpdate()</a>.    </td>  </tr></table><a class="anchor" name="a34"></a><!-- doxytag: member="PMSM.h::TABLE_ELEMENTS_PER_COMMUTATION_SECTOR" ref="a34" args="" --><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">#define TABLE_ELEMENTS_PER_COMMUTATION_SECTOR&nbsp;&nbsp;&nbsp;(SINE_TABLE_LENGTH / 6)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The number of elements in the sine modulation table for each phase per commutation sector. <p><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00173">173</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00888">HallChangeISR()</a>.    </td>  </tr></table><a class="anchor" name="a55"></a><!-- doxytag: member="PMSM.h::TC1_PWM6_SET_DUTY_CYCLE" ref="a55" args="(dutyCycle)" --><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">#define TC1_PWM6_SET_DUTY_CYCLE          </td>          <td class="md" valign="top">(&nbsp;</td>          <td class="md" nowrap valign="top">dutyCycle&nbsp;</td>          <td class="mdname1" valign="top" nowrap>          </td>          <td class="md" valign="top">&nbsp;)&nbsp;</td>          <td class="md" nowrap>&nbsp;&nbsp;&nbsp;TC1_WRITE_10_BIT_REGISTER(OCR1A, (dutyCycle))</td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Set duty cycle in PWM6 mode. <p>This macro sets the duty cycle in PWM6 mode.<p>Definition at line <a class="el" href="PMSM_8h-source.html#l00310">310</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00420">BlockCommutationSetDuty()</a>.    </td>  </tr></table><a class="anchor" name="a1"></a><!-- doxytag: member="PMSM.h::TRUE" ref="a1" args="" --><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">#define TRUE&nbsp;&nbsp;&nbsp;(!FALSE)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>TRUE constant value, defined to be compatible with comparisons. <p><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00052">52</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.    </td>  </tr></table><a class="anchor" name="a45"></a><!-- doxytag: member="PMSM.h::TURN_MODE" ref="a45" args="" --><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">#define TURN_MODE&nbsp;&nbsp;&nbsp;TURN_MODE_BRAKE          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Turn mode. Set to either TURN_MODE_COAST or TURN_MODE_BRAKE.<p><dl compact><dt><b><a class="el" href="todo.html#_todo000003">Todo:</a></b></dt><dd>Select turn mode. </dd></dl><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00224">224</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.    </td>  </tr></table><a class="anchor" name="a44"></a><!-- doxytag: member="PMSM.h::TURN_MODE_BRAKE" ref="a44" args="" --><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">#define TURN_MODE_BRAKE&nbsp;&nbsp;&nbsp;1          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>TURN_MODE value for braking (low side braking). <p><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00217">217</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.    </td>  </tr></table><a class="anchor" name="a43"></a><!-- doxytag: member="PMSM.h::TURN_MODE_COAST" ref="a43" args="" --><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">#define TURN_MODE_COAST&nbsp;&nbsp;&nbsp;0          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>TURN_MODE value for coasting (disabled drivers). <p><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00214">214</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.    </td>  </tr></table><a class="anchor" name="a6"></a><!-- doxytag: member="PMSM.h::UH" ref="a6" args="" --><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">#define UH&nbsp;&nbsp;&nbsp;PB1          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Pin connected to UH. <p><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00076">76</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.    </td>  </tr></table><a class="anchor" name="a18"></a><!-- doxytag: member="PMSM.h::UH_OCOE" ref="a18" args="" --><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">#define UH_OCOE&nbsp;&nbsp;&nbsp;OC1OE1          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p><p>Definition at line <a class="el" href="PMSM_8h-source.html#l00114">114</a> of file <a class="el" href="PMSM_8h-source.html">PMSM.h</a>.    </td>  </tr></table><a class="anchor" name="a5"></a><!-- doxytag: member="PMSM.h::UL" ref="a5" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">   

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -