mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-01-18 12:52:44 +01:00
f7279c84bb
The INTFLAGS register is cleared by writing a 1 to the corresponding interrupt flag bit. From the samr21's manual: > Writing a zero to this bit has no effect. > Writing a one to this bit clears the Compare 0 interrupt flag. This is a common pattern in flag registers. This RTT driver is using or-equal to clear the flags, which means it can possibly clear other interrupts. There's a small chance that one event is missed if it happens very close to another event. Credits to @benpicco, @dylad for pointing out missing fixes. |
||
---|---|---|
.. | ||
adc.c | ||
cpuid.c | ||
flashpage.c | ||
gpio.c | ||
hwrng.c | ||
i2c.c | ||
Makefile | ||
rtc.c | ||
rtt.c | ||
spi.c | ||
timer.c | ||
uart.c | ||
usbdev.c |