Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
arduino_board.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2016,2017 Freie Universität Berlin
3
*
4
* This file is subject to the terms and conditions of the GNU Lesser
5
* General Public License v2.1. See the file LICENSE in the top level
6
* directory for more details.
7
*/
8
19
#ifndef ARDUINO_BOARD_H
20
#define ARDUINO_BOARD_H
21
22
#include "
arduino_pinmap.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
31
#define ARDUINO_LED (13)
32
36
static
const
gpio_t
arduino_pinmap
[] = {
37
ARDUINO_PIN_0,
38
ARDUINO_PIN_1,
39
ARDUINO_PIN_2,
40
ARDUINO_PIN_3,
41
ARDUINO_PIN_4,
42
ARDUINO_PIN_5,
43
ARDUINO_PIN_6,
44
ARDUINO_PIN_7,
45
ARDUINO_PIN_8,
46
ARDUINO_PIN_9,
47
ARDUINO_PIN_10,
48
ARDUINO_PIN_11,
49
ARDUINO_PIN_12,
50
ARDUINO_PIN_13,
51
ARDUINO_PIN_14,
52
ARDUINO_PIN_15,
53
ARDUINO_PIN_16,
54
ARDUINO_PIN_17,
55
ARDUINO_PIN_18,
56
ARDUINO_PIN_19,
57
ARDUINO_PIN_20,
58
ARDUINO_PIN_21,
59
ARDUINO_PIN_22,
60
ARDUINO_PIN_23,
61
ARDUINO_PIN_24,
62
ARDUINO_PIN_25,
63
ARDUINO_PIN_26,
64
ARDUINO_PIN_27,
65
ARDUINO_PIN_28,
66
ARDUINO_PIN_29,
67
ARDUINO_PIN_30,
68
ARDUINO_PIN_31,
69
ARDUINO_PIN_32,
70
ARDUINO_PIN_33,
71
ARDUINO_PIN_34,
72
ARDUINO_PIN_35,
73
ARDUINO_PIN_36,
74
ARDUINO_PIN_37,
75
ARDUINO_PIN_38,
76
ARDUINO_PIN_39,
77
ARDUINO_PIN_40,
78
ARDUINO_PIN_41,
79
ARDUINO_PIN_42,
80
ARDUINO_PIN_43,
81
ARDUINO_PIN_44,
82
ARDUINO_PIN_45,
83
ARDUINO_PIN_46,
84
ARDUINO_PIN_47,
85
ARDUINO_PIN_48,
86
ARDUINO_PIN_49,
87
ARDUINO_PIN_50,
88
ARDUINO_PIN_51,
89
ARDUINO_PIN_52,
90
ARDUINO_PIN_53,
91
ARDUINO_PIN_54,
92
ARDUINO_PIN_55,
93
ARDUINO_PIN_56,
94
ARDUINO_PIN_57,
95
ARDUINO_PIN_58,
96
ARDUINO_PIN_59,
97
ARDUINO_PIN_60,
98
ARDUINO_PIN_61,
99
ARDUINO_PIN_62,
100
ARDUINO_PIN_63,
101
ARDUINO_PIN_64,
102
ARDUINO_PIN_65,
103
ARDUINO_PIN_66,
104
ARDUINO_PIN_67,
105
ARDUINO_PIN_68,
106
ARDUINO_PIN_69,
107
ARDUINO_PIN_70,
108
ARDUINO_PIN_71,
109
ARDUINO_PIN_72,
110
ARDUINO_PIN_73,
111
ARDUINO_PIN_74,
112
ARDUINO_PIN_75,
113
ARDUINO_PIN_76,
114
ARDUINO_PIN_77,
115
ARDUINO_PIN_78,
116
};
117
121
static
const
adc_t
arduino_analog_map
[] = {
122
ARDUINO_A0,
123
ARDUINO_A1,
124
ARDUINO_A2,
125
ARDUINO_A3,
126
ARDUINO_A4,
127
ARDUINO_A5,
128
ARDUINO_A6,
129
ARDUINO_A7,
130
ARDUINO_A8,
131
ARDUINO_A9,
132
ARDUINO_A10,
133
ARDUINO_A11,
134
};
135
136
#ifdef __cplusplus
137
}
138
#endif
139
140
#endif
/* ARDUINO_BOARD_H */
141
adc_t
unsigned int adc_t
Define default ADC type identifier.
Definition:
adc.h:72
arduino_pinmap
static const gpio_t arduino_pinmap[]
Look-up table for the Arduino's digital pins.
Definition:
arduino_board.h:36
arduino_analog_map
static const adc_t arduino_analog_map[]
Look-up table for the Arduino's analog pins.
Definition:
arduino_board.h:121
arduino_pinmap.h
Mapping from MCU pins to Arduino pins.
Generated on Tue Nov 24 2020 19:46:49 by
1.8.17