[riot-notifications] [RIOT-OS/RIOT] periph/timer: add timer_set_periodic() (#13902)

benpicco notifications at github.com
Thu May 28 13:55:38 CEST 2020


Regression test of the one-shot timer:

<details><summary>same54-xpro</summary>

```
2020-05-28 13:53:19,196 # main(): This is RIOT! (Version: 2020.07-devel-831-g8b163-periph_timer_periodic)
2020-05-28 13:53:19,196 # 
2020-05-28 13:53:19,198 # Test for peripheral TIMERs
2020-05-28 13:53:19,199 # 
2020-05-28 13:53:19,200 # Available timers: 2
2020-05-28 13:53:19,201 # 
2020-05-28 13:53:19,202 # Testing TIMER_0:
2020-05-28 13:53:19,205 # TIMER_0: initialization successful
2020-05-28 13:53:19,206 # TIMER_0: stopped
2020-05-28 13:53:19,209 # TIMER_0: set channel 0 to 5000
2020-05-28 13:53:19,212 # TIMER_0: set channel 1 to 10000
2020-05-28 13:53:19,214 # TIMER_0: starting
2020-05-28 13:53:19,229 # TIMER_0: channel 0 fired at SW count    46159 - init:    46159
2020-05-28 13:53:19,235 # TIMER_0: channel 1 fired at SW count    92299 - diff:    46140
2020-05-28 13:53:19,235 # 
2020-05-28 13:53:19,236 # Testing TIMER_1:
2020-05-28 13:53:19,239 # TIMER_1: initialization successful
2020-05-28 13:53:19,241 # TIMER_1: stopped
2020-05-28 13:53:19,243 # TIMER_1: set channel 0 to 5000
2020-05-28 13:53:19,246 # TIMER_1: set channel 1 to 10000
2020-05-28 13:53:19,248 # TIMER_1: starting
2020-05-28 13:53:19,263 # TIMER_1: channel 0 fired at SW count    46160 - init:    46160
2020-05-28 13:53:19,269 # TIMER_1: channel 1 fired at SW count    92302 - diff:    46142
2020-05-28 13:53:19,269 # 
2020-05-28 13:53:19,270 # TEST SUCCEEDED
```
</details>

<details><summary>samr21-xpro</summary>

```
2020-05-28 13:55:04,579 # main(): This is RIOT! (Version: 2020.07-devel-831-g8b163-periph_timer_periodic)
2020-05-28 13:55:04,579 # 
2020-05-28 13:55:04,581 # Test for peripheral TIMERs
2020-05-28 13:55:04,582 # 
2020-05-28 13:55:04,583 # Available timers: 2
2020-05-28 13:55:04,583 # 
2020-05-28 13:55:04,585 # Testing TIMER_0:
2020-05-28 13:55:04,588 # TIMER_0: initialization successful
2020-05-28 13:55:04,589 # TIMER_0: stopped
2020-05-28 13:55:04,592 # TIMER_0: set channel 0 to 5000
2020-05-28 13:55:04,595 # TIMER_0: set channel 1 to 10000
2020-05-28 13:55:04,597 # TIMER_0: starting
2020-05-28 13:55:04,612 # TIMER_0: channel 0 fired at SW count    24019 - init:    24019
2020-05-28 13:55:04,618 # TIMER_0: channel 1 fired at SW count    48001 - diff:    23982
2020-05-28 13:55:04,618 # 
2020-05-28 13:55:04,620 # Testing TIMER_1:
2020-05-28 13:55:04,623 # TIMER_1: initialization successful
2020-05-28 13:55:04,624 # TIMER_1: stopped
2020-05-28 13:55:04,627 # TIMER_1: set channel 0 to 5000
2020-05-28 13:55:04,630 # TIMER_1: set channel 1 to 10000
2020-05-28 13:55:04,632 # TIMER_1: starting
2020-05-28 13:55:04,647 # TIMER_1: channel 0 fired at SW count    24014 - init:    24014
2020-05-28 13:55:04,653 # TIMER_1: channel 1 fired at SW count    47997 - diff:    23983
2020-05-28 13:55:04,653 # 
2020-05-28 13:55:04,654 # TEST SUCCEEDED
```
</details>

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/13902#issuecomment-635293284
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20200528/f80a09a5/attachment.htm>


More information about the notifications mailing list