2
iotn28.h - internal register definitions for ATtiny28
5
Created by Marek Michalkiewicz <marekm@linux.org.pl>
7
THIS SOFTWARE IS NOT COPYRIGHTED
9
This source code is offered for use in the public domain. You may
10
use, modify or distribute it freely.
12
This code is distributed in the hope that it will be useful, but
13
WITHOUT ANY WARRANTY. ALL WARRANTIES, EXPRESS OR IMPLIED ARE HEREBY
14
DISCLAIMED. This includes but is not limited to warranties of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
Based on preliminary Atmel datasheet Rev. 1062B-10/99.
24
# warning "MCU not supported by the C compiler"
27
/* I/O space addresses */
45
/* 0x09..0x0F reserved */
51
/* 0x13..0x15 reserved */
55
/* 0x17..0x18 reserved */
61
/* 0x1C..0x3E reserved */
65
/* Interrupt vectors (byte addresses) */
67
#define SIG_INTERRUPT0 _vector_1
68
#define SIG_INTERRUPT1 _vector_2
69
#define SIG_PIN _vector_3
70
#define SIG_OVERFLOW0 _vector_4
71
#define SIG_COMPARATOR _vector_5
73
#define END_VECTOR (5)
74
#define INT_VECT_SIZE (0x0c)
212
/* Last memory addresses */
216
#define FLASHEND 0x7FF
218
#endif /* __IOTN28 */