MySensors Library & Examples
2.3.2-62-ge298769
hal
architecture
AVR
drivers
DigitalIO
boards
GpioPinMap.h
1
/* Arduino DigitalIO Library
2
* Copyright (C) 2013 by William Greiman
3
*
4
* This file is part of the Arduino DigitalIO Library
5
*
6
* This Library is free software: you can redistribute it and/or modify
7
* it under the terms of the GNU General Public License as published by
8
* the Free Software Foundation, either version 3 of the License, or
9
* (at your option) any later version.
10
*
11
* This Library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14
* GNU General Public License for more details.
15
*
16
* You should have received a copy of the GNU General Public License
17
* along with the Arduino DigitalIO Library. If not, see
18
* <http://www.gnu.org/licenses/>.
19
*/
20
#ifndef GpioPinMap_h
21
#define GpioPinMap_h
22
#if defined(__AVR_ATmega168__)\
23
||defined(__AVR_ATmega168P__)\
24
||defined(__AVR_ATmega328P__)
25
// 168 and 328 Arduinos
26
#include "UnoGpioPinMap.h"
27
#elif defined(__AVR_ATmega1280__)\
28
|| defined(__AVR_ATmega2560__)
29
// Mega ADK
30
#include "MegaGpioPinMap.h"
31
#elif defined(__AVR_ATmega32U4__)
32
#ifdef CORE_TEENSY
33
#include "Teensy2GpioPinMap.h"
34
#else // CORE_TEENSY
35
// Leonardo or Yun
36
#include "LeonardoGpioPinMap.h"
37
#endif // CORE_TEENSY
38
#elif defined(__AVR_AT90USB646__)\
39
|| defined(__AVR_AT90USB1286__)
40
// Teensy++ 1.0 & 2.0
41
#include "Teensy2ppGpioPinMap.h"
42
#elif defined(__AVR_ATmega1284P__)\
43
|| defined(__AVR_ATmega1284__)\
44
|| defined(__AVR_ATmega644P__)\
45
|| defined(__AVR_ATmega644__)\
46
|| defined(__AVR_ATmega64__)\
47
|| defined(__AVR_ATmega32__)\
48
|| defined(__AVR_ATmega324__)\
49
|| defined(__AVR_ATmega16__)
50
#ifdef ARDUINO_1284P_AVR_DEVELOPERS
51
#include "AvrDevelopersGpioPinMap.h"
52
#elif defined(ARDUINO_1284P_BOBUINO)
53
#include "BobuinoGpioPinMap.h"
54
#elif defined(ARDUINO_1284P_SLEEPINGBEAUTY)
55
#include "SleepingBeautyGpioPinMap.h"
56
#elif defined(ARDUINO_1284P_STANDARD)
57
#include "Standard1284GpioPinMap.h"
58
#else // ARDUINO_1284P_SLEEPINGBEAUTY
59
#error Undefined variant 1284, 644, 324
60
#endif // ARDUINO_1284P_SLEEPINGBEAUTY
61
#else // 1284P, 1284, 644
62
#error Unknown board type.
63
#endif // end all boards
64
#endif // GpioPinMap_h
Copyright (C) 2013-2019 Sensnology AB. Generated by
doxygen
1.8.17