aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATmega328P.h
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2015-10-08 20:59:26 +0200
committerKarel Kočí <cynerd@email.cz>2015-10-08 20:59:26 +0200
commitacdd758e56e28f22846e7d34d87f5533c8682574 (patch)
treed8fda0b554e99d6ace98a9300ecb5835b5bf50e0 /mcu/ATmega328P.h
parent0b534d81ac39eb5bbf2b9a0691519f6f7f0eaa13 (diff)
downloadavr-ioe-acdd758e56e28f22846e7d34d87f5533c8682574.tar.gz
avr-ioe-acdd758e56e28f22846e7d34d87f5533c8682574.tar.bz2
avr-ioe-acdd758e56e28f22846e7d34d87f5533c8682574.zip
Add implementation of USART and more ground changes
Diffstat (limited to 'mcu/ATmega328P.h')
-rw-r--r--mcu/ATmega328P.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mcu/ATmega328P.h b/mcu/ATmega328P.h
index dc42233..b5527bf 100644
--- a/mcu/ATmega328P.h
+++ b/mcu/ATmega328P.h
@@ -5,6 +5,7 @@
#include <avr/io.h>
// SPI
+#define MCUSUPPORT_SPI
#define DDR_SPI DDRB
#define DD_SS DDB2
#define DD_MOSI DDB3
@@ -15,3 +16,5 @@
#define PORT_MOSI PORTB3
#define PORT_MISO PORTB4
#define PORT_SCLK PORTB5
+// USART
+#define MCUSUPPORT_USART