Remove unused makefile macro from the DFU bootloader.
[pub/USBasp.git] / LUFA / Drivers / Board / AVR8 / MICROPENDOUS / Buttons.h
index 7cb0a9a..731d1b0 100644 (file)
@@ -7,7 +7,7 @@
 */\r
 \r
 /*\r
 */\r
 \r
 /*\r
-  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
+  Copyright 2012  Dean Camera (dean [at] fourwalledcubicle [dot] com)\r
 \r
   Permission to use, copy, modify, distribute, and sell this\r
   software and its documentation for any purpose is hereby granted\r
 \r
   Permission to use, copy, modify, distribute, and sell this\r
   software and its documentation for any purpose is hereby granted\r
  */\r
 \r
 /** \ingroup Group_Buttons\r
  */\r
 \r
 /** \ingroup Group_Buttons\r
+ *  \defgroup Group_Buttons_MICROPENDOUS_REV1 MICROPENDOUS_REV1\r
+ *  \brief Board specific Button driver header for the Micropendous Arduino-like Revision 1 (https://code.google.com/p/micropendous/wiki/Micropendous).\r
+ *\r
+ *  See \ref Group_Buttons_MICROPENDOUS_32U2 for more details.\r
+ */\r
+\r
+/** \ingroup Group_Buttons\r
+ *  \defgroup Group_Buttons_MICROPENDOUS_REV2 MICROPENDOUS_REV2\r
+ *  \brief Board specific Button driver header for the Micropendous Arduino-like Revision 2 (https://code.google.com/p/micropendous/wiki/Micropendous).\r
+ *\r
+ *  See \ref Group_Buttons_MICROPENDOUS_32U2 for more details.\r
+ */\r
+\r
+/** \ingroup Group_Buttons\r
  *  \defgroup Group_Buttons_MICROPENDOUS_32U2 MICROPENDOUS_32U2\r
  *  \brief Board specific Buttons driver header for the Micropendous 32U2.\r
  *\r
  *  \defgroup Group_Buttons_MICROPENDOUS_32U2 MICROPENDOUS_32U2\r
  *  \brief Board specific Buttons driver header for the Micropendous 32U2.\r
  *\r
  *\r
  *  Board specific Buttons driver header for the Micropendous 32U2 (https://code.google.com/p/micropendous/wiki/Micropendous_32U2).\r
  *\r
  *\r
  *  Board specific Buttons driver header for the Micropendous 32U2 (https://code.google.com/p/micropendous/wiki/Micropendous_32U2).\r
  *\r
+ *  <b>BOARD_MICROPENDOUS_1 and BOARD_MICROPENDOUS_32U2</b>:\r
+ *  <table>\r
+ *    <tr><th>Name</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr>\r
+ *    <tr><td>BUTTONS_BUTTON1</td><td>HWB Button</td><td>Low</td><td>PORTD.7</td></tr>\r
+ *  </table>\r
+ *\r
+ *  <b>Other Revisions</b>:\r
+ *  <table>\r
+ *    <tr><th>Name</th><th>Info</th><th>Active Level</th><th>Port Pin</th></tr>\r
+ *    <tr><td>BUTTONS_BUTTON1</td><td>HWB Button</td><td>Low</td><td>PORTE.2</td></tr>\r
+ *  </table>\r
+ *\r
  *  @{\r
  */\r
 \r
  *  @{\r
  */\r
 \r
                #elif (BOARD == BOARD_MICROPENDOUS_DIP)\r
                        #define _BOARD_BUTTON1_MASK             (1 << 2)\r
                        #define _BOARD_BUTTON_PORTLETTER        E\r
                #elif (BOARD == BOARD_MICROPENDOUS_DIP)\r
                        #define _BOARD_BUTTON1_MASK             (1 << 2)\r
                        #define _BOARD_BUTTON_PORTLETTER        E\r
+               #elif (BOARD == BOARD_MICROPENDOUS_REV1)\r
+                       #define _BOARD_BUTTON1_MASK             (1 << 2)\r
+                       #define _BOARD_BUTTON_PORTLETTER        E\r
+               #elif (BOARD == BOARD_MICROPENDOUS_REV2)\r
+                       #define _BOARD_BUTTON1_MASK             (1 << 2)\r
+                       #define _BOARD_BUTTON_PORTLETTER        E\r
                #endif\r
                \r
                #define _BOARD_BUTTON_CONCAT2(Reg, Letter)  Reg ## Letter\r
                #endif\r
                \r
                #define _BOARD_BUTTON_CONCAT2(Reg, Letter)  Reg ## Letter\r