1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/sam21_common
Kees Bakker 2a4655b6f8 cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom
The former i2c_init_master was too complicated. It was trying to set IN/OUT
mode of the pins, but all that is needed is to set the proper MUX.

Also the configuration for the boards was incomplete (no MUX, no pad
setting).

It was tested on a SODAQ Autonomo, but not on a samr21-xpro
2016-09-21 20:34:22 +02:00
..
include cpu/sam21_common: add a few typedefs for SERCOM 2016-09-21 20:34:21 +02:00
periph cpu/samd21: rewrite i2c_init_master to make use of gpio_init_sercom 2016-09-21 20:34:22 +02:00
Makefile cpu/sam21: added common dir for sam[l|d]21 CPUs 2016-02-08 18:45:15 +01:00
Makefile.include cpu/samd21: introduce sam0.h so that we can select samr21.h or other 2016-09-21 19:43:30 +02:00