arduino_board.h File Reference

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

Detailed Description

Board specific configuration for the Arduino API.

Author
Hauke Petersen hauke.nosp@m..pet.nosp@m.ersen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Alexandre Abadie alexa.nosp@m.ndre.nosp@m..abad.nosp@m.ie@i.nosp@m.nria..nosp@m.fr

Definition in file arduino_board.h.

#include "arduino_pinmap.h"
#include "periph/pwm.h"
+ Include dependency graph for arduino_board.h:

Go to the source code of this file.

#define ARDUINO_LED   (13)
 The on-board LED is connected to pin 13 on this board.
 
#define ARDUINO_PWM_FREQU   (732U)
 PWM frequency.
 
static const gpio_t arduino_pinmap []
 Look-up table for the Arduino's digital pins. More...
 
static const adc_t arduino_analog_map []
 Look-up table for the Arduino's analog pins. More...
 
static const arduino_pwm_t arduino_pwm_list []
 List of PWM GPIO mappings. More...
 

Variable Documentation

◆ arduino_analog_map

const adc_t arduino_analog_map[]
static
Initial value:
= {
ARDUINO_A0,
ARDUINO_A1,
ARDUINO_A2,
ARDUINO_A3,
ARDUINO_A4,
ARDUINO_A5,
}

Look-up table for the Arduino's analog pins.

Definition at line 65 of file arduino_board.h.

◆ arduino_pinmap

const gpio_t arduino_pinmap[]
static
Initial value:
= {
ARDUINO_PIN_0,
ARDUINO_PIN_1,
ARDUINO_PIN_2,
ARDUINO_PIN_3,
ARDUINO_PIN_4,
ARDUINO_PIN_5,
ARDUINO_PIN_6,
ARDUINO_PIN_7,
ARDUINO_PIN_8,
ARDUINO_PIN_9,
ARDUINO_PIN_10,
ARDUINO_PIN_11,
ARDUINO_PIN_12,
ARDUINO_PIN_13,
ARDUINO_PIN_A0,
ARDUINO_PIN_A1,
ARDUINO_PIN_A2,
ARDUINO_PIN_A3,
ARDUINO_PIN_A4,
ARDUINO_PIN_A5,
}

Look-up table for the Arduino's digital pins.

Definition at line 39 of file arduino_board.h.

◆ arduino_pwm_list

const arduino_pwm_t arduino_pwm_list[]
static
Initial value:
= {
{ .pin = 3, .dev = PWM_DEV(0), .chan = 1 },
{ .pin = 4, .dev = PWM_DEV(0), .chan = 0 },
{ .pin = 8, .dev = PWM_DEV(1), .chan = 0 },
{ .pin = 9, .dev = PWM_DEV(1), .chan = 1 },
}
#define PWM_DEV(x)
Default PWM access macro.
Definition: pwm.h:78

List of PWM GPIO mappings.

Definition at line 82 of file arduino_board.h.