board.h File Reference

Board specific definitions for the standalone ATmega328p "board". More...

Detailed Description

Board specific definitions for the standalone ATmega328p "board".

Author
Marian Buschsieweke maria.nosp@m.n.bu.nosp@m.schsi.nosp@m.ewek.nosp@m.e@ovg.nosp@m.u.de
Hinnerk van Bruinehsen h.v.b.nosp@m.ruin.nosp@m.ehsen.nosp@m.@fu-.nosp@m.berli.nosp@m.n.de
Laurent Navet laure.nosp@m.nt.n.nosp@m.avet@.nosp@m.gmai.nosp@m.l.com

Definition in file board.h.

#include "cpu.h"
#include "periph_conf.h"
+ Include dependency graph for board.h:

Go to the source code of this file.

Functions

void board_init (void)
 Initialize board specific hardware, including clock, LEDs and std-IO.
 

STDIO configuration

As the CPU is too slow to handle 115200 baud, we set the default baudrate to 9600 for this board

#define STDIO_UART_BAUDRATE   (9600U)
 

xtimer configuration values

#define XTIMER_WIDTH   (16)
 
#define XTIMER_HZ   (CLOCK_CORECLOCK / 64)
 
#define XTIMER_BACKOFF   (40)