Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
arduino_iomap.h
Go to the documentation of this file.
1
/*
2
* Copyright (C) 2018 Federico Pellegrin
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
17
#ifndef ARDUINO_IOMAP_H
18
#define ARDUINO_IOMAP_H
19
20
#include "board.h"
21
#include "periph_cpu.h"
22
#include "
periph/adc.h
"
23
24
#ifdef __cplusplus
25
extern
"C"
{
26
#endif
27
32
#define ARDUINO_PIN_0 LED0_PIN
33
#define ARDUINO_PIN_1 LED1_PIN
34
#define ARDUINO_PIN_2 PB0_PIN
35
#define ARDUINO_PIN_3 PB1_PIN
36
37
#define ARDUINO_PIN_LAST 3
44
#define ARDUINO_A0 ADC_LINE(0)
45
46
#define ARDUINO_ANALOG_PIN_LAST 0
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif
/* ARDUINO_IOMAP_H */
adc.h
Low-level ADC peripheral driver interface definitions.
Generated on Sun Dec 22 2024 13:48:31 by
1.9.8