e93080ad85feedf7148056053d003791bad796b4
[pub/lufa.git] / LUFA / Drivers / Board / AVR8 / TEENSY / Board.h
1 /*
2 LUFA Library
3 Copyright (C) Dean Camera, 2021.
4
5 dean [at] fourwalledcubicle [dot] com
6 www.lufa-lib.org
7 */
8
9 /*
10 Copyright 2021 Dean Camera (dean [at] fourwalledcubicle [dot] com)
11
12 Permission to use, copy, modify, distribute, and sell this
13 software and its documentation for any purpose is hereby granted
14 without fee, provided that the above copyright notice appear in
15 all 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.
20
21 The author disclaims 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
28 this software.
29 */
30
31 /** \file
32 * \brief Board specific information header for the PJRC Teensy 1.x/2.x boards.
33 * \copydetails Group_BoardInfo_TEENSY
34 *
35 * \note This file should not be included directly. It is automatically included as needed by the Board driver
36 * dispatch header located in LUFA/Drivers/Board/Board.h.
37 */
38
39 /** \ingroup Group_BoardInfo
40 * \defgroup Group_BoardInfo_TEENSY2 TEENSY2PP
41 * \brief Board specific information header for the PJRC Teensy 2 ++ boards.
42 *
43 * See \ref Group_BoardInfo_TEENSY for more details.
44 */
45
46 /** \ingroup Group_BoardInfo
47 * \defgroup Group_BoardInfo_TEENSY2 TEENSY2
48 * \brief Board specific information header for the PJRC Teensy 2 boards.
49 *
50 * See \ref Group_BoardInfo_TEENSY for more details.
51 */
52
53 /** \ingroup Group_BoardInfo
54 * \defgroup Group_BoardInfo_TEENSY TEENSYPP
55 * \brief Board specific information header for the PJRC Teensy 1 ++ boards.
56 *
57 * See \ref Group_BoardInfo_TEENSY for more details.
58 */
59
60 /** \ingroup Group_BoardInfo
61 * \defgroup Group_BoardInfo_TEENSY TEENSY
62 * \brief Board specific information header for the PJRC Teensy 1 boards.
63 *
64 * Board specific information header for the PJRC Teensy 1, 1++, 2, 2 ++ boards (http://www.pjrc.com/teensy/index.html).
65 *
66 * @{
67 */
68
69 #ifndef __BOARD_TEENSY_H__
70 #define __BOARD_TEENSY_H__
71
72 /* Includes: */
73 #include "../../../../Common/Common.h"
74 #include "../../LEDs.h"
75
76 /* Enable C linkage for C++ Compilers: */
77 #if defined(__cplusplus)
78 extern "C" {
79 #endif
80
81 /* Preprocessor Checks: */
82 #if !defined(__INCLUDE_FROM_BOARD_H)
83 #error Do not include this file directly. Include LUFA/Drivers/Board/Board.h instead.
84 #endif
85
86 /* Public Interface - May be used in end-application: */
87 /* Macros: */
88 /** Indicates the board has hardware LEDs mounted. */
89 #define BOARD_HAS_LEDS
90
91 /* Disable C linkage for C++ Compilers: */
92 #if defined(__cplusplus)
93 }
94 #endif
95
96 #endif
97
98 /** @} */
99