[riot-notifications] [RIOT-OS/RIOT] [WIP] cpu/atmega_common: pseudomodule-based pin change interrupt implementation (#11122)

Marian Buschsieweke notifications at github.com
Thu Mar 7 16:45:12 CET 2019


maribu commented on this pull request.



> @@ -0,0 +1,5 @@
+ifneq (,$(filter atmega_pcint,$(USEMODULE)))
+    USEMODULE += atmega_pcint0 atmega_pcint1 atmega_pcint2

OK, my guess is right at least for the boards supported by RIOT.

ATmega1281, ATmega328P, ATmega2560, ATmega256RFR2: PCINT0 to PCINT2
ATmega1284P: PCINT0 to PCINT3

So I'd just add PCINT0 to PCINT2 for all AVRs and add special case code to the ATmega1284p

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/11122#discussion_r263441279
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190307/9ff4c113/attachment-0001.html>


More information about the notifications mailing list