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

📄 bldc_8h.html

📁 一个用GCC做的atmel芯片控制的无刷无传感器的程序.包括各种参考文档!
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        <tr>          <td class="md" nowrap valign="top">#define CLEAR_ALL_TIMER0_INT_FLAGS&nbsp;&nbsp;&nbsp;(TIFR0 = TIFR0)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Macro that clears all Timer/counter0 interrupt flags. <p><p>Definition at line <a class="el" href="BLDC_8h-source.html#l00207">207</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00544">CurrentMeasurementComplete()</a>, and <a class="el" href="main_8c-source.html#l00507">EnableZCDetection()</a>.    </td>  </tr></table><a class="anchor" name="a60"></a><!-- doxytag: member="BLDC.h::CLEAR_ALL_TIMER1_INT_FLAGS" ref="a60" 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 CLEAR_ALL_TIMER1_INT_FLAGS&nbsp;&nbsp;&nbsp;(TIFR1 = TIFR1)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Macro that clears all Timer/Counter1 interrupt flags. <p><p>Definition at line <a class="el" href="BLDC_8h-source.html#l00216">216</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00482">Commutate()</a>, <a class="el" href="main_8c-source.html#l00507">EnableZCDetection()</a>, <a class="el" href="main_8c-source.html#l00364">MotorPWMBottom()</a>, and <a class="el" href="main_8c-source.html#l00593">StartupDelay()</a>.    </td>  </tr></table><a class="anchor" name="a79"></a><!-- doxytag: member="BLDC.h::COMMUTATION_CORRECTION" ref="a79" 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 COMMUTATION_CORRECTION&nbsp;&nbsp;&nbsp;50          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The number of milliseconds to subtract from the zero-crossing to commutation time. Used to compensate for zero-cross sample frequency.<p>Definition at line <a class="el" href="BLDC_8h-source.html#l00296">296</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00364">MotorPWMBottom()</a>.    </td>  </tr></table><a class="anchor" name="a69"></a><!-- doxytag: member="BLDC.h::COMMUTATION_TIMING_IIR_COEFF_A" ref="a69" 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 COMMUTATION_TIMING_IIR_COEFF_A&nbsp;&nbsp;&nbsp;1          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Input value relative gain in IIR filter. <p>This value specifies the relative gain given to the input value in the IIR filter. The value should be an integer. Make sure that COEFF_A + COEFF_B is a power of 2, to avoid instability.<p>Definition at line <a class="el" href="BLDC_8h-source.html#l00251">251</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00364">MotorPWMBottom()</a>.    </td>  </tr></table><a class="anchor" name="a70"></a><!-- doxytag: member="BLDC.h::COMMUTATION_TIMING_IIR_COEFF_B" ref="a70" 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 COMMUTATION_TIMING_IIR_COEFF_B&nbsp;&nbsp;&nbsp;3          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Relative feedback gain in IIR filter. <p>This value specifies the relative feedback gain given to the input value in the IIR filter. The value should be an integer. Make sure that COEFF_A + COEFF_B is a power of 2, to avoid instability.<p>Definition at line <a class="el" href="BLDC_8h-source.html#l00259">259</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00364">MotorPWMBottom()</a>.    </td>  </tr></table><a class="anchor" name="a73"></a><!-- doxytag: member="BLDC.h::CURRENT_LIMITER_CRITICAL" ref="a73" 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 CURRENT_LIMITER_CRITICAL&nbsp;&nbsp;&nbsp;3000          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The current value in milliAmpere where the motor should be shut down. <p><p>Definition at line <a class="el" href="BLDC_8h-source.html#l00269">269</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00767">CurrentControl()</a>.    </td>  </tr></table><a class="anchor" name="a75"></a><!-- doxytag: member="BLDC.h::CURRENT_LIMITER_FACTOR" ref="a75" 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 CURRENT_LIMITER_FACTOR&nbsp;&nbsp;&nbsp;(1 / 5)          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The maximum duty cycles is decreased by this number of PWM duty cycle steps per milliAmpere current consumption over <a class="el" href="BLDC_8h.html#a72">CURRENT_LIMITER_START</a>.<p>Definition at line <a class="el" href="BLDC_8h-source.html#l00281">281</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00767">CurrentControl()</a>.    </td>  </tr></table><a class="anchor" name="a72"></a><!-- doxytag: member="BLDC.h::CURRENT_LIMITER_START" ref="a72" 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 CURRENT_LIMITER_START&nbsp;&nbsp;&nbsp;2500          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>The current value in milliAmpere where the current limiter starts to kick in. <p><p>Definition at line <a class="el" href="BLDC_8h-source.html#l00266">266</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.<p>Referenced by <a class="el" href="main_8c-source.html#l00767">CurrentControl()</a>.    </td>  </tr></table><a class="anchor" name="a11"></a><!-- doxytag: member="BLDC.h::CW" ref="a11" 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 CW&nbsp;&nbsp;&nbsp;0          </td>        </tr>      </table>    </td>  </tr></table><table cellspacing="5" cellpadding="0" border="0">  <tr>    <td>      &nbsp;    </td>    <td><p>Clockwise rotation flag. Used only in macros. <p><p>Definition at line <a class="el" href="BLDC_8h-source.html#l00060">60</a> of file <a class="el" href="BLDC_8h-source.html">BLDC.h</a>.    </td>  </tr></table><a class="anchor" name="a13"></a><!-- doxytag: member="BLDC.h::DIRECTION_OF_ROTATION" ref="a13" args="" --><p><table class="mdTable" cellpadding="2" cellspacing="0">  <tr>    <td class="mdRow">      <table cellpadding="0" cellspacing="0" border="0">        <tr>       

⌨️ 快捷键说明

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