Skip to content

Commit

Permalink
Fix STM32 seconds interrupt handling, reported by @mignon-ne
Browse files Browse the repository at this point in the history
  • Loading branch information
Naguissa committed Oct 22, 2019
1 parent 0db095d commit bd7b476
Show file tree
Hide file tree
Showing 20 changed files with 71 additions and 79 deletions.
4 changes: 2 additions & 2 deletions doc/classuTimerLib-members.html
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,8 @@
<tr><td class="entry"><a class="el" href="classuTimerLib.html#a9bd139ff00e4083fd902cf98582a2925">clearTimer</a>()</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classuTimerLib.html#a854ecb39b803b72f37ae15b6f2f5881a">setInterval_s</a>(void(*)(), unsigned long int)</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classuTimerLib.html#a7def88c35a2326fbccaec9920d2310b5">setInterval_us</a>(void(*)(), unsigned long int)</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classuTimerLib.html#abea126dca65b571400279ac39c6cc34c">setTimeout_s</a>(void(*)(), unsigned long int)</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classuTimerLib.html#a0401f0f5ffd188616c824c7ba5926558">setTimeout_us</a>(void(*)(), unsigned long int)</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classuTimerLib.html#ac517490c5db52264053b60f36608b524">setTimeout_s</a>(void(*)(), unsigned long int)</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr><td class="entry"><a class="el" href="classuTimerLib.html#a21fd5e64f88e73a33ca69233ed0b9bac">setTimeout_us</a>(void(*)(), unsigned long int)</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
<tr class="even"><td class="entry"><a class="el" href="classuTimerLib.html#a8974a9b18f7a78027823c3f16535ccdd">uTimerLib</a>()</td><td class="entry"><a class="el" href="classuTimerLib.html">uTimerLib</a></td><td class="entry"></td></tr>
</table></div><!-- contents -->
<!-- start footer part -->
Expand Down
24 changes: 12 additions & 12 deletions doc/classuTimerLib.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,12 @@
<tr class="memitem:a854ecb39b803b72f37ae15b6f2f5881a"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuTimerLib.html#a854ecb39b803b72f37ae15b6f2f5881a">setInterval_s</a> (void(*)(), unsigned long int)</td></tr>
<tr class="memdesc:a854ecb39b803b72f37ae15b6f2f5881a"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches a callback function to be executed each s seconds. <a href="#a854ecb39b803b72f37ae15b6f2f5881a">More...</a><br /></td></tr>
<tr class="separator:a854ecb39b803b72f37ae15b6f2f5881a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0401f0f5ffd188616c824c7ba5926558"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuTimerLib.html#a0401f0f5ffd188616c824c7ba5926558">setTimeout_us</a> (void(*)(), unsigned long int)</td></tr>
<tr class="memdesc:a0401f0f5ffd188616c824c7ba5926558"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches a callback function to be executed once when us microseconds have passed. <a href="#a0401f0f5ffd188616c824c7ba5926558">More...</a><br /></td></tr>
<tr class="separator:a0401f0f5ffd188616c824c7ba5926558"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abea126dca65b571400279ac39c6cc34c"><td class="memItemLeft" align="right" valign="top">int&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuTimerLib.html#abea126dca65b571400279ac39c6cc34c">setTimeout_s</a> (void(*)(), unsigned long int)</td></tr>
<tr class="memdesc:abea126dca65b571400279ac39c6cc34c"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches a callback function to be executed once when s seconds have passed. <a href="#abea126dca65b571400279ac39c6cc34c">More...</a><br /></td></tr>
<tr class="separator:abea126dca65b571400279ac39c6cc34c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a21fd5e64f88e73a33ca69233ed0b9bac"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuTimerLib.html#a21fd5e64f88e73a33ca69233ed0b9bac">setTimeout_us</a> (void(*)(), unsigned long int)</td></tr>
<tr class="memdesc:a21fd5e64f88e73a33ca69233ed0b9bac"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches a callback function to be executed once when us microseconds have passed. <a href="#a21fd5e64f88e73a33ca69233ed0b9bac">More...</a><br /></td></tr>
<tr class="separator:a21fd5e64f88e73a33ca69233ed0b9bac"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac517490c5db52264053b60f36608b524"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuTimerLib.html#ac517490c5db52264053b60f36608b524">setTimeout_s</a> (void(*)(), unsigned long int)</td></tr>
<tr class="memdesc:ac517490c5db52264053b60f36608b524"><td class="mdescLeft">&#160;</td><td class="mdescRight">Attaches a callback function to be executed once when s seconds have passed. <a href="#ac517490c5db52264053b60f36608b524">More...</a><br /></td></tr>
<tr class="separator:ac517490c5db52264053b60f36608b524"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a9bd139ff00e4083fd902cf98582a2925"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classuTimerLib.html#a9bd139ff00e4083fd902cf98582a2925">clearTimer</a> ()</td></tr>
<tr class="memdesc:a9bd139ff00e4083fd902cf98582a2925"><td class="mdescLeft">&#160;</td><td class="mdescRight">Clear timer interrupts. <a href="#a9bd139ff00e4083fd902cf98582a2925">More...</a><br /></td></tr>
<tr class="separator:a9bd139ff00e4083fd902cf98582a2925"><td class="memSeparator" colspan="2">&#160;</td></tr>
Expand Down Expand Up @@ -229,14 +229,14 @@ <h2 class="memtitle"><span class="permalink"><a href="#a7def88c35a2326fbccaec992

