Clean up BUILD module info output formatting, remove explicit gcc-version target...
[pub/USBasp.git] / LUFA / Drivers / Board / Buttons.h
index c3d6c0d..b3c915f 100644 (file)
  *  \code
  *      // Initialize the button driver before first use
  *      Buttons_Init();
- *
+ *      
  *      printf("Waiting for button press...\r\n");
- *
+ *      
  *      // Loop until a board button has been pressed
  *      uint8_t ButtonPress;
  *      while (!(ButtonPress = Buttons_GetStatus())) {};
- *
+ *      
  *      // Display which button was pressed (assuming two board buttons)
  *      printf("Button pressed: %s\r\n", (ButtonPress == BUTTONS_BUTTON1) ? "Button 1" : "Button 2");
  *  \endcode
                        #include "AVR8/OLIMEX32U4/Buttons.h"            
                #elif (BOARD == BOARD_OLIMEXT32U4)
                        #include "AVR8/OLIMEXT32U4/Buttons.h"           
+               #elif (BOARD == BOARD_OLIMEXISPMK2)
+                       #include "AVR8/OLIMEXISPMK2/Buttons.h"  
                #else
                        #include "Board/Buttons.h"
                #endif
                 */
                static inline void Buttons_Init(void);
 
-               /** Disables the buttons driver, releasing the I/O pins back to their default high-impedence input mode. */
+               /** Disables the buttons driver, releasing the I/O pins back to their default high-impedance input mode. */
                static inline void Buttons_Disable(void);
 
                /** Returns a mask indicating which board buttons are currently pressed.