From 082a9165f0aceed31f659a4c2568f8c473e417ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Sat, 14 Mar 2015 11:38:29 +0100 Subject: Add required mcu specifications Added mcu specification for previous commits. --- mcu/ATmega328P.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 mcu/ATmega328P.h (limited to 'mcu/ATmega328P.h') diff --git a/mcu/ATmega328P.h b/mcu/ATmega328P.h new file mode 100644 index 0000000..c26d55d --- /dev/null +++ b/mcu/ATmega328P.h @@ -0,0 +1,11 @@ +/* This is specific configuration for ATmega328P. + * Also applies on ATmega48A, ATmega48PA, ATmega88A, ATmega88PA, ATmega168A and + * ATmega168PA. + */ +#include + +#define DDR_SPI DDRB +#define DD_SS DDB2 +#define DD_MOSI DDB3 +#define DD_MISO DDB4 +#define DD_SCLK DDB5 -- cgit v1.2.3