1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/samd21/periph
Joakim Nohlgård dfa342b5f8 cpu/samd21: Avoid clearing interrupt bits unintentionally
The INTENSET, INTENCLR, INTFLAG registers are write-1-to-confirm
registers, so writing zeroes will not affect anything, on the other
hand, a compiler generated read-modify-write cycle may unintentionally
affect more bits than the one being set. Avoid by using direct
assignment instead of or-assignment (|=) or bitfield writes (.bit.xxx=).
2018-03-27 07:54:18 +02:00
..
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pm.c doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
pwm.c make: fix sign-compare errors 2017-11-28 11:55:48 +01:00
rtc.c cpu/sam0: removed guards form periph drivers 2017-11-09 12:57:02 +01:00
rtt.c cpu/sam0: removed guards form periph drivers 2017-11-09 12:57:02 +01:00
timer.c cpu/samd21: Avoid clearing interrupt bits unintentionally 2018-03-27 07:54:18 +02:00