Loading...
Searching...
No Matches
arduino_iomap.h File Reference

Mapping from board pins to Arduino pins. More...

Detailed Description

Mapping from board pins to Arduino pins.

Author
Federico Pellegrin fede@.nosp@m.evol.nosp@m.ware..nosp@m.org

Definition in file arduino_iomap.h.

#include "board.h"
#include "periph/adc.h"
#include "periph/uart.h"
#include "periph_cpu.h"
+ Include dependency graph for arduino_iomap.h:

Go to the source code of this file.

Arduino's default UART device

#define ARDUINO_UART_DEV   UART_DEV(0)
 

Arduino's digital pins mappings

#define ARDUINO_PIN_0   LED0_PIN
 
#define ARDUINO_PIN_1   BTN0_PIN
 
#define ARDUINO_PIN_LAST   1
 

Arduino's analog pins mappings

#define ARDUINO_A0   ADC_LINE(0)
 
#define ARDUINO_A1   ADC_LINE(1)
 
#define ARDUINO_A2   ADC_LINE(2)
 
#define ARDUINO_ANALOG_PIN_LAST   2
 

Macro Definition Documentation

◆ ARDUINO_A0

#define ARDUINO_A0   ADC_LINE(0)

Definition at line 50 of file arduino_iomap.h.

◆ ARDUINO_A1

#define ARDUINO_A1   ADC_LINE(1)

Definition at line 51 of file arduino_iomap.h.

◆ ARDUINO_A2

#define ARDUINO_A2   ADC_LINE(2)

Definition at line 52 of file arduino_iomap.h.

◆ ARDUINO_ANALOG_PIN_LAST

#define ARDUINO_ANALOG_PIN_LAST   2

Definition at line 54 of file arduino_iomap.h.

◆ ARDUINO_PIN_0

#define ARDUINO_PIN_0   LED0_PIN

Definition at line 40 of file arduino_iomap.h.

◆ ARDUINO_PIN_1

#define ARDUINO_PIN_1   BTN0_PIN

Definition at line 41 of file arduino_iomap.h.

◆ ARDUINO_PIN_LAST

#define ARDUINO_PIN_LAST   1

Definition at line 43 of file arduino_iomap.h.

◆ ARDUINO_UART_DEV

#define ARDUINO_UART_DEV   UART_DEV(0)

Definition at line 33 of file arduino_iomap.h.