~ubuntu-branches/ubuntu/raring/avr-libc/raring-proposed

« back to all changes in this revision

Viewing changes to include/avr/iotn28.h

  • Committer: Package Import Robot
  • Author(s): Hakan Ardo
  • Date: 2012-05-23 10:30:07 UTC
  • mfrom: (1.1.11) (4.1.7 sid)
  • Revision ID: package-import@ubuntu.com-20120523103007-h7u5fhm6n13wds9e
Tags: 1:1.8.0-2
New upstream release

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
  ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
29
29
  POSSIBILITY OF SUCH DAMAGE. */
30
30
 
31
 
/* $Id: iotn28.h 1767 2008-10-17 23:27:53Z arcanum $ */
 
31
/* $Id: iotn28.h 2236 2011-03-17 21:53:39Z arcanum $ */
32
32
 
33
33
/* avr/iotn28.h - definitions for ATtiny28 */
34
34
 
92
92
/* Interrupt vectors */
93
93
 
94
94
/* External Interrupt 0 */
95
 
#define INT0_vect                       _VECTOR(1)
 
95
#define INT0_vect_num                   1
 
96
#define INT0_vect                       _VECTOR(1)
96
97
#define SIG_INTERRUPT0                  _VECTOR(1)
97
98
 
98
99
/* External Interrupt 1 */
99
 
#define INT1_vect                       _VECTOR(2)
 
100
#define INT1_vect_num                   2
 
101
#define INT1_vect                       _VECTOR(2)
100
102
#define SIG_INTERRUPT1                  _VECTOR(2)
101
103
 
102
104
/* Low-level Input on Port B */
103
 
#define LOWLEVEL_IO_PINS_vect           _VECTOR(3)
104
 
#define SIG_PIN                         _VECTOR(3)
 
105
#define LOWLEVEL_IO_PINS_vect_num  3
 
106
#define LOWLEVEL_IO_PINS_vect   _VECTOR(3)
 
107
#define SIG_PIN                             _VECTOR(3)
105
108
 
106
109
/* Timer/Counter0 Overflow */
 
110
#define TIMER0_OVF_vect_num             4
107
111
#define TIMER0_OVF_vect                 _VECTOR(4)
108
112
#define SIG_OVERFLOW0                   _VECTOR(4)
109
113
 
110
114
/* Analog Comparator */
 
115
#define ANA_COMP_vect_num               5
111
116
#define ANA_COMP_vect                   _VECTOR(5)
112
117
#define SIG_COMPARATOR                  _VECTOR(5)
113
118
 
272
277
#define SIGNATURE_2 0x07
273
278
 
274
279
 
 
280
/* Deprecated items */
 
281
#if !defined(__AVR_LIBC_DEPRECATED_ENABLE__)
 
282
 
 
283
#pragma GCC system_header
 
284
 
 
285
#pragma GCC poison SIG_INTERRUPT0
 
286
#pragma GCC poison SIG_INTERRUPT1
 
287
#pragma GCC poison SIG_PIN
 
288
#pragma GCC poison SIG_OVERFLOW0
 
289
#pragma GCC poison SIG_COMPARATOR
 
290
 
 
291
#endif  /* !defined(__AVR_LIBC_DEPRECATED_ENABLE__) */
 
292
 
 
293
 
275
294
#endif /* _AVR_IOTN28_H_ */