arduino_iomap.h File Reference

Board specific configuration for the Arduino API. More...

Detailed Description

Board specific configuration for the Arduino API.

Author
Gunar Schorcht gunar.nosp@m.@sch.nosp@m.orcht.nosp@m..net

Definition in file arduino_iomap.h.

#include "periph/adc.h"
#include "periph/gpio.h"
+ Include dependency graph for arduino_iomap.h:

Go to the source code of this file.

#define ARDUINO_LED   (0)
 The on-board LED is connected to GPIO1 (Arduino pin 0) on this board. More...
 
#define ARDUINO_PIN_0   GPIO1 /* D0 (RxD) */
 Mapping of MCU pins to Arduino pins. More...
 
#define ARDUINO_PIN_1   GPIO3 /* D1 (TxD) */
 
#define ARDUINO_PIN_2   GPIO0 /* D2 */
 
#define ARDUINO_PIN_3   GPIO4 /* D3 */
 
#define ARDUINO_PIN_6   GPIO5 /* D6 */
 
#define ARDUINO_PIN_10   GPIO15 /* D10 (CS0) */
 
#define ARDUINO_PIN_11   GPIO13 /* D11 (MOSI) */
 
#define ARDUINO_PIN_12   GPIO12 /* D12 (MISO) */
 
#define ARDUINO_PIN_13   GPIO14 /* D13 (SCK) */
 
#define ARDUINO_PIN_18   GPIO2 /* D18 (A4 / SDA) */
 
#define ARDUINO_PIN_19   GPIO14 /* D19 (A5 / SCL) */
 
#define ARDUINO_PIN_LAST   19
 

Aliases for analog pins

#define ARDUINO_PIN_A4   ARDUINO_PIN_18
 
#define ARDUINO_PIN_A5   ARDUINO_PIN_19
 

Macro Definition Documentation

◆ ARDUINO_LED

#define ARDUINO_LED   (0)

The on-board LED is connected to GPIO1 (Arduino pin 0) on this board.

Definition at line 30 of file arduino_iomap.h.

◆ ARDUINO_PIN_0

#define ARDUINO_PIN_0   GPIO1 /* D0 (RxD) */

Mapping of MCU pins to Arduino pins.

Definition at line 36 of file arduino_iomap.h.

◆ ARDUINO_PIN_1

#define ARDUINO_PIN_1   GPIO3 /* D1 (TxD) */

Definition at line 37 of file arduino_iomap.h.

◆ ARDUINO_PIN_10

#define ARDUINO_PIN_10   GPIO15 /* D10 (CS0) */

Definition at line 45 of file arduino_iomap.h.

◆ ARDUINO_PIN_11

#define ARDUINO_PIN_11   GPIO13 /* D11 (MOSI) */

Definition at line 46 of file arduino_iomap.h.

◆ ARDUINO_PIN_12

#define ARDUINO_PIN_12   GPIO12 /* D12 (MISO) */

Definition at line 47 of file arduino_iomap.h.

◆ ARDUINO_PIN_13

#define ARDUINO_PIN_13   GPIO14 /* D13 (SCK) */

Definition at line 48 of file arduino_iomap.h.

◆ ARDUINO_PIN_18

#define ARDUINO_PIN_18   GPIO2 /* D18 (A4 / SDA) */

Definition at line 50 of file arduino_iomap.h.

◆ ARDUINO_PIN_19

#define ARDUINO_PIN_19   GPIO14 /* D19 (A5 / SCL) */

Definition at line 51 of file arduino_iomap.h.

◆ ARDUINO_PIN_2

#define ARDUINO_PIN_2   GPIO0 /* D2 */

Definition at line 38 of file arduino_iomap.h.

◆ ARDUINO_PIN_3

#define ARDUINO_PIN_3   GPIO4 /* D3 */

Definition at line 39 of file arduino_iomap.h.

◆ ARDUINO_PIN_6

#define ARDUINO_PIN_6   GPIO5 /* D6 */

Definition at line 44 of file arduino_iomap.h.

◆ ARDUINO_PIN_A4

#define ARDUINO_PIN_A4   ARDUINO_PIN_18

Definition at line 60 of file arduino_iomap.h.

◆ ARDUINO_PIN_A5

#define ARDUINO_PIN_A5   ARDUINO_PIN_19

Definition at line 61 of file arduino_iomap.h.

◆ ARDUINO_PIN_LAST

#define ARDUINO_PIN_LAST   19

Definition at line 53 of file arduino_iomap.h.