Keyboard firmwares for Atmel AVR and Cortex-M
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Board.h 5.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149
  1. /*
  2. LUFA Library
  3. Copyright (C) Dean Camera, 2014.
  4. dean [at] fourwalledcubicle [dot] com
  5. www.lufa-lib.org
  6. */
  7. /*
  8. Copyright 2014 Dean Camera (dean [at] fourwalledcubicle [dot] com)
  9. Permission to use, copy, modify, distribute, and sell this
  10. software and its documentation for any purpose is hereby granted
  11. without fee, provided that the above copyright notice appear in
  12. all copies and that both that the copyright notice and this
  13. permission notice and warranty disclaimer appear in supporting
  14. documentation, and that the name of the author not be used in
  15. advertising or publicity pertaining to distribution of the
  16. software without specific, written prior permission.
  17. The author disclaims all warranties with regard to this
  18. software, including all implied warranties of merchantability
  19. and fitness. In no event shall the author be liable for any
  20. special, indirect or consequential damages or any damages
  21. whatsoever resulting from loss of use, data or profits, whether
  22. in an action of contract, negligence or other tortious action,
  23. arising out of or in connection with the use or performance of
  24. this software.
  25. */
  26. /** \file
  27. * \brief Board specific information header for the Micropendous series boards.
  28. * \copydetails Group_BoardInfo_MICROPENDOUS_32U2
  29. *
  30. * \note This file should not be included directly. It is automatically included as needed by the Board driver
  31. * dispatch header located in LUFA/Drivers/Board/Board.h.
  32. */
  33. /** \ingroup Group_BoardInfo
  34. * \defgroup Group_BoardInfo_MICROPENDOUS_A MICROPENDOUS_A
  35. * \brief Board specific information header for the Micropendous A (https://code.google.com/p/micropendous/wiki/MicropendousA).
  36. *
  37. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  38. */
  39. /** \ingroup Group_BoardInfo
  40. * \defgroup Group_BoardInfo_MICROPENDOUS_1 MICROPENDOUS_1
  41. * \brief Board specific information header for the Micropendous 1 (https://code.google.com/p/micropendous/wiki/Micropendous1).
  42. *
  43. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  44. */
  45. /** \ingroup Group_BoardInfo
  46. * \defgroup Group_BoardInfo_MICROPENDOUS_2 MICROPENDOUS_2
  47. * \brief Board specific information header for the Micropendous 2 (https://code.google.com/p/micropendous/wiki/Micropendous2).
  48. *
  49. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  50. */
  51. /** \ingroup Group_BoardInfo
  52. * \defgroup Group_BoardInfo_MICROPENDOUS_3 MICROPENDOUS_3
  53. * \brief Board specific information header for the Micropendous 3 (https://code.google.com/p/micropendous/wiki/Micropendous3).
  54. *
  55. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  56. */
  57. /** \ingroup Group_BoardInfo
  58. * \defgroup Group_BoardInfo_MICROPENDOUS_4 MICROPENDOUS_4
  59. * \brief Board specific information header for the Micropendous 4 (https://code.google.com/p/micropendous/wiki/Micropendous4).
  60. *
  61. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  62. */
  63. /** \ingroup Group_BoardInfo
  64. * \defgroup Group_BoardInfo_MICROPENDOUS_DIP MICROPENDOUS_DIP
  65. * \brief Board specific information header for the Micropendous DIP (https://code.google.com/p/micropendous/wiki/MicropendousDIP).
  66. *
  67. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  68. */
  69. /** \ingroup Group_BoardInfo
  70. * \defgroup Group_BoardInfo_MICROPENDOUS_REV1 MICROPENDOUS_REV1
  71. * \brief Board specific information header for the Micropendous Arduino-like Revision 1 (https://code.google.com/p/micropendous/wiki/Micropendous).
  72. *
  73. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  74. */
  75. /** \ingroup Group_BoardInfo
  76. * \defgroup Group_BoardInfo_MICROPENDOUS_REV2 MICROPENDOUS_REV2
  77. * \brief Board specific information header for the Micropendous Arduino-like Revision 2 (https://code.google.com/p/micropendous/wiki/Micropendous).
  78. *
  79. * See \ref Group_BoardInfo_MICROPENDOUS_32U2 for more details.
  80. */
  81. /** \ingroup Group_BoardInfo
  82. * \defgroup Group_BoardInfo_MICROPENDOUS_32U2 MICROPENDOUS_32U2
  83. * \brief Board specific information header for the Micropendous series boards.
  84. *
  85. * Board specific information header for the Micropendous series boards (https://code.google.com/p/micropendous).
  86. *
  87. * @{
  88. */
  89. #ifndef __BOARD_MICROPENDOUS_H__
  90. #define __BOARD_MICROPENDOUS_H__
  91. /* Includes: */
  92. #include "../../../../Common/Common.h"
  93. /* Enable C linkage for C++ Compilers: */
  94. #if defined(__cplusplus)
  95. extern "C" {
  96. #endif
  97. /* Preprocessor Checks: */
  98. #if !defined(__INCLUDE_FROM_BOARD_H)
  99. #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.
  100. #endif
  101. /* Public Interface - May be used in end-application: */
  102. /* Macros: */
  103. #if ((BOARD == BOARD_MICROPENDOUS_32U2) || (BOARD == BOARD_MICROPENDOUS_A) || \
  104. (BOARD == BOARD_MICROPENDOUS_1) || (BOARD == BOARD_MICROPENDOUS_2) || \
  105. (BOARD == BOARD_MICROPENDOUS_3) || (BOARD == BOARD_MICROPENDOUS_4) || \
  106. (BOARD == BOARD_MICROPENDOUS_REV1) || (BOARD == BOARD_MICROPENDOUS_REV2) || \
  107. (BOARD == BOARD_MICROPENDOUS_DIP) || defined(__DOXYGEN__))
  108. #include "../../Buttons.h"
  109. /** Indicates the board has hardware Buttons mounted. */
  110. #define BOARD_HAS_BUTTONS
  111. #endif
  112. #if ((BOARD == BOARD_MICROPENDOUS_REV1) || (BOARD == BOARD_MICROPENDOUS_REV2) || \
  113. (BOARD == BOARD_MICROPENDOUS_32U2) || defined(__DOXYGEN__))
  114. #include "../../LEDs.h"
  115. /** Indicates the board has hardware LEDs mounted. */
  116. #define BOARD_HAS_LEDS
  117. #endif
  118. /* Disable C linkage for C++ Compilers: */
  119. #if defined(__cplusplus)
  120. }
  121. #endif
  122. #endif
  123. /** @} */