1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

130 Commits

Author SHA1 Message Date
0a859b91ee cpu: samd21: use periph_common SPI functions 2015-08-14 14:46:35 +02:00
Hauke Petersen
368f5fb64f cpu/samd21: remodeled GPIO driver implementation 2015-06-12 19:10:48 +02:00
daniel-k
9703d324f6 samd21/rtt: fix bug in rtt_set_alarm that caused interrupt immediately after calling 2015-06-08 15:37:22 +02:00
Hauke Petersen
d9deb569b2 cpu/samd21: added peripheral PWM driver 2015-06-05 11:19:48 +02:00
Hauke Petersen
164721657d cpu/samd21: added cpu clock configuration
- choosable between PLL and internal 8MHz osciallator
- configurable to a wide range of frequencies
2015-06-04 11:58:26 +02:00
Hauke Petersen
9943f51080 global: renamed cpu-conf.h into cpu_conf.h 2015-05-28 15:45:05 +02:00
Hauke Petersen
138ac603de Merge pull request #3033 from haukepetersen/fix_samd21_spi
cpu/samd21: fixed broken spi_transfer_byte function
2015-05-26 15:39:55 +02:00
aff25936d1 cpu: samd21: fix gpio irq handling compile handling 2015-05-26 10:23:43 +02:00
Joakim Gebart
13832d8e62 everything: Remove filename from @file Doxygen command 2015-05-22 07:34:41 +02:00
Hauke Petersen
f0d9574de1 cpu/samd21: fixed broken spi_transfer_byte function 2015-05-19 18:05:36 +02:00
daniel-k
a31848ceb8 cpu/samd21: implement peripheral real time timer (periph/rtt) 2015-05-10 21:09:31 +02:00
bapclenet
fa571013ee samr21/rtc safety isr 2015-05-07 20:18:49 +02:00
bapclenet
edfb255a5d samr21/RTC
Solve issue #2261 by using the external 32,768KHz Oscillator
2015-04-09 10:05:09 +02:00
Ludwig Ortmann
1572c94e41 cpu/samd21: implement gpio_toggle properly
Before, gpio_toggle relied on gpio_read which is inefficient and does not
work with GPIOs configured as outputs.
2015-03-25 22:05:05 +01:00
Ludwig Ortmann
cf637942cc *: add missing blank lines
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Ludwig Ortmann
e9e3f3d148 cpu/samd21/periph/i2c: fix spacing, comment length 2015-02-18 13:52:48 +01:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
Peter Kietzmann
ebadbd6da3 Merge pull request #2323 from thomaseichinger/i2c_mutex
periph/i2c: added means to make I2C thread-safe
2015-01-20 07:57:20 +01:00
Joakim Gebart
bec43f11d8 samd21: Basic implementation of spi_acquire(), spi_release()
Signed-off-by: Joakim Gebart <joakim.gebart@eistec.se>
2015-01-19 19:05:20 +01:00
Thomas Eichinger
30040fa311 cpu/samd21: make i2c thread-safe 2015-01-19 12:20:09 +01:00
Troels Hoffmeyer
29b0e73350 samr21: cpuid implemented by reading 128 bits from flash 2015-01-12 13:50:16 +01:00
bapclenet
f49661f617 cpu/samd21: fix rtc negative second error 2015-01-07 17:07:41 +01:00
bapclenet
55aabf9dfb cpu/samd21: add rtc periph implementation 2014-12-18 15:25:49 +01:00
Thomas Eichinger
ca53077e3c Merge pull request #1998 from Troels51/samr21-hwtimer-fix
samr21: 32 hwtimer
2014-12-17 17:29:36 +01:00
Troels Hoffmeyer
7124ec6258 samr21: implemented 32 bit hwtimer 2014-12-17 14:44:54 +01:00
Troels Hoffmeyer
33ef43c8e2 samr21: implemented transceiver via spi, gpio changes 2014-12-16 17:43:30 +01:00
bapclenet
54fb0f0610 cpu/samd21: add i2c periph implementation 2014-12-11 08:32:27 +01:00
Hinnerk van Bruinehsen
e3aa222d6c lint: fix nullPointer errors 2014-10-31 01:24:30 +01:00
Hauke Petersen
e7fbaf3815 cpu: removed NAKED attribute from ISRs
- removed the __attribute__((naked)) from ISRs
- removed ISR_ENTER() and ISR_EXIT() macros

Rationale: Cortex-Mx MCUs save registers R0-R4 automatically
on calling ISRs. The naked attribute tells the compiler not
to save any other registers. This is fine, as long as the
code in the ISR is not nested. If nested, it will use also
R4 and R5, which will then lead to currupted registers on
exit of the ISR. Removing the naked will fix this.
2014-10-30 19:33:32 +01:00
Thomas Eichinger
bf256f63a3 samr21-xpro: initial import for the samr21-xpro board 2014-09-25 14:37:47 +02:00