3      Copyright (C) Dean Camera, 2009. 
   5   dean [at] fourwalledcubicle [dot] com 
   6       www.fourwalledcubicle.com 
  10   Copyright 2009  Dean Camera (dean [at] fourwalledcubicle [dot] com) 
  12   Permission to use, copy, modify, and distribute this software 
  13   and its documentation for any purpose and without fee is hereby 
  14   granted, provided that the above copyright notice appear in all 
  15   copies and that both that the copyright notice and this 
  16   permission notice and warranty disclaimer appear in supporting 
  17   documentation, and that the name of the author not be used in 
  18   advertising or publicity pertaining to distribution of the 
  19   software without specific, written prior permission. 
  21   The author disclaim all warranties with regard to this 
  22   software, including all implied warranties of merchantability 
  23   and fitness.  In no event shall the author be liable for any 
  24   special, indirect or consequential damages or any damages 
  25   whatsoever resulting from loss of use, data or profits, whether 
  26   in an action of contract, negligence or other tortious action, 
  27   arising out of or in connection with the use or performance of 
  33  *  Board specific HWB driver header for the USBKEY. 
  35  *  \note This file should not be included directly. It is automatically included as needed by the HWB driver 
  36  *        dispatch header located in LUFA/Drivers/Board/HWB.h. 
  39 #ifndef __HWB_USBKEY_H__ 
  40 #define __HWB_USBKEY_H__ 
  46                 #include "../../../Common/Common.h" 
  48         /* Enable C linkage for C++ Compilers: */ 
  49                 #if defined(__cplusplus) 
  53         /* Preprocessor Checks: */ 
  54                 #if !defined(INCLUDE_FROM_HWB_H) 
  55                         #error Do not include this file directly. Include LUFA/Drivers/Board/HWB.h instead. 
  58         /* Public Interface - May be used in end-application: */ 
  59                 /* Inline Functions: */ 
  60                 #if !defined(__DOXYGEN__) 
  61                         static inline void HWB_Init(void) 
  67                         static inline bool HWB_GetStatus(void) ATTR_WARN_UNUSED_RESULT
; 
  68                         static inline bool HWB_GetStatus(void) 
  70                                 return (!(PINE 
& (1 << 2))); 
  74         /* Disable C linkage for C++ Compilers: */ 
  75                 #if defined(__cplusplus)