aboutsummaryrefslogtreecommitdiffstats
path: root/LUFA/Drivers/Board/AVR8/UNO/Board.h
diff options
context:
space:
mode:
authorDean Camera <dean@fourwalledcubicle.com>2015-10-03 22:12:56 +1000
committerDean Camera <dean@fourwalledcubicle.com>2015-10-03 22:12:56 +1000
commit8f33ba8237301e1053c72ee125cf721e5dd837e6 (patch)
treebe66254a8c06319459c8b39b3782387e039c505b /LUFA/Drivers/Board/AVR8/UNO/Board.h
parent5d674dddfa08b890287bc91ccd1f6a6ac19703ff (diff)
parent017d0d8f91456aaf6a129e51f333a42ec7a674fe (diff)
downloadlufa-8f33ba8237301e1053c72ee125cf721e5dd837e6.tar.gz
lufa-8f33ba8237301e1053c72ee125cf721e5dd837e6.tar.bz2
lufa-8f33ba8237301e1053c72ee125cf721e5dd837e6.zip
Merge pull request #46 from NicoHood/patch-1
Update Arduino Uno board definitions (thanks to NicoHood).
Diffstat (limited to 'LUFA/Drivers/Board/AVR8/UNO/Board.h')
-rw-r--r--LUFA/Drivers/Board/AVR8/UNO/Board.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/LUFA/Drivers/Board/AVR8/UNO/Board.h b/LUFA/Drivers/Board/AVR8/UNO/Board.h
index 93bece499..5444eacd5 100644
--- a/LUFA/Drivers/Board/AVR8/UNO/Board.h
+++ b/LUFA/Drivers/Board/AVR8/UNO/Board.h
@@ -66,6 +66,12 @@
/* Macros: */
/** Indicates the board has hardware LEDs mounted. */
#define BOARD_HAS_LEDS
+
+ /** Pin that can reset the main MCU. */
+ #define AVR_RESET_LINE_PORT PORTD
+ #define AVR_RESET_LINE_DDR DDRD
+ #define AVR_RESET_LINE_PIN PIND
+ #define AVR_RESET_LINE_MASK (1 << PD7)
/* Disable C linkage for C++ Compilers: */
#if defined(__cplusplus)