Mapping from MCU pins to Arduino pins for Arduino Atmega boards. More...
Mapping from MCU pins to Arduino pins for Arduino Atmega boards.
You can use the defines in this file for simplified interaction with the Arduino specific pin numbers.
Definition in file arduino_iomap.h.
#include "periph/adc.h"
#include "periph/gpio.h"
#include "periph/i2c.h"
#include "periph/pwm.h"
#include "periph/spi.h"
#include "periph/uart.h"
#include "periph_conf.h"
Go to the source code of this file.
Arduino's UART devices | |
#define | ARDUINO_UART_D0D1 UART_DEV(0) |
Arduino's SPI buses | |
#define | ARDUINO_SPI_ISP SPI_DEV(0) |
The only hardware SPI is connected to the ISP header. | |
Arduino's I2C buses | |
#define | ARDUINO_I2C_UNO I2C_DEV(0) |
The only hardware I2C on ATmegas. | |
Mapping of Arduino pins to RIOT PWM dev and channel pairs | |
#define | ARDUINO_PWM_FREQU (490U) |
PWM frequency. | |
#define ARDUINO_I2C_UNO I2C_DEV(0) |
The only hardware I2C on ATmegas.
Definition at line 67 of file arduino_iomap.h.
#define ARDUINO_PWM_FREQU (490U) |
PWM frequency.
Definition at line 294 of file arduino_iomap.h.
#define ARDUINO_SPI_ISP SPI_DEV(0) |
The only hardware SPI is connected to the ISP header.
Definition at line 56 of file arduino_iomap.h.
#define ARDUINO_UART_D0D1 UART_DEV(0) |
Definition at line 46 of file arduino_iomap.h.