-
Notifications
You must be signed in to change notification settings - Fork 0
/
io.h
39 lines (33 loc) · 1.12 KB
/
io.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// libavr-- | A C++ based AVR microcontroler framework
// Copyright (C) 2020 Andre Eisenbach
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// See LICENSE for a copy of the GNU General Public License or see
// it online at <http://www.gnu.org/licenses/>.
#ifndef AVR_IO_H
#define AVR_IO_H
#include "memory/register.h"
namespace avr {
namespace io {
#if defined __AVR_ATmega16M1__
#include "device/atmega16m1.h"
#elif defined __AVR_ATmega32M1__
#include "device/atmega32m1.h"
#elif defined __AVR_ATmega64M1__
#include "device/atmega64m1.h"
#elif defined __AVR_ATtiny10__
#include "device/attiny10.h"
#else
#error "Device type not defined/unknownn device type"
#endif
} // namespace io
} // namespace avr
#endif // AVR_IO_H