[Snek] [keith-packard/snek] 6852cb: chips/samd21: Leave timers running when stopped in...
Keith Packard
noreply at github.com
Wed Oct 16 20:12:32 PDT 2019
Branch: refs/heads/master
Home: https://github.com/keith-packard/snek
Commit: 6852cb231248c49a742b09a68d577c57fd1d8ba4
https://github.com/keith-packard/snek/commit/6852cb231248c49a742b09a68d577c57fd1d8ba4
Author: Keith Packard <keithp at keithp.com>
Date: 2019-10-16 (Wed, 16 Oct 2019)
Changed paths:
M chips/samd21/ao-tc-samd21.c
M chips/samd21/ao-tcc-samd21.c
M chips/samd21/samd21.h
Log Message:
-----------
chips/samd21: Leave timers running when stopped in debugger
This makes debugging PWM functions much easier
Signed-off-by: Keith Packard <keithp at keithp.com>
Commit: 4ad193c776b713b3050eb0c4d0e9e7a76fe6bb00
https://github.com/keith-packard/snek/commit/4ad193c776b713b3050eb0c4d0e9e7a76fe6bb00
Author: Keith Packard <keithp at keithp.com>
Date: 2019-10-16 (Wed, 16 Oct 2019)
Changed paths:
M chips/samd21/ao-arch-funcs.h
Log Message:
-----------
chips/samd21: Don't smash PMUX bits in ao_enable_output
Leaving the PMUX bit alone ensures that any existing output pmux
configuration will be left alone. In particular, this ensures that a
PWM output will be left in PWM mode when the talkto() function is
called again on the same pin.
Signed-off-by: Keith Packard <keithp at keithp.com>
Compare: https://github.com/keith-packard/snek/compare/a1824beff967...4ad193c776b7
More information about the Snek
mailing list