3
<!-- *************************************************************************** -->
4
<!-- * Copyright (C) 2017 by santiago González * -->
5
<!-- * santigoro@gmail.com * -->
7
<!-- * This program is free software; you can redistribute it and/or modify * -->
8
<!-- * it under the terms of the GNU General Public License as published by * -->
9
<!-- * the Free Software Foundation; either version 3 of the License, or * -->
10
<!-- * (at your option) any later version. * -->
12
<!-- * This program is distributed in the hope that it will be useful, * -->
13
<!-- * but WITHOUT ANY WARRANTY; without even the implied warranty of * -->
14
<!-- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * -->
15
<!-- * GNU General Public License for more details. * -->
17
<!-- * You should have received a copy of the GNU General Public License * -->
18
<!-- * along with this program; if not, see <http://www.gnu.org/licenses/>. * -->
20
<!-- *************************************************************************** -->
22
<package name="atmega169" pins="64" width="19" height="19">
24
<pin side="left" pos="2" type="bidir" id="PEN" label="LC"/>
25
<pin side="left" pos="3" type="bidir" id="PE0" label="E0"/>
26
<pin side="left" pos="4" type="bidir" id="PE1" label="E1"/>
27
<pin side="left" pos="5" type="bidir,ain0" id="PE2" label="E2"/>
28
<pin side="left" pos="6" type="bidir,ain1" id="PE3" label="E3"/>
29
<pin side="left" pos="7" type="bidir,scl" id="PE4" label="E4"/>
30
<pin side="left" pos="8" type="bidir,sda" id="PE5" label="E5"/>
31
<pin side="left" pos="9" type="bidir" id="PE6" label="E6"/>
32
<pin side="left" pos="10" type="bidir" id="PE7" label="E7"/>
33
<pin side="left" pos="11" type="bidir" id="PB0" label="B0"/>
34
<pin side="left" pos="12" type="bidir" id="PB1" label="B1"/>
35
<pin side="left" pos="13" type="bidir" id="PB2" label="B2"/>
36
<pin side="left" pos="14" type="bidir" id="PB3" label="B3"/>
37
<pin side="left" pos="15" type="bidir" id="PB4" label="B4"/>
38
<pin side="left" pos="16" type="OC1A" id="PB5" label="B5"/>
39
<pin side="left" pos="17" type="OC1B" id="PB6" label="B6"/>
41
<pin side="bottom" pos="2" type="OC0A,OC2A" id="PB7" label="B7"/>
42
<pin side="bottom" pos="3" type="bidir" id="PG3" label="G3"/>
43
<pin side="bottom" pos="4" type="bidir" id="PG4" label="G4"/>
44
<pin side="bottom" pos="5" type="reset" id="RST" label="!RES"/>
45
<pin side="bottom" pos="6" type="vcc" id="VCC" label="Vcc"/>
46
<pin side="bottom" pos="7" type="gnd" id="GND" label="Gnd"/>
47
<pin side="bottom" pos="8" type="osc" id="XTAL2" label="XTAL2"/>
48
<pin side="bottom" pos="9" type="osc" id="XTAL1" label="XTAL1"/>
49
<pin side="bottom" pos="10" type="bidir" id="PD0" label="D0"/>
50
<pin side="bottom" pos="11" type="bidir" id="PD1" label="D1"/>
51
<pin side="bottom" pos="12" type="bidir" id="PD2" label="D2"/>
52
<pin side="bottom" pos="13" type="bidir" id="PD3" label="D3"/>
53
<pin side="bottom" pos="14" type="bidir" id="PD4" label="D4"/>
54
<pin side="bottom" pos="15" type="bidir" id="PD5" label="D5"/>
55
<pin side="bottom" pos="16" type="bidir" id="PD6" label="D6"/>
56
<pin side="bottom" pos="17" type="bidir" id="PD7" label="D7"/>
58
<pin side="right" pos="17" type="bidir" id="PG0" label="G0"/>
59
<pin side="right" pos="16" type="bidir" id="PG1" label="G1"/>
60
<pin side="right" pos="15" type="bidir" id="PC0" label="C0"/>
61
<pin side="right" pos="14" type="bidir" id="PC1" label="C1"/>
62
<pin side="right" pos="13" type="bidir" id="PC2" label="C2"/>
63
<pin side="right" pos="12" type="bidir" id="PC3" label="C3"/>
64
<pin side="right" pos="11" type="bidir" id="PC4" label="C4"/>
65
<pin side="right" pos="10" type="bidir" id="PC5" label="C5"/>
66
<pin side="right" pos="9" type="bidir" id="PC6" label="C6"/>
67
<pin side="right" pos="8" type="bidir" id="PC7" label="C7"/>
68
<pin side="right" pos="7" type="bidir" id="PG2" label="G2"/>
69
<pin side="right" pos="6" type="bidir" id="PA7" label="A7"/>
70
<pin side="right" pos="5" type="bidir" id="PA6" label="A6"/>
71
<pin side="right" pos="4" type="bidir" id="PA5" label="A5"/>
72
<pin side="right" pos="3" type="bidir" id="PA4" label="A4"/>
73
<pin side="right" pos="2" type="bidir" id="PA3" label="A3"/>
75
<pin side="top" pos="17" type="bidir" id="PA2" label="A2"/>
76
<pin side="top" pos="16" type="bidir" id="PA1" label="A1"/>
77
<pin side="top" pos="15" type="bidir" id="PA0" label="A0"/>
78
<pin side="top" pos="14" type="vcc" id="VCC" label="Vcc"/>
79
<pin side="top" pos="13" type="gnd" id="GND" label="Gnd"/>
80
<pin side="top" pos="12" type="adc7" id="PF7" label="F7"/>
81
<pin side="top" pos="11" type="adc6" id="PF6" label="F6"/>
82
<pin side="top" pos="10" type="adc5" id="PF5" label="F5"/>
83
<pin side="top" pos="9" type="adc4" id="PF4" label="F4"/>
84
<pin side="top" pos="8" type="adc3" id="PF3" label="F3"/>
85
<pin side="top" pos="7" type="adc2" id="PF2" label="F2"/>
86
<pin side="top" pos="6" type="adc1" id="PF1" label="F1"/>
87
<pin side="top" pos="5" type="adc0" id="PF0" label="F0"/>
88
<pin side="top" pos="4" type="aref" id="AREF" label="Aref"/>
89
<pin side="top" pos="3" type="gnd" id="GND" label="Gnd"/>
90
<pin side="top" pos="2" type="avcc" id="AVCC" label="Avcc"/>