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

SiLabs Boards configuration for the Arduino API. More...

Detailed Description

SiLabs Boards configuration for the Arduino API.

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

Definition in file arduino_iomap.h.

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

Go to the source code of this file.

Arduino's digital pins mappings

#define ARDUINO_PIN_0   LED0_PIN
 
#define ARDUINO_PIN_1   LED1_PIN
 
#define ARDUINO_PIN_2   PB0_PIN
 
#define ARDUINO_PIN_3   PB1_PIN
 
#define ARDUINO_PIN_LAST   3
 

Arduino's analog pins mappings

#define ARDUINO_A0   ADC_LINE(0)
 
#define ARDUINO_ANALOG_PIN_LAST   0
 

Macro Definition Documentation

◆ ARDUINO_A0

#define ARDUINO_A0   ADC_LINE(0)

Definition at line 44 of file arduino_iomap.h.

◆ ARDUINO_ANALOG_PIN_LAST

#define ARDUINO_ANALOG_PIN_LAST   0

Definition at line 46 of file arduino_iomap.h.

◆ ARDUINO_PIN_0

#define ARDUINO_PIN_0   LED0_PIN

Definition at line 32 of file arduino_iomap.h.

◆ ARDUINO_PIN_1

#define ARDUINO_PIN_1   LED1_PIN

Definition at line 33 of file arduino_iomap.h.

◆ ARDUINO_PIN_2

#define ARDUINO_PIN_2   PB0_PIN

Definition at line 34 of file arduino_iomap.h.

◆ ARDUINO_PIN_3

#define ARDUINO_PIN_3   PB1_PIN

Definition at line 35 of file arduino_iomap.h.

◆ ARDUINO_PIN_LAST

#define ARDUINO_PIN_LAST   3

Definition at line 37 of file arduino_iomap.h.