Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
arduino_iomap.h
Go to the documentation of this file.
1
/*
2
* SPDX-FileCopyrightText: 2018 Federico Pellegrin
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
16
#include "board.h"
17
#include "periph_cpu.h"
18
#include "
periph/adc.h
"
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
28
#define ARDUINO_PIN_0 LED0_PIN
29
#define ARDUINO_PIN_1 LED1_PIN
30
#define ARDUINO_PIN_2 PB0_PIN
31
#define ARDUINO_PIN_3 PB1_PIN
32
33
#define ARDUINO_PIN_LAST 3
40
#define ARDUINO_A0 ADC_LINE(0)
41
42
#define ARDUINO_ANALOG_PIN_LAST 0
45
#ifdef __cplusplus
46
}
47
#endif
48
adc.h
Low-level ADC peripheral driver interface definitions.
Generated on Thu Jul 24 2025 16:03:56 by
1.9.1