Added arduino libs

هذا الالتزام موجود في:
Mik6e6
2020-07-04 12:31:18 -04:00
ملتزم من قبل GitHub
الأصل 3d9b49e518
التزام dc9596f994
90 ملفات معدلة مع 9419 إضافات و0 حذوفات

عرض الملف

@@ -0,0 +1,126 @@
#if defined ARDUINO_AVR_ENVIRODIY_MAYFLY || defined ARDUINO_AVR_SODAQ_MBILI
#if defined INTERRUPT_FLAG_PIN8
if (interruptMask & _BV(0)) INTERRUPT_FLAG_PIN8++;
#endif
#if defined INTERRUPT_FLAG_PIN9
if (interruptMask & _BV(1)) INTERRUPT_FLAG_PIN9++;
#endif
#if defined INTERRUPT_FLAG_PIN10
if (interruptMask & _BV(2)) INTERRUPT_FLAG_PIN10++;
#endif
#if defined INTERRUPT_FLAG_PIN11
if (interruptMask & _BV(3)) INTERRUPT_FLAG_PIN11++;
#endif
#if defined INTERRUPT_FLAG_PIN12
if (interruptMask & _BV(4)) INTERRUPT_FLAG_PIN12++;
#endif
#if defined INTERRUPT_FLAG_PIN13
if (interruptMask & _BV(5)) INTERRUPT_FLAG_PIN13++;
#endif
#if defined INTERRUPT_FLAG_PIN14
if (interruptMask & _BV(6)) INTERRUPT_FLAG_PIN14++;
#endif
#if defined INTERRUPT_FLAG_PIN15
if (interruptMask & _BV(7)) INTERRUPT_FLAG_PIN15++;
#endif
#elif defined MIGHTY1284
#ifdef INTERRUPT_FLAG_PIN0
if (interruptMask & _BV(0)) INTERRUPT_FLAG_PIN0++;
#endif
#ifdef INTERRUPT_FLAG_PIN1
if (interruptMask & _BV(1)) INTERRUPT_FLAG_PIN1++;
#endif
#ifdef INTERRUPT_FLAG_PIN2
if (interruptMask & _BV(2)) INTERRUPT_FLAG_PIN2++;
#endif
#ifdef INTERRUPT_FLAG_PIN3
if (interruptMask & _BV(3)) INTERRUPT_FLAG_PIN3++;
#endif
#ifdef INTERRUPT_FLAG_PIN4
if (interruptMask & _BV(4)) INTERRUPT_FLAG_PIN4++;
#endif
#ifdef INTERRUPT_FLAG_PIN5
if (interruptMask & _BV(5)) INTERRUPT_FLAG_PIN5++;
#endif
#ifdef INTERRUPT_FLAG_PIN6
if (interruptMask & _BV(6)) INTERRUPT_FLAG_PIN6++;
#endif
#ifdef INTERRUPT_FLAG_PIN7
if (interruptMask & _BV(7)) INTERRUPT_FLAG_PIN7++;
#endif
#endif
#if defined LEONARDO
#ifdef INTERRUPT_FLAG_PINSS
if (interruptMask & _BV(0)) INTERRUPT_FLAG_PINSS++;
#endif
#ifdef INTERRUPT_FLAG_PINSCK
if (interruptMask & _BV(1)) INTERRUPT_FLAG_PINSCK++;
#endif
#ifdef INTERRUPT_FLAG_PINMOSI
if (interruptMask & _BV(2)) INTERRUPT_FLAG_PINMOSI++;
#endif
#ifdef INTERRUPT_FLAG_PINMISO
if (interruptMask & _BV(3)) INTERRUPT_FLAG_PINMISO++;
#endif
#ifdef INTERRUPT_FLAG_PIN8
if (interruptMask & _BV(4)) INTERRUPT_FLAG_PIN8++;
#endif
#ifdef INTERRUPT_FLAG_PIN9
if (interruptMask & _BV(5)) INTERRUPT_FLAG_PIN9++;
#endif
#ifdef INTERRUPT_FLAG_PIN10
if (interruptMask & _BV(6)) INTERRUPT_FLAG_PIN10++;
#endif
#ifdef INTERRUPT_FLAG_PIN11
if (interruptMask & _BV(7)) INTERRUPT_FLAG_PIN11++;
#endif
#endif
#if defined ARDUINO_328
#ifdef INTERRUPT_FLAG_PIN8
if (interruptMask & _BV(0)) INTERRUPT_FLAG_PIN8++;
#endif
#ifdef INTERRUPT_FLAG_PIN9
if (interruptMask & _BV(1)) INTERRUPT_FLAG_PIN9++;
#endif
#ifdef INTERRUPT_FLAG_PIN10
if (interruptMask & _BV(2)) INTERRUPT_FLAG_PIN10++;
#endif
#ifdef INTERRUPT_FLAG_PIN11
if (interruptMask & _BV(3)) INTERRUPT_FLAG_PIN11++;
#endif
#ifdef INTERRUPT_FLAG_PIN12
if (interruptMask & _BV(4)) INTERRUPT_FLAG_PIN12++;
#endif
#ifdef INTERRUPT_FLAG_PIN13
if (interruptMask & _BV(5)) INTERRUPT_FLAG_PIN13++;
#endif
#endif
#if defined ARDUINO_MEGA
#ifdef INTERRUPT_FLAG_PINSS
if (interruptMask & _BV(0)) INTERRUPT_FLAG_PINSS++;
#endif
#ifdef INTERRUPT_FLAG_PINSCK
if (interruptMask & _BV(1)) INTERRUPT_FLAG_PINSCK++;
#endif
#ifdef INTERRUPT_FLAG_PINMOSI
if (interruptMask & _BV(2)) INTERRUPT_FLAG_PINMOSI++;
#endif
#ifdef INTERRUPT_FLAG_PINMISO
if (interruptMask & _BV(3)) INTERRUPT_FLAG_PINMISO++;
#endif
#ifdef INTERRUPT_FLAG_PIN10
if (interruptMask & _BV(4)) INTERRUPT_FLAG_PIN10++;
#endif
#ifdef INTERRUPT_FLAG_PIN11
if (interruptMask & _BV(5)) INTERRUPT_FLAG_PIN11++;
#endif
#ifdef INTERRUPT_FLAG_PIN12
if (interruptMask & _BV(6)) INTERRUPT_FLAG_PIN12++;
#endif
#ifdef INTERRUPT_FLAG_PIN13
if (interruptMask & _BV(7)) INTERRUPT_FLAG_PIN13++;
#endif
#endif