aboutsummaryrefslogtreecommitdiff
path: root/mcu/ATtiny4313.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/ATtiny4313.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/ATtiny4313.h')
-rw-r--r--mcu/ATtiny4313.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/mcu/ATtiny4313.h b/mcu/ATtiny4313.h
index 748f6ff..efbc01d 100644
--- a/mcu/ATtiny4313.h
+++ b/mcu/ATtiny4313.h
@@ -4,6 +4,7 @@
#include <avr/io.h>
// SPI USI
+#define MCUSUPPORT_USI
#define DDR_USI DDRB
#define DD_DI DDB5
#define DD_DO DDB6
@@ -12,5 +13,5 @@
#define PORT_DI PORTB5
#define PORT_DO PORTB6
#define PORT_USCK PORTB7
-
-// SPI USART
+// USART
+#define MCUSUPPORT_USART0