Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages   Examples  

io.h

00001 /* Copyright (c) 2002, Marek Michalkiewicz
00002    All rights reserved.
00003 
00004    Redistribution and use in source and binary forms, with or without
00005    modification, are permitted provided that the following conditions are met:
00006 
00007    * Redistributions of source code must retain the above copyright
00008      notice, this list of conditions and the following disclaimer.
00009    * Redistributions in binary form must reproduce the above copyright
00010      notice, this list of conditions and the following disclaimer in
00011      the documentation and/or other materials provided with the
00012      distribution.
00013 
00014   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
00015   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
00016   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
00017   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
00018   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
00019   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
00020   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
00021   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
00022   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
00023   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
00024   POSSIBILITY OF SUCH DAMAGE. */
00025 
00067 #ifndef _AVR_IO_H_
00068 #define _AVR_IO_H_
00069 
00070 #if defined (__AVR_AT94K__)
00071 #  include <avr/ioat94k.h>
00072 #elif defined (__AVR_ATmega128__)
00073 #  include <avr/iom128.h>
00074 #elif defined (__AVR_ATmega64__)
00075 #  include <avr/iom64.h>
00076 #elif defined (__AVR_ATmega103__)
00077 #  include <avr/iom103.h>
00078 #elif defined (__AVR_ATmega32__)
00079 #  include <avr/iom32.h>
00080 #elif defined (__AVR_ATmega323__)
00081 #  include <avr/iom323.h>
00082 #elif defined (__AVR_ATmega16__)
00083 #  include <avr/iom16.h>
00084 #elif defined (__AVR_ATmega161__)
00085 #  include <avr/iom161.h>
00086 #elif defined (__AVR_ATmega162__)
00087 #  include <avr/iom162.h>
00088 #elif defined (__AVR_ATmega163__)
00089 #  include <avr/iom163.h>
00090 #elif defined (__AVR_ATmega169__)
00091 #  include <avr/iom169.h>
00092 #elif defined (__AVR_ATmega8__)
00093 #  include <avr/iom8.h>
00094 #elif defined (__AVR_ATmega8515__)
00095 #  include <avr/iom8515.h>
00096 #elif defined (__AVR_ATmega8535__)
00097 #  include <avr/iom8535.h>
00098 #elif defined (__AVR_AT90S8535__)
00099 #  include <avr/io8535.h>
00100 #elif defined (__AVR_AT90C8534__)
00101 #  include <avr/io8534.h>
00102 #elif defined (__AVR_AT90S8515__)
00103 #  include <avr/io8515.h>
00104 #elif defined (__AVR_AT90S4434__)
00105 #  include <avr/io4434.h>
00106 #elif defined (__AVR_AT90S4433__)
00107 #  include <avr/io4433.h>
00108 #elif defined (__AVR_AT90S4414__)
00109 #  include <avr/io4414.h>
00110 #elif defined (__AVR_ATtiny22__)
00111 #  include <avr/iotn22.h>
00112 #elif defined (__AVR_ATtiny26__)
00113 #  include <avr/iotn26.h>
00114 #elif defined (__AVR_AT90S2343__)
00115 #  include <avr/io2343.h>
00116 #elif defined (__AVR_AT90S2333__)
00117 #  include <avr/io2333.h>
00118 #elif defined (__AVR_AT90S2323__)
00119 #  include <avr/io2323.h>
00120 #elif defined (__AVR_AT90S2313__)
00121 #  include <avr/io2313.h>
00122  /* the following only supported for assembler programs */
00123 #elif defined (__AVR_ATtiny28__)
00124 #  include <avr/iotn28.h>
00125 #elif defined (__AVR_AT90S1200__)
00126 #  include <avr/io1200.h>
00127 #elif defined (__AVR_ATtiny15__)
00128 #  include <avr/iotn15.h>
00129 #elif defined (__AVR_ATtiny12__)
00130 #  include <avr/iotn12.h>
00131 #elif defined (__AVR_ATtiny11__)
00132 #  include <avr/iotn11.h>
00133 #else
00134 #  warning "device type not defined"
00135 /* #  include <avr/io8515.h> */
00136 #endif
00137 
00138 #endif /* _AVR_IO_H_ */

Generated on Thu Jan 30 22:30:45 2003 for EduNet by doxygen1.2.18