Go to the documentation of this file.
01 1 Copyright (c) 2002,2003,2005,2006,2007 Marek Michalkiewicz, Joerg Wunsch
022Copyright (c) 2007 Eric B. Weddington
033All rights reserved.
044
055Redistribution and use in source and binary forms, with or without
066modification, are permitted provided that the following conditions are met:
077
088* Redistributions of source code must retain the above copyright
099notice, this list of conditions and the following disclaimer.
1010
1111* Redistributions in binary form must reproduce the above copyright
1212notice, this list of conditions and the following disclaimer in
1313the documentation and/or other materials provided with the
1414distribution.
1515
1616* Neither the name of the copyright holders nor the names of
1717contributors may be used to endorse or promote products derived
1818from this software without specific prior written permission.
1919
2020THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
2121AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2222IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2323ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
2424LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2525CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2626SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2727INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2828CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2929ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
3030POSSIBILITY OF SUCH DAMAGE. */
3131
3232/* $Id: io.h 2499 2016-01-28 14:41:31Z pitchumani $ */
3333
3434/** \file */
3535/** \defgroup avr_io <avr/io.h>: AVR device-specific IO definitions
3636\code #include <avr/io.h> \endcode
3737
3838This header file includes the apropriate IO definitions for the
3939device that has been specified by the <tt>-mmcu=</tt> compiler
4040command-line switch. This is done by diverting to the appropriate
4141file <tt><avr/io</tt><em>XXXX</em><tt>.h></tt> which should
4242never be included directly. Some register names common to all
4343AVR devices are defined directly within <tt><avr/common.h></tt>,
4444which is included in <tt><avr/io.h></tt>,
4545but most of the details come from the respective include file.
4646
4747Note that this file always includes the following files:
4848\code
4949#include <avr/sfr_defs.h>
5050#include <avr/portpins.h>
5151#include <avr/common.h>
5252#include <avr/version.h>
5353\endcode
5454See \ref avr_sfr for more details about that header file.
5555
5656Included are definitions of the IO register set and their
5757respective bit values as specified in the Atmel documentation.
5858Note that inconsistencies in naming conventions,
5959so even identical functions sometimes get different names on
6060different devices.
6161
6262Also included are the specific names useable for interrupt
6363function definitions as documented
6464\ref avr_signames "here".
6565
6666Finally, the following macros are defined:
6767
6868- \b RAMEND
6969<br>
7070The last on-chip RAM address.
7171<br>
7272- \b XRAMEND
7373<br>
7474The last possible RAM location that is addressable. This is equal to
7575RAMEND for devices that do not allow for external RAM. For devices
7676that allow external RAM, this will be larger than RAMEND.
7777<br>
7878- \b E2END
7979<br>
8080The last EEPROM address.
8181<br>
8282- \b FLASHEND
8383<br>
8484The last byte address in the Flash program space.
8585<br>
8686- \b SPM_PAGESIZE
8787<br>
8888For devices with bootloader support, the flash pagesize
8989(in bytes) to be used for the \c SPM instruction.
9090- \b E2PAGESIZE
9191<br>
9292The size of the EEPROM page.
93939494*/
9595
9696#ifndef _AVR_IO_H_
9797#define _AVR_IO_H_
9898
9999#include <avr/sfr_defs.h>
100100
101101#if defined (__AVR_AT94K__)
102102# include <avr/ioat94k.h>
103103#elif defined (__AVR_AT43USB320__)
104104# include <avr/io43u32x.h>
105105#elif defined (__AVR_AT43USB355__)
106106# include <avr/io43u35x.h>
107107#elif defined (__AVR_AT76C711__)
108108# include <avr/io76c711.h>
109109#elif defined (__AVR_AT86RF401__)
110110# include <avr/io86r401.h>
111111#elif defined (__AVR_AT90PWM1__)
112112# include <avr/io90pwm1.h>
113113#elif defined (__AVR_AT90PWM2__)
114114# include <avr/io90pwmx.h>
115115#elif defined (__AVR_AT90PWM2B__)
116116# include <avr/io90pwm2b.h>
117117#elif defined (__AVR_AT90PWM3__)
118118# include <avr/io90pwmx.h>
119119#elif defined (__AVR_AT90PWM3B__)
120120# include <avr/io90pwm3b.h>
121121#elif defined (__AVR_AT90PWM216__)
122122# include <avr/io90pwm216.h>
123123#elif defined (__AVR_AT90PWM316__)
124124# include <avr/io90pwm316.h>
125125#elif defined (__AVR_AT90PWM161__)
126126# include <avr/io90pwm161.h>
127127#elif defined (__AVR_AT90PWM81__)
128128# include <avr/io90pwm81.h>
129129#elif defined (__AVR_ATmega8U2__)
130130# include <avr/iom8u2.h>
131131#elif defined (__AVR_ATmega16M1__)
132132# include <avr/iom16m1.h>
133133#elif defined (__AVR_ATmega16U2__)
134134# include <avr/iom16u2.h>
135135#elif defined (__AVR_ATmega16U4__)
136136# include <avr/iom16u4.h>
137137#elif defined (__AVR_ATmega32C1__)
138138# include <avr/iom32c1.h>
139139#elif defined (__AVR_ATmega32M1__)
140140# include <avr/iom32m1.h>
141141#elif defined (__AVR_ATmega32U2__)
142142# include <avr/iom32u2.h>
143143#elif defined (__AVR_ATmega32U4__)
144144# include <avr/iom32u4.h>
145145#elif defined (__AVR_ATmega32U6__)
146146# include <avr/iom32u6.h>
147147#elif defined (__AVR_ATmega64C1__)
148148# include <avr/iom64c1.h>
149149#elif defined (__AVR_ATmega64M1__)
150150# include <avr/iom64m1.h>
151151#elif defined (__AVR_ATmega128__)
152152# include <avr/iom128.h>
153153#elif defined (__AVR_ATmega128A__)
154154# include <avr/iom128a.h>
155155#elif defined (__AVR_ATmega1280__)
156156# include <avr/iom1280.h>
157157#elif defined (__AVR_ATmega1281__)
158158# include <avr/iom1281.h>
159159#elif defined (__AVR_ATmega1284__)
160160# include <avr/iom1284.h>
161161#elif defined (__AVR_ATmega1284P__)
162162# include <avr/iom1284p.h>
163163#elif defined (__AVR_ATmega128RFA1__)
164164# include <avr/iom128rfa1.h>
165165#elif defined (__AVR_ATmega1284RFR2__)
166166# include <avr/iom1284rfr2.h>
167167#elif defined (__AVR_ATmega128RFR2__)
168168# include <avr/iom128rfr2.h>
169169#elif defined (__AVR_ATmega2564RFR2__)
170170# include <avr/iom2564rfr2.h>
171171#elif defined (__AVR_ATmega256RFR2__)
172172# include <avr/iom256rfr2.h>
173173#elif defined (__AVR_ATmega2560__)
174174# include <avr/iom2560.h>
175175#elif defined (__AVR_ATmega2561__)
176176# include <avr/iom2561.h>
177177#elif defined (__AVR_AT90CAN32__)
178178# include <avr/iocan32.h>
179179#elif defined (__AVR_AT90CAN64__)
180180# include <avr/iocan64.h>
181181#elif defined (__AVR_AT90CAN128__)
182182# include <avr/iocan128.h>
183183#elif defined (__AVR_AT90USB82__)
184184# include <avr/iousb82.h>
185185#elif defined (__AVR_AT90USB162__)
186186# include <avr/iousb162.h>
187187#elif defined (__AVR_AT90USB646__)
188188# include <avr/iousb646.h>
189189#elif defined (__AVR_AT90USB647__)
190190# include <avr/iousb647.h>
191191#elif defined (__AVR_AT90USB1286__)
192192# include <avr/iousb1286.h>
193193#elif defined (__AVR_AT90USB1287__)
194194# include <avr/iousb1287.h>
195195#elif defined (__AVR_ATmega644RFR2__)
196196# include <avr/iom644rfr2.h>
197197#elif defined (__AVR_ATmega64RFR2__)
198198# include <avr/iom64rfr2.h>
199199#elif defined (__AVR_ATmega64__)
200200# include <avr/iom64.h>
201201#elif defined (__AVR_ATmega64A__)
202202# include <avr/iom64a.h>
203203#elif defined (__AVR_ATmega640__)
204204# include <avr/iom640.h>
205205#elif defined (__AVR_ATmega644__)
206206# include <avr/iom644.h>
207207#elif defined (__AVR_ATmega644A__)
208208# include <avr/iom644a.h>
209209#elif defined (__AVR_ATmega644P__)
210210# include <avr/iom644p.h>
211211#elif defined (__AVR_ATmega644PA__)
212212# include <avr/iom644pa.h>
213213#elif defined (__AVR_ATmega645__) || defined (__AVR_ATmega645A__) || defined (__AVR_ATmega645P__)
214214# include <avr/iom645.h>
215215#elif defined (__AVR_ATmega6450__) || defined (__AVR_ATmega6450A__) || defined (__AVR_ATmega6450P__)
216216# include <avr/iom6450.h>
217217#elif defined (__AVR_ATmega649__) || defined (__AVR_ATmega649A__)
218218# include <avr/iom649.h>
219219#elif defined (__AVR_ATmega6490__) || defined (__AVR_ATmega6490A__) || defined (__AVR_ATmega6490P__)
220220# include <avr/iom6490.h>
221221#elif defined (__AVR_ATmega649P__)
222222# include <avr/iom649p.h>
223223#elif defined (__AVR_ATmega64HVE__)
224224# include <avr/iom64hve.h>
225225#elif defined (__AVR_ATmega64HVE2__)
226226# include <avr/iom64hve2.h>
227227#elif defined (__AVR_ATmega103__)
228228# include <avr/iom103.h>
229229#elif defined (__AVR_ATmega32__)
230230# include <avr/iom32.h>
231231#elif defined (__AVR_ATmega32A__)
232232# include <avr/iom32a.h>
233233#elif defined (__AVR_ATmega323__)
234234# include <avr/iom323.h>
235235#elif defined (__AVR_ATmega324P__) || defined (__AVR_ATmega324A__)
236236# include <avr/iom324.h>
237237#elif defined (__AVR_ATmega324PA__)
238238# include <avr/iom324pa.h>
239239#elif defined (__AVR_ATmega325__) || defined (__AVR_ATmega325A__)
240240# include <avr/iom325.h>
241241#elif defined (__AVR_ATmega325P__)
242242# include <avr/iom325.h>
243243#elif defined (__AVR_ATmega325PA__)
244244# include <avr/iom325pa.h>
245245#elif defined (__AVR_ATmega3250__) || defined (__AVR_ATmega3250A__)
246246# include <avr/iom3250.h>
247247#elif defined (__AVR_ATmega3250P__)
248248# include <avr/iom3250.h>
249249#elif defined (__AVR_ATmega3250PA__)
250250# include <avr/iom3250pa.h>
251251#elif defined (__AVR_ATmega328P__) || defined (__AVR_ATmega328__)
252252# include <avr/iom328p.h>
253253#elif defined (__AVR_ATmega329__) || defined (__AVR_ATmega329A__)
254254# include <avr/iom329.h>
255255#elif defined (__AVR_ATmega329P__) || defined (__AVR_ATmega329PA__)
256256# include <avr/iom329.h>
257257#elif defined (__AVR_ATmega3290__) || defined (__AVR_ATmega3290A__)
258258# include <avr/iom3290.h>
259259#elif defined (__AVR_ATmega3290P__)
260260# include <avr/iom3290.h>
261261#elif defined (__AVR_ATmega3290PA__)
262262# include <avr/iom3290pa.h>
263263#elif defined (__AVR_ATmega32HVB__)
264264# include <avr/iom32hvb.h>
265265#elif defined (__AVR_ATmega32HVBREVB__)
266266# include <avr/iom32hvbrevb.h>
267267#elif defined (__AVR_ATmega406__)
268268# include <avr/iom406.h>
269269#elif defined (__AVR_ATmega16__)
270270# include <avr/iom16.h>
271271#elif defined (__AVR_ATmega16A__)
272272# include <avr/iom16a.h>
273273#elif defined (__AVR_ATmega161__)
274274# include <avr/iom161.h>
275275#elif defined (__AVR_ATmega162__)
276276# include <avr/iom162.h>
277277#elif defined (__AVR_ATmega163__)
278278# include <avr/iom163.h>
279279#elif defined (__AVR_ATmega164P__) || defined (__AVR_ATmega164A__)
280280# include <avr/iom164.h>
281281#elif defined (__AVR_ATmega164PA__)
282282# include <avr/iom164pa.h>
283283#elif defined (__AVR_ATmega165__)
284284# include <avr/iom165.h>
285285#elif defined (__AVR_ATmega165A__)
286286# include <avr/iom165a.h>
287287#elif defined (__AVR_ATmega165P__)
288288# include <avr/iom165p.h>
289289#elif defined (__AVR_ATmega165PA__)
290290# include <avr/iom165pa.h>
291291#elif defined (__AVR_ATmega168__)
292292# include <avr/iom168.h>
293293#elif defined (__AVR_ATmega168A__)
294294# include <avr/iom168a.h>
295295#elif defined (__AVR_ATmega168P__)
296296# include <avr/iom168p.h>
297297#elif defined (__AVR_ATmega168PA__)
298298# include <avr/iom168pa.h>
299299#elif defined (__AVR_ATmega169__) || defined (__AVR_ATmega169A__)
300300# include <avr/iom169.h>
301301#elif defined (__AVR_ATmega169P__)
302302# include <avr/iom169p.h>
303303#elif defined (__AVR_ATmega169PA__)
304304# include <avr/iom169pa.h>
305305#elif defined (__AVR_ATmega8HVA__)
306306# include <avr/iom8hva.h>
307307#elif defined (__AVR_ATmega16HVA__)
308308# include <avr/iom16hva.h>
309309#elif defined (__AVR_ATmega16HVA2__)
310310# include <avr/iom16hva2.h>
311311#elif defined (__AVR_ATmega16HVB__)
312312# include <avr/iom16hvb.h>
313313#elif defined (__AVR_ATmega16HVBREVB__)
314314# include <avr/iom16hvbrevb.h>
315315#elif defined (__AVR_ATmega8__)
316316# include <avr/iom8.h>
317317#elif defined (__AVR_ATmega8A__)
318318# include <avr/iom8a.h>
319319#elif defined (__AVR_ATmega48__)
320320# include <avr/iom48.h>
321321#elif defined (__AVR_ATmega48A__)
322322# include <avr/iom48a.h>
323323#elif defined (__AVR_ATmega48PA__)
324324# include <avr/iom48pa.h>
325325#elif defined (__AVR_ATmega48PB__)
326326# include <avr/iom48pb.h>
327327#elif defined (__AVR_ATmega48P__)
328328# include <avr/iom48p.h>
329329#elif defined (__AVR_ATmega88__)
330330# include <avr/iom88.h>
331331#elif defined (__AVR_ATmega88A__)
332332# include <avr/iom88a.h>
333333#elif defined (__AVR_ATmega88P__)
334334# include <avr/iom88p.h>
335335#elif defined (__AVR_ATmega88PA__)
336336# include <avr/iom88pa.h>
337337#elif defined (__AVR_ATmega88PB__)
338338# include <avr/iom88pb.h>
339339#elif defined (__AVR_ATmega8515__)
340340# include <avr/iom8515.h>
341341#elif defined (__AVR_ATmega8535__)
342342# include <avr/iom8535.h>
343343#elif defined (__AVR_AT90S8535__)
344344# include <avr/io8535.h>
345345#elif defined (__AVR_AT90C8534__)
346346# include <avr/io8534.h>
347347#elif defined (__AVR_AT90S8515__)
348348# include <avr/io8515.h>
349349#elif defined (__AVR_AT90S4434__)
350350# include <avr/io4434.h>
351351#elif defined (__AVR_AT90S4433__)
352352# include <avr/io4433.h>
353353#elif defined (__AVR_AT90S4414__)
354354# include <avr/io4414.h>
355355#elif defined (__AVR_ATtiny22__)
356356# include <avr/iotn22.h>
357357#elif defined (__AVR_ATtiny26__)
358358# include <avr/iotn26.h>
359359#elif defined (__AVR_AT90S2343__)
360360# include <avr/io2343.h>
361361#elif defined (__AVR_AT90S2333__)
362362# include <avr/io2333.h>
363363#elif defined (__AVR_AT90S2323__)
364364# include <avr/io2323.h>
365365#elif defined (__AVR_AT90S2313__)
366366# include <avr/io2313.h>
367367#elif defined (__AVR_ATtiny4__)
368368# include <avr/iotn4.h>
369369#elif defined (__AVR_ATtiny5__)
370370# include <avr/iotn5.h>
371371#elif defined (__AVR_ATtiny9__)
372372# include <avr/iotn9.h>
373373#elif defined (__AVR_ATtiny10__)
374374# include <avr/iotn10.h>
375375#elif defined (__AVR_ATtiny20__)
376376# include <avr/iotn20.h>
377377#elif defined (__AVR_ATtiny40__)
378378# include <avr/iotn40.h>
379379#elif defined (__AVR_ATtiny2313__)
380380# include <avr/iotn2313.h>
381381#elif defined (__AVR_ATtiny2313A__)
382382# include <avr/iotn2313a.h>
383383#elif defined (__AVR_ATtiny13__)
384384# include <avr/iotn13.h>
385385#elif defined (__AVR_ATtiny13A__)
386386# include <avr/iotn13a.h>
387387#elif defined (__AVR_ATtiny25__)
388388# include <avr/iotn25.h>
389389#elif defined (__AVR_ATtiny4313__)
390390# include <avr/iotn4313.h>
391391#elif defined (__AVR_ATtiny45__)
392392# include <avr/iotn45.h>
393393#elif defined (__AVR_ATtiny85__)
394394# include <avr/iotn85.h>
395395#elif defined (__AVR_ATtiny24__)
396396# include <avr/iotn24.h>
397397#elif defined (__AVR_ATtiny24A__)
398398# include <avr/iotn24a.h>
399399#elif defined (__AVR_ATtiny44__)
400400# include <avr/iotn44.h>
401401#elif defined (__AVR_ATtiny44A__)
402402# include <avr/iotn44a.h>
403403#elif defined (__AVR_ATtiny441__)
404404# include <avr/iotn441.h>
405405#elif defined (__AVR_ATtiny84__)
406406# include <avr/iotn84.h>
407407#elif defined (__AVR_ATtiny84A__)
408408# include <avr/iotn84a.h>
409409#elif defined (__AVR_ATtiny841__)
410410# include <avr/iotn841.h>
411411#elif defined (__AVR_ATtiny261__)
412412# include <avr/iotn261.h>
413413#elif defined (__AVR_ATtiny261A__)
414414# include <avr/iotn261a.h>
415415#elif defined (__AVR_ATtiny461__)
416416# include <avr/iotn461.h>
417417#elif defined (__AVR_ATtiny461A__)
418418# include <avr/iotn461a.h>
419419#elif defined (__AVR_ATtiny861__)
420420# include <avr/iotn861.h>
421421#elif defined (__AVR_ATtiny861A__)
422422# include <avr/iotn861a.h>
423423#elif defined (__AVR_ATtiny43U__)
424424# include <avr/iotn43u.h>
425425#elif defined (__AVR_ATtiny48__)
426426# include <avr/iotn48.h>
427427#elif defined (__AVR_ATtiny88__)
428428# include <avr/iotn88.h>
429429#elif defined (__AVR_ATtiny828__)
430430# include <avr/iotn828.h>
431431#elif defined (__AVR_ATtiny87__)
432432# include <avr/iotn87.h>
433433#elif defined (__AVR_ATtiny167__)
434434# include <avr/iotn167.h>
435435#elif defined (__AVR_ATtiny1634__)
436436# include <avr/iotn1634.h>
437437#elif defined (__AVR_AT90SCR100__)
438438# include <avr/io90scr100.h>
439439#elif defined (__AVR_ATxmega8E5__)
440440# include <avr/iox8e5.h>
441441#elif defined (__AVR_ATxmega16A4__)
442442# include <avr/iox16a4.h>
443443#elif defined (__AVR_ATxmega16A4U__)
444444# include <avr/iox16a4u.h>
445445#elif defined (__AVR_ATxmega16C4__)
446446# include <avr/iox16c4.h>
447447#elif defined (__AVR_ATxmega16D4__)
448448# include <avr/iox16d4.h>
449449#elif defined (__AVR_ATxmega32A4__)
450450# include <avr/iox32a4.h>
451451#elif defined (__AVR_ATxmega32A4U__)
452452# include <avr/iox32a4u.h>
453453#elif defined (__AVR_ATxmega32C3__)
454454# include <avr/iox32c3.h>
455455#elif defined (__AVR_ATxmega32C4__)
456456# include <avr/iox32c4.h>
457457#elif defined (__AVR_ATxmega32D3__)
458458# include <avr/iox32d3.h>
459459#elif defined (__AVR_ATxmega32D4__)
460460# include <avr/iox32d4.h>
461461#elif defined (__AVR_ATxmega32E5__)
462462# include <avr/iox32e5.h>
463463#elif defined (__AVR_ATxmega64A1__)
464464# include <avr/iox64a1.h>
465465#elif defined (__AVR_ATxmega64A1U__)
466466# include <avr/iox64a1u.h>
467467#elif defined (__AVR_ATxmega64A3__)
468468# include <avr/iox64a3.h>
469469#elif defined (__AVR_ATxmega64A3U__)
470470# include <avr/iox64a3u.h>
471471#elif defined (__AVR_ATxmega64A4U__)
472472# include <avr/iox64a4u.h>
473473#elif defined (__AVR_ATxmega64B1__)
474474# include <avr/iox64b1.h>
475475#elif defined (__AVR_ATxmega64B3__)
476476# include <avr/iox64b3.h>
477477#elif defined (__AVR_ATxmega64C3__)
478478# include <avr/iox64c3.h>
479479#elif defined (__AVR_ATxmega64D3__)
480480# include <avr/iox64d3.h>
481481#elif defined (__AVR_ATxmega64D4__)
482482# include <avr/iox64d4.h>
483483#elif defined (__AVR_ATxmega128A1__)
484484# include <avr/iox128a1.h>
485485#elif defined (__AVR_ATxmega128A1U__)
486486# include <avr/iox128a1u.h>
487487#elif defined (__AVR_ATxmega128A4U__)
488488# include <avr/iox128a4u.h>
489489#elif defined (__AVR_ATxmega128A3__)
490490# include <avr/iox128a3.h>
491491#elif defined (__AVR_ATxmega128A3U__)
492492# include <avr/iox128a3u.h>
493493#elif defined (__AVR_ATxmega128B1__)
494494# include <avr/iox128b1.h>
495495#elif defined (__AVR_ATxmega128B3__)
496496# include <avr/iox128b3.h>
497497#elif defined (__AVR_ATxmega128C3__)
498498# include <avr/iox128c3.h>
499499#elif defined (__AVR_ATxmega128D3__)
500500# include <avr/iox128d3.h>
501501#elif defined (__AVR_ATxmega128D4__)
502502# include <avr/iox128d4.h>
503503#elif defined (__AVR_ATxmega192A3__)
504504# include <avr/iox192a3.h>
505505#elif defined (__AVR_ATxmega192A3U__)
506506# include <avr/iox192a3u.h>
507507#elif defined (__AVR_ATxmega192C3__)
508508# include <avr/iox192c3.h>
509509#elif defined (__AVR_ATxmega192D3__)
510510# include <avr/iox192d3.h>
511511#elif defined (__AVR_ATxmega256A3__)
512512# include <avr/iox256a3.h>
513513#elif defined (__AVR_ATxmega256A3U__)
514514# include <avr/iox256a3u.h>
515515#elif defined (__AVR_ATxmega256A3B__)
516516# include <avr/iox256a3b.h>
517517#elif defined (__AVR_ATxmega256A3BU__)
518518# include <avr/iox256a3bu.h>
519519#elif defined (__AVR_ATxmega256C3__)
520520# include <avr/iox256c3.h>
521521#elif defined (__AVR_ATxmega256D3__)
522522# include <avr/iox256d3.h>
523523#elif defined (__AVR_ATxmega384C3__)
524524# include <avr/iox384c3.h>
525525#elif defined (__AVR_ATxmega384D3__)
526526# include <avr/iox384d3.h>
527527#elif defined (__AVR_ATA5702M322__)
528528# include <avr/ioa5702m322.h>
529529#elif defined (__AVR_ATA5782__)
530530# include <avr/ioa5782.h>
531531#elif defined (__AVR_ATA5790__)
532532# include <avr/ioa5790.h>
533533#elif defined (__AVR_ATA5790N__)
534534# include <avr/ioa5790n.h>
535535#elif defined (__AVR_ATA5831__)
536536# include <avr/ioa5831.h>
537537#elif defined (__AVR_ATA5272__)
538538# include <avr/ioa5272.h>
539539#elif defined (__AVR_ATA5505__)
540540# include <avr/ioa5505.h>
541541#elif defined (__AVR_ATA5795__)
542542# include <avr/ioa5795.h>
543543#elif defined (__AVR_ATA6285__)
544544# include <avr/ioa6285.h>
545545#elif defined (__AVR_ATA6286__)
546546# include <avr/ioa6286.h>
547547#elif defined (__AVR_ATA6289__)
548548# include <avr/ioa6289.h>
549549#elif defined (__AVR_ATA6612C__)
550550# include <avr/ioa6612c.h>
551551#elif defined (__AVR_ATA6613C__)
552552# include <avr/ioa6613c.h>
553553#elif defined (__AVR_ATA6614Q__)
554554# include <avr/ioa6614q.h>
555555#elif defined (__AVR_ATA6616C__)
556556# include <avr/ioa6616c.h>
557557#elif defined (__AVR_ATA6617C__)
558558# include <avr/ioa6617c.h>
559559#elif defined (__AVR_ATA664251__)
560560# include <avr/ioa664251.h>
561561/* avr1: the following only supported for assembler programs */
562562#elif defined (__AVR_ATtiny28__)
563563# include <avr/iotn28.h>
564564#elif defined (__AVR_AT90S1200__)
565565# include <avr/io1200.h>
566566#elif defined (__AVR_ATtiny15__)
567567# include <avr/iotn15.h>
568568#elif defined (__AVR_ATtiny12__)
569569# include <avr/iotn12.h>
570570#elif defined (__AVR_ATtiny11__)
571571# include <avr/iotn11.h>
572572#elif defined (__AVR_M3000__)
573573# include <avr/iom3000.h>
574574#elif defined (__AVR_DEV_LIB_NAME__)
575575# define __concat__(a,b) a##b
576576# define __header1__(a,b) __concat__(a,b)
577577# define __AVR_DEVICE_HEADER__ <avr/__header1__(io,__AVR_DEV_LIB_NAME__).h>
578578# include __AVR_DEVICE_HEADER__
579579#else
580580# if !defined(__COMPILING_AVR_LIBC__)
581581# warning "device type not defined"
582582# endif
583583#endif
584584
585585#include <avr/portpins.h>
586586
587587#include <avr/common.h>
588588
589589#include <avr/version.h>
590590
591591#if __AVR_ARCH__ >> = 100
592592# include <avr/xmega.h>
593593#endif
594594
595595/* Include fuse.h after individual IO header files. */
596596#include <