[riot-notifications] [RIOT-OS/RIOT] sam0_common: make Timer implementation common across all sam0 MCUs (#11336)
notifications at github.com
Wed Apr 3 18:18:28 CEST 2019
### Contribution description
The currently supported SAM0 MCUs (samd21, saml21, saml1x) share the same Timer peripheral, yet each of them carries it's own copy of the Timer driver.
This introduces a new timer driver that is common for all sam0 MCUs and uses structs for configuration instead of defines.
### Testing procedure
Only tested it on samr21-xpro and same54-xpro with the `timer_periodic_wakeup` example.
### Issues/PRs references
#11305 will also use this implementation.
You can view, comment on, or merge this pull request online at:
-- Commit Summary --
* sam0_common: make Timer implementation common across all sam0 MCUs
-- File Changes --
M boards/arduino-zero/include/board.h (8)
M boards/arduino-zero/include/periph_conf.h (32)
M boards/common/saml1x/include/periph_conf.h (20)
M boards/samd21-xpro/include/board.h (8)
M boards/samd21-xpro/include/periph_conf.h (31)
M boards/saml21-xpro/include/periph_conf.h (20)
M boards/samr21-xpro/include/board.h (6)
M boards/samr21-xpro/include/periph_conf.h (31)
M boards/samr30-xpro/include/periph_conf.h (20)
M boards/sodaq-explorer/include/board.h (7)
M boards/sodaq-explorer/include/periph_conf.h (35)
M cpu/sam0_common/include/periph_cpu_common.h (18)
A cpu/sam0_common/periph/timer.c (237)
D cpu/samd21/periph/timer.c (351)
D cpu/saml1x/periph/timer.c (231)
D cpu/saml21/periph/timer.c (228)
-- Patch Links --
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the notifications