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@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

_______________________________________________
devel mailing list
devel@riot-os.org
https://lists.riot-os.org/mailman/listinfo/devel

Reply via email to