]> git.donarmstrong.com Git - qmk_firmware.git/blob - tmk_core/protocol/arm_atsam/usb/usb_atmel.h
Add effect range to rgblight.c (#5856)
[qmk_firmware.git] / tmk_core / protocol / arm_atsam / usb / usb_atmel.h
1 /**
2  * \file
3  *
4  * \brief All USB VIDs and PIDs from Atmel USB applications
5  *
6  * Copyright (c) 2009-2015 Atmel Corporation. All rights reserved.
7  *
8  * \asf_license_start
9  *
10  * \page License
11  *
12  * Redistribution and use in source and binary forms, with or without
13  * modification, are permitted provided that the following conditions are met:
14  *
15  * 1. Redistributions of source code must retain the above copyright notice,
16  *    this list of conditions and the following disclaimer.
17  *
18  * 2. Redistributions in binary form must reproduce the above copyright notice,
19  *    this list of conditions and the following disclaimer in the documentation
20  *    and/or other materials provided with the distribution.
21  *
22  * 3. The name of Atmel may not be used to endorse or promote products derived
23  *    from this software without specific prior written permission.
24  *
25  * 4. This software may only be redistributed and used in connection with an
26  *    Atmel microcontroller product.
27  *
28  * THIS SOFTWARE IS PROVIDED BY ATMEL "AS IS" AND ANY EXPRESS OR IMPLIED
29  * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
30  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT ARE
31  * EXPRESSLY AND SPECIFICALLY DISCLAIMED. IN NO EVENT SHALL ATMEL BE LIABLE FOR
32  * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
33  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
34  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
35  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
36  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN
37  * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
38  * POSSIBILITY OF SUCH DAMAGE.
39  *
40  * \asf_license_stop
41  *
42  */
43 /*
44  * Support and FAQ: visit <a href="http://www.atmel.com/design-support/">Atmel Support</a>
45  */
46
47 #ifndef _USB_ATMEL_H_
48 #define _USB_ATMEL_H_
49
50 /**
51  * \defgroup usb_group USB Stack
52  *
53  * This stack includes the USB Device Stack, USB Host Stack and common
54  * definitions.
55  * @{
56  */
57
58 //! @}
59
60 /**
61  * \ingroup usb_group
62  * \defgroup usb_atmel_ids_group Atmel USB Identifiers
63  *
64  * This module defines Atmel PID and VIDs constants.
65  *
66  * @{
67  */
68
69 //! \name Vendor Identifier assigned by USB org to ATMEL
70 #define  USB_VID_ATMEL                             0x03EB
71
72 //! \name Product Identifier assigned by ATMEL to AVR applications
73 //! @{
74
75 //! \name The range from 2000h to 20FFh is reserved to the old PID for C51, MEGA, and others.
76 //! @{
77 #define  USB_PID_ATMEL_MEGA_HIDGENERIC             0x2013
78 #define  USB_PID_ATMEL_MEGA_HIDKEYBOARD            0x2017
79 #define  USB_PID_ATMEL_MEGA_CDC                    0x2018
80 #define  USB_PID_ATMEL_MEGA_AUDIO_IN               0x2019
81 #define  USB_PID_ATMEL_MEGA_MS                     0x201A
82 #define  USB_PID_ATMEL_MEGA_AUDIO_IN_OUT           0x201B
83 #define  USB_PID_ATMEL_MEGA_HIDMOUSE               0x201C
84 #define  USB_PID_ATMEL_MEGA_HIDMOUSE_CERTIF_U4     0x201D
85 #define  USB_PID_ATMEL_MEGA_CDC_MULTI              0x201E
86 #define  USB_PID_ATMEL_MEGA_MS_HIDMS_HID_USBKEY    0x2022
87 #define  USB_PID_ATMEL_MEGA_MS_HIDMS_HID_STK525    0x2023
88 #define  USB_PID_ATMEL_MEGA_MS_2                   0x2029
89 #define  USB_PID_ATMEL_MEGA_MS_HIDMS               0x202A
90 #define  USB_PID_ATMEL_MEGA_MS_3                   0x2032
91 #define  USB_PID_ATMEL_MEGA_LIBUSB                 0x2050
92 //! @}
93
94 //! \name The range 2100h to 21FFh is reserved to PIDs for AVR Tools.
95 //! @{
96 #define  USB_PID_ATMEL_XPLAINED                    0x2122
97 #define  USB_PID_ATMEL_XMEGA_USB_ZIGBIT_2_4GHZ     0x214A
98 #define  USB_PID_ATMEL_XMEGA_USB_ZIGBIT_SUBGHZ     0x214B
99 //! @}
100
101 //! \name The range 2300h to 23FFh is reserved to PIDs for demo from ASF1.7=>
102 //! @{
103 #define  USB_PID_ATMEL_UC3_ENUM                    0x2300
104 #define  USB_PID_ATMEL_UC3_MS                      0x2301
105 #define  USB_PID_ATMEL_UC3_MS_SDRAM_LOADER         0x2302
106 #define  USB_PID_ATMEL_UC3_EVK1100_CTRLPANEL       0x2303
107 #define  USB_PID_ATMEL_UC3_HID                     0x2304
108 #define  USB_PID_ATMEL_UC3_EVK1101_CTRLPANEL_HID   0x2305
109 #define  USB_PID_ATMEL_UC3_EVK1101_CTRLPANEL_HID_MS 0x2306
110 #define  USB_PID_ATMEL_UC3_CDC                     0x2307
111 #define  USB_PID_ATMEL_UC3_AUDIO_MICRO             0x2308
112 #define  USB_PID_ATMEL_UC3_CDC_DEBUG               0x2310 // Virtual Com (debug interface) on EVK11xx
113 #define  USB_PID_ATMEL_UC3_AUDIO_SPEAKER_MICRO     0x2311
114 #define  USB_PID_ATMEL_UC3_CDC_MSC                 0x2312
115 //! @}
116
117 //! \name The range 2400h to 24FFh is reserved to PIDs for ASF applications
118 //! @{
119 #define  USB_PID_ATMEL_ASF_HIDMOUSE                0x2400
120 #define  USB_PID_ATMEL_ASF_HIDKEYBOARD             0x2401
121 #define  USB_PID_ATMEL_ASF_HIDGENERIC              0x2402
122 #define  USB_PID_ATMEL_ASF_MSC                     0x2403
123 #define  USB_PID_ATMEL_ASF_CDC                     0x2404
124 #define  USB_PID_ATMEL_ASF_PHDC                    0x2405
125 #define  USB_PID_ATMEL_ASF_HIDMTOUCH               0x2406
126 #define  USB_PID_ATMEL_ASF_MSC_HIDMOUSE            0x2420
127 #define  USB_PID_ATMEL_ASF_MSC_HIDS_CDC            0x2421
128 #define  USB_PID_ATMEL_ASF_MSC_HIDKEYBOARD         0x2422
129 #define  USB_PID_ATMEL_ASF_VENDOR_CLASS            0x2423
130 #define  USB_PID_ATMEL_ASF_MSC_CDC                 0x2424
131 #define  USB_PID_ATMEL_ASF_TWO_CDC                 0x2425
132 #define  USB_PID_ATMEL_ASF_SEVEN_CDC               0x2426
133 #define  USB_PID_ATMEL_ASF_XPLAIN_BC_POWERONLY     0x2430
134 #define  USB_PID_ATMEL_ASF_XPLAIN_BC_TERMINAL      0x2431
135 #define  USB_PID_ATMEL_ASF_XPLAIN_BC_TOUCH         0x2432
136 #define  USB_PID_ATMEL_ASF_AUDIO_SPEAKER           0x2433
137 #define  USB_PID_ATMEL_ASF_XMEGA_B1_XPLAINED       0x2434
138 //! @}
139
140 //! \name The range 2F00h to 2FFFh is reserved to official PIDs for AVR bootloaders
141 //! Note, !!!! don't use this range for demos or examples !!!!
142 //! @{
143 #define  USB_PID_ATMEL_DFU_ATXMEGA64C3             0x2FD6
144 #define  USB_PID_ATMEL_DFU_ATXMEGA128C3            0x2FD7
145 #define  USB_PID_ATMEL_DFU_ATXMEGA16C4             0x2FD8
146 #define  USB_PID_ATMEL_DFU_ATXMEGA32C4             0x2FD9
147 #define  USB_PID_ATMEL_DFU_ATXMEGA256C3            0x2FDA
148 #define  USB_PID_ATMEL_DFU_ATXMEGA384C3            0x2FDB
149 #define  USB_PID_ATMEL_DFU_ATUCL3_L4               0x2FDC
150 #define  USB_PID_ATMEL_DFU_ATXMEGA64A4U            0x2FDD
151 #define  USB_PID_ATMEL_DFU_ATXMEGA128A4U           0x2FDE
152
153 #define  USB_PID_ATMEL_DFU_ATXMEGA64B3             0x2FDF
154 #define  USB_PID_ATMEL_DFU_ATXMEGA128B3            0x2FE0
155 #define  USB_PID_ATMEL_DFU_ATXMEGA64B1             0x2FE1
156 #define  USB_PID_ATMEL_DFU_ATXMEGA256A3BU          0x2FE2
157 #define  USB_PID_ATMEL_DFU_ATXMEGA16A4U            0x2FE3
158 #define  USB_PID_ATMEL_DFU_ATXMEGA32A4U            0x2FE4
159 #define  USB_PID_ATMEL_DFU_ATXMEGA64A3U            0x2FE5
160 #define  USB_PID_ATMEL_DFU_ATXMEGA128A3U           0x2FE6
161 #define  USB_PID_ATMEL_DFU_ATXMEGA192A3U           0x2FE7
162 #define  USB_PID_ATMEL_DFU_ATXMEGA64A1U            0x2FE8
163 #define  USB_PID_ATMEL_DFU_ATUC3D                  0x2FE9
164 #define  USB_PID_ATMEL_DFU_ATXMEGA128B1            0x2FEA
165 #define  USB_PID_ATMEL_DFU_AT32UC3C                0x2FEB
166 #define  USB_PID_ATMEL_DFU_ATXMEGA256A3U           0x2FEC
167 #define  USB_PID_ATMEL_DFU_ATXMEGA128A1U           0x2FED
168 #define  USB_PID_ATMEL_DFU_ATMEGA8U2               0x2FEE
169 #define  USB_PID_ATMEL_DFU_ATMEGA16U2              0x2FEF
170 #define  USB_PID_ATMEL_DFU_ATMEGA32U2              0x2FF0
171 #define  USB_PID_ATMEL_DFU_AT32UC3A3               0x2FF1
172 #define  USB_PID_ATMEL_DFU_ATMEGA32U6              0x2FF2
173 #define  USB_PID_ATMEL_DFU_ATMEGA16U4              0x2FF3
174 #define  USB_PID_ATMEL_DFU_ATMEGA32U4              0x2FF4
175 #define  USB_PID_ATMEL_DFU_AT32AP7200              0x2FF5
176 #define  USB_PID_ATMEL_DFU_AT32UC3B                0x2FF6
177 #define  USB_PID_ATMEL_DFU_AT90USB82               0x2FF7
178 #define  USB_PID_ATMEL_DFU_AT32UC3A                0x2FF8
179 #define  USB_PID_ATMEL_DFU_AT90USB64               0x2FF9
180 #define  USB_PID_ATMEL_DFU_AT90USB162              0x2FFA
181 #define  USB_PID_ATMEL_DFU_AT90USB128              0x2FFB
182 // 2FFCh to 2FFFh used by C51 family products
183 //! @}
184
185 //! @}
186
187 //! @}
188
189
190 #endif // _USB_ATMEL_H_