Added start of a port of the core USB driver code to the AVR32 UC3B architecture.
[pub/USBasp.git] / LUFA / Drivers / Board / UDIP / Buttons.h
index 2cc86d1..d1fd419 100644 (file)
@@ -1,21 +1,21 @@
 /*
              LUFA Library
 /*
              LUFA Library
-     Copyright (C) Dean Camera, 2010.
-              
+     Copyright (C) Dean Camera, 2011.
+
   dean [at] fourwalledcubicle [dot] com
   dean [at] fourwalledcubicle [dot] com
-      www.fourwalledcubicle.com
+           www.lufa-lib.org
 */
 
 /*
 */
 
 /*
-  Copyright 2010  Dean Camera (dean [at] fourwalledcubicle [dot] com)
+  Copyright 2011  Dean Camera (dean [at] fourwalledcubicle [dot] com)
 
 
-  Permission to use, copy, modify, distribute, and sell this 
+  Permission to use, copy, modify, distribute, and sell this
   software and its documentation for any purpose is hereby granted
   software and its documentation for any purpose is hereby granted
-  without fee, provided that the above copyright notice appear in 
+  without fee, provided that the above copyright notice appear in
   all copies and that both that the copyright notice and this
   all copies and that both that the copyright notice and this
-  permission notice and warranty disclaimer appear in supporting 
-  documentation, and that the name of the author not be used in 
-  advertising or publicity pertaining to distribution of the 
+  permission notice and warranty disclaimer appear in supporting
+  documentation, and that the name of the author not be used in
+  advertising or publicity pertaining to distribution of the
   software without specific, written prior permission.
 
   The author disclaim all warranties with regard to this
   software without specific, written prior permission.
 
   The author disclaim all warranties with regard to this
 
 /** \file
  *  \brief Board specific Buttons driver header for the UDIP.
 
 /** \file
  *  \brief Board specific Buttons driver header for the UDIP.
- *
- *  Board specific Buttons driver header for the Linnix UDIP (http://linnix.com/udip/).
+ *  \copydetails Group_Buttons_UDIP
  *
  *  \note This file should not be included directly. It is automatically included as needed by the Buttons driver
  *        dispatch header located in LUFA/Drivers/Board/Buttons.h.
  */
  *
  *  \note This file should not be included directly. It is automatically included as needed by the Buttons driver
  *        dispatch header located in LUFA/Drivers/Board/Buttons.h.
  */
+
 /** \ingroup Group_Buttons
 /** \ingroup Group_Buttons
- *  @defgroup Group_Buttons_UDIP UDIP
+ *  \defgroup Group_Buttons_UDIP UDIP
+ *  \brief Board specific Buttons driver header for the UDIP.
  *
  *  Board specific Buttons driver header for the Linnix UDIP (http://linnix.com/udip/).
  *
  *
  *  Board specific Buttons driver header for the Linnix UDIP (http://linnix.com/udip/).
  *
- *  \note This file should not be included directly. It is automatically included as needed by the Buttons driver
- *        dispatch header located in LUFA/Drivers/Board/Buttons.h.
- *
  *  @{
  */
 
  *  @{
  */
 
@@ -52,9 +49,6 @@
 #define __BUTTONS_UDIP_H__
 
        /* Includes: */
 #define __BUTTONS_UDIP_H__
 
        /* Includes: */
-               #include <avr/io.h>
-               #include <stdbool.h>
-
                #include "../../../Common/Common.h"
 
        /* Enable C linkage for C++ Compilers: */
                #include "../../../Common/Common.h"
 
        /* Enable C linkage for C++ Compilers: */
                #if !defined(__INCLUDE_FROM_BUTTONS_H)
                        #error Do not include this file directly. Include LUFA/Drivers/Board/Buttons.h instead.
                #endif
                #if !defined(__INCLUDE_FROM_BUTTONS_H)
                        #error Do not include this file directly. Include LUFA/Drivers/Board/Buttons.h instead.
                #endif
-               
+
        /* Public Interface - May be used in end-application: */
                /* Macros: */
                        /** Button mask for the first button on the board. */
                        #define BUTTONS_BUTTON1      (1 << 7)
        /* Public Interface - May be used in end-application: */
                /* Macros: */
                        /** Button mask for the first button on the board. */
                        #define BUTTONS_BUTTON1      (1 << 7)
-       
+
                /* Inline Functions: */
                #if !defined(__DOXYGEN__)
                        static inline void Buttons_Init(void)
                /* Inline Functions: */
                #if !defined(__DOXYGEN__)
                        static inline void Buttons_Init(void)
@@ -91,7 +85,8 @@
                #if defined(__cplusplus)
                        }
                #endif
                #if defined(__cplusplus)
                        }
                #endif
-                       
+
 #endif
 
 /** @} */
 #endif
 
 /** @} */
+