</div>
</div>
<a id="abea126dca65b571400279ac39c6cc34c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abea126dca65b571400279ac39c6cc34c">&#9670;&nbsp;</a></span>setTimeout_s()</h2>
<a id="ac517490c5db52264053b60f36608b524"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac517490c5db52264053b60f36608b524">&#9670;&nbsp;</a></span>setTimeout_s()</h2>

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int uTimerLib::setTimeout_s </td>
<td class="memname">void uTimerLib::setTimeout_s </td>
<td>(</td>
<td class="paramtype">void(*)()&#160;</td>
<td class="paramname"><em>cb</em>, </td>
Expand Down Expand Up @@ -266,14 +266,14 @@ <h2 class="memtitle"><span class="permalink"><a href="#abea126dca65b571400279ac3

</div>
</div>
<a id="a0401f0f5ffd188616c824c7ba5926558"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0401f0f5ffd188616c824c7ba5926558">&#9670;&nbsp;</a></span>setTimeout_us()</h2>
<a id="a21fd5e64f88e73a33ca69233ed0b9bac"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a21fd5e64f88e73a33ca69233ed0b9bac">&#9670;&nbsp;</a></span>setTimeout_us()</h2>

<div class="memitem">
<div class="memproto">
<table class="memname">
<tr>
<td class="memname">int uTimerLib::setTimeout_us </td>
<td class="memname">void uTimerLib::setTimeout_us </td>
<td>(</td>
<td class="paramtype">void(*)()&#160;</td>
<td class="paramname"><em>cb</em>, </td>
Expand Down
4 changes: 2 additions & 2 deletions doc/functions.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
: <a class="el" href="classuTimerLib.html#a7def88c35a2326fbccaec9920d2310b5">uTimerLib</a>
</li>
<li>setTimeout_s()
: <a class="el" href="classuTimerLib.html#abea126dca65b571400279ac39c6cc34c">uTimerLib</a>
: <a class="el" href="classuTimerLib.html#ac517490c5db52264053b60f36608b524">uTimerLib</a>
</li>
<li>setTimeout_us()
: <a class="el" href="classuTimerLib.html#a0401f0f5ffd188616c824c7ba5926558">uTimerLib</a>
: <a class="el" href="classuTimerLib.html#a21fd5e64f88e73a33ca69233ed0b9bac">uTimerLib</a>
</li>
<li>uTimerLib()
: <a class="el" href="classuTimerLib.html#a8974a9b18f7a78027823c3f16535ccdd">uTimerLib</a>
Expand Down
4 changes: 2 additions & 2 deletions doc/functions_func.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,10 @@
: <a class="el" href="classuTimerLib.html#a7def88c35a2326fbccaec9920d2310b5">uTimerLib</a>
</li>
<li>setTimeout_s()
: <a class="el" href="classuTimerLib.html#abea126dca65b571400279ac39c6cc34c">uTimerLib</a>
: <a class="el" href="classuTimerLib.html#ac517490c5db52264053b60f36608b524">uTimerLib</a>
</li>
<li>setTimeout_us()
: <a class="el" href="classuTimerLib.html#a0401f0f5ffd188616c824c7ba5926558">uTimerLib</a>
: <a class="el" href="classuTimerLib.html#a21fd5e64f88e73a33ca69233ed0b9bac">uTimerLib</a>
</li>
<li>uTimerLib()
: <a class="el" href="classuTimerLib.html#a8974a9b18f7a78027823c3f16535ccdd">uTimerLib</a>
Expand Down
2 changes: 1 addition & 1 deletion doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<a href="https://www.foroelectro.net/librerias-arduino-ide-f29/utimerlib-libreria-arduino-para-eventos-temporizad-t191.html">https://www.foroelectro.net/librerias-arduino-ide-f29/utimerlib-libreria-arduino-para-eventos-temporizad-t191.html</a> </dd>
<dd>
<a href="#" onclick="location.href='mai'+'lto:'+'nag'+'ui'+'ssa'+'@f'+'oro'+'el'+'ect'+'ro'+'.ne'+'t'; return false;">naguissa@foroelectro.net</a> </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.2.0 </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.2.2 </dd></dl>
</div></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Expand Down
4 changes: 2 additions & 2 deletions doc/search/all_2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ var searchData=
[
['setinterval_5fs',['setInterval_s',['../classuTimerLib.html#a854ecb39b803b72f37ae15b6f2f5881a',1,'uTimerLib']]],
['setinterval_5fus',['setInterval_us',['../classuTimerLib.html#a7def88c35a2326fbccaec9920d2310b5',1,'uTimerLib']]],
['settimeout_5fs',['setTimeout_s',['../classuTimerLib.html#abea126dca65b571400279ac39c6cc34c',1,'uTimerLib']]],
['settimeout_5fus',['setTimeout_us',['../classuTimerLib.html#a0401f0f5ffd188616c824c7ba5926558',1,'uTimerLib']]]
['settimeout_5fs',['setTimeout_s',['../classuTimerLib.html#ac517490c5db52264053b60f36608b524',1,'uTimerLib']]],
['settimeout_5fus',['setTimeout_us',['../classuTimerLib.html#a21fd5e64f88e73a33ca69233ed0b9bac',1,'uTimerLib']]]
];
4 changes: 2 additions & 2 deletions doc/search/functions_2.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ var searchData=
[
['setinterval_5fs',['setInterval_s',['../classuTimerLib.html#a854ecb39b803b72f37ae15b6f2f5881a',1,'uTimerLib']]],
['setinterval_5fus',['setInterval_us',['../classuTimerLib.html#a7def88c35a2326fbccaec9920d2310b5',1,'uTimerLib']]],
['settimeout_5fs',['setTimeout_s',['../classuTimerLib.html#abea126dca65b571400279ac39c6cc34c',1,'uTimerLib']]],
['settimeout_5fus',['setTimeout_us',['../classuTimerLib.html#a0401f0f5ffd188616c824c7ba5926558',1,'uTimerLib']]]
['settimeout_5fs',['setTimeout_s',['../classuTimerLib.html#ac517490c5db52264053b60f36608b524',1,'uTimerLib']]],
['settimeout_5fus',['setTimeout_us',['../classuTimerLib.html#a21fd5e64f88e73a33ca69233ed0b9bac',1,'uTimerLib']]]
];
2 changes: 1 addition & 1 deletion doc/uTimerLib_8cpp.html
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
<a href="https://www.foroelectro.net/librerias-arduino-ide-f29/utimerlib-libreria-arduino-para-eventos-temporizad-t191.html">https://www.foroelectro.net/librerias-arduino-ide-f29/utimerlib-libreria-arduino-para-eventos-temporizad-t191.html</a> </dd>
<dd>
<a href="#" onclick="location.href='mai'+'lto:'+'nag'+'ui'+'ssa'+'@f'+'oro'+'el'+'ect'+'ro'+'.ne'+'t'; return false;">naguissa@foroelectro.net</a> </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.2.0 </dd></dl>
<dl class="section version"><dt>Version</dt><dd>1.2.2 </dd></dl>
</div><h2 class="groupheader">Variable Documentation</h2>
<a id="afb65a362624b4857355afadf2071f49e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#afb65a362624b4857355afadf2071f49e">&#9670;&nbsp;</a></span>TimerLib</h2>
Expand Down
Loading

0 comments on commit bd7b476

Please sign in to comment.