[riot-devel] Timers

Hauke Petersen hauke.petersen at fu-berlin.de
Fri Jan 26 09:13:19 CET 2018


Hej,

On 01/25/2018 01:29 AM, PyroPeter wrote:
> Hi,
>
> to make matters even more complicated:
>
> Timers and PWM are the same thing on most platforms. It would be nice
> if one could choose whether to use interrupts or PWM pins or both per
> timer. (e.g. using both the interrupt and a PWM pin enables one to
> bitbang the protocol of WS2812 LEDs very elegantly)
>
> This is probably impossible to get right cross-platform.
Yepp :-) Thats why we separated their interfaces... But there is no 
restriction in reusing code internally when implementing both 
periph/timer and periph/pwm interfaces...

Cheers,
Hauke

>
> Sorry,
> PyroPeter
>
>
> _______________________________________________
> devel mailing list
> devel at riot-os.org
> https://lists.riot-os.org/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/devel/attachments/20180126/ee4704ff/attachment.html>


More information about the devel mailing list