mirror of
https://github.com/arduino/Arduino.git
synced 2024-12-01 12:24:14 +01:00
Merge branch 'arduinoGemmaInterrupts' of https://github.com/agdl/Arduino
This commit is contained in:
commit
9552cc6ce2
@ -54,6 +54,8 @@ static const uint8_t A3 = 9;
|
|||||||
#define digitalPinToPCMSK(p) ( ((p) <= 4) ? (&PCMSK) : ((uint8_t *)0) )
|
#define digitalPinToPCMSK(p) ( ((p) <= 4) ? (&PCMSK) : ((uint8_t *)0) )
|
||||||
#define digitalPinToPCMSKbit(p) ( (p) )
|
#define digitalPinToPCMSKbit(p) ( (p) )
|
||||||
|
|
||||||
|
#define digitalPinToInterrupt(p) ((p) == 2 ? 0 : NOT_AN_INTERRUPT)
|
||||||
|
|
||||||
#define analogPinToChannel(p) ( (p) < 6 ? (p) : (p) - 6 )
|
#define analogPinToChannel(p) ( (p) < 6 ? (p) : (p) - 6 )
|
||||||
|
|
||||||
#define TCCR1A GTCCR
|
#define TCCR1A GTCCR
|
||||||
|
Loading…
Reference in New Issue
Block a user