The friendly Operating System for the Internet of Things
Arduino common

Board specific files for the arduino Uno and. More...

Detailed Description

Duemilanove boards.

Files

file  arduino-atmega-common/include/arduino_board.h
 Board specific configuration for the Arduino API.
 
file  arduino-atmega-common/include/arduino_pinmap.h
 Mapping from MCU pins to Arduino pins.
 
file  arduino-atmega-common/include/board.h
 Board specific definitions for the arduino Uno and.
 
file  boards/arduino-atmega-common/include/periph_conf.h
 Peripheral MCU configuration for the arduino Uno and.
 

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.
 
#define UART_STDIO_BAUDRATE   (9600U)
 As the CPU is too slow to handle 115200 baud, we set the default baudrate to 9600 for this board.
 
#define LED0_ON   (PORTB |= LED0_MASK)
 LED pin definitions and handlers.
 
#define LED0_OFF   (PORTB &= ~LED0_MASK)
 
#define LED0_TOGGLE   (PORTB ^= LED0_MASK)
 
#define XTIMER_WIDTH   (16)
 Context swap defines Setup to use PC5 which is pin change interrupt 13 (PCINT13) This emulates a software triggered interrupt. More...
 
#define XTIMER_SHIFT   (2)
 
#define XTIMER_HZ   (250000UL)
 
#define XTIMER_BACKOFF   (40)
 

Macro Definition Documentation

#define XTIMER_WIDTH   (16)

xtimer configuration values

Definition at line 91 of file arduino-atmega-common/include/board.h.