-
Notifications
You must be signed in to change notification settings - Fork 24
/
Copy pathusb2usb-cache.lib
257 lines (257 loc) · 6.53 KB
/
usb2usb-cache.lib
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
EESchema-LIBRARY Version 2.4
#encoding utf-8
#
# keyboard_parts_ATMEGA32U4
#
DEF keyboard_parts_ATMEGA32U4 U 0 40 Y Y 1 F N
F0 "U" 0 -1250 60 H V C CNN
F1 "keyboard_parts_ATMEGA32U4" 0 1250 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S 800 1150 -750 -1150 0 1 0 N
X PE6/AIN0 1 -1050 1050 300 R 50 50 1 1 B
X PB2/MOSI 10 -1050 150 300 R 50 50 1 1 B
X PB3/MISO 11 -1050 50 300 R 50 50 1 1 B
X PB7/~RTS 12 -1050 -50 300 R 50 50 1 1 B
X ~RESET 13 -1050 -150 300 R 50 50 1 1 I
X VCC 14 -1050 -250 300 R 50 50 1 1 W
X GND 15 -1050 -350 300 R 50 50 1 1 W
X XTAL1 16 -1050 -450 300 R 50 50 1 1 I
X XTAL2 17 -1050 -550 300 R 50 50 1 1 O
X PD0/INT0 18 -1050 -650 300 R 50 50 1 1 B
X PD1/INT1 19 -1050 -750 300 R 50 50 1 1 B
X UVcc 2 -1050 950 300 R 50 50 1 1 W
X PD2/RXD1 20 -1050 -850 300 R 50 50 1 1 B
X PD3/TXD1 21 -1050 -950 300 R 50 50 1 1 B
X PD5/XCK1 22 -1050 -1050 300 R 50 50 1 1 B
X GND 23 1100 -1050 300 L 50 50 1 1 W
X AVCC 24 1100 -950 300 L 50 50 1 1 W
X ICP1/PD4 25 1100 -850 300 L 50 50 1 1 B
X T1/PD6 26 1100 -750 300 L 50 50 1 1 B
X T0/PD7 27 1100 -650 300 L 50 50 1 1 B
X PB4 28 1100 -550 300 L 50 50 1 1 B
X PB5 29 1100 -450 300 L 50 50 1 1 B
X D- 3 -1050 850 300 R 50 50 1 1 B
X PB6 30 1100 -350 300 L 50 50 1 1 B
X PC6 31 1100 -250 300 L 50 50 1 1 B
X PC7 32 1100 -150 300 L 50 50 1 1 B
X ~HWB/PE2 33 1100 -50 300 L 50 50 1 1 I
X VCC 34 1100 50 300 L 50 50 1 1 W
X GND 35 1100 150 300 L 50 50 1 1 W
X PF7 36 1100 250 300 L 50 50 1 1 B
X PF6 37 1100 350 300 L 50 50 1 1 B
X PF5 38 1100 450 300 L 50 50 1 1 B
X PF4 39 1100 550 300 L 50 50 1 1 B
X D+ 4 -1050 750 300 R 50 50 1 1 B
X PF1 40 1100 650 300 L 50 50 1 1 B
X PF0 41 1100 750 300 L 50 50 1 1 B
X AREF 42 1100 850 300 L 50 50 1 1 I
X GND 43 1100 950 300 L 50 50 1 1 W
X AVCC 44 1100 1050 300 L 50 50 1 1 W
X UGnd 5 -1050 650 300 R 50 50 1 1 W
X UCap 6 -1050 550 300 R 50 50 1 1 I
X VBus 7 -1050 450 300 R 50 50 1 1 I
X PB0/SS 8 -1050 350 300 R 50 50 1 1 B
X PB1/SCK 9 -1050 250 300 R 50 50 1 1 B
ENDDRAW
ENDDEF
#
# keyboard_parts_C
#
DEF keyboard_parts_C C 0 10 N Y 1 F N
F0 "C" 50 100 50 H V L CNN
F1 "keyboard_parts_C" 50 -100 50 H V L CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
SM*
C?
C1-1
$ENDFPLIST
DRAW
P 2 0 1 10 -100 -30 100 -30 N
P 2 0 1 10 -100 30 100 30 N
X ~ 1 0 200 170 D 40 40 1 1 P
X ~ 2 0 -200 170 U 40 40 1 1 P
ENDDRAW
ENDDEF
#
# keyboard_parts_LDO_REGULATOR
#
DEF keyboard_parts_LDO_REGULATOR U 0 40 Y Y 1 F N
F0 "U" 0 -200 60 H V C CNN
F1 "keyboard_parts_LDO_REGULATOR" 0 200 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S -250 150 250 -150 0 1 0 N
X IN 1 -550 100 300 R 50 50 1 1 W
X GND 2 -550 0 300 R 50 50 1 1 W
X EN 3 -550 -100 300 R 50 50 1 1 I
X NC 4 550 -100 300 L 50 50 1 1 I
X OUT 5 550 100 300 L 50 50 1 1 w
ENDDRAW
ENDDEF
#
# keyboard_parts_MAX3421E
#
DEF keyboard_parts_MAX3421E U 0 50 Y Y 1 F N
F0 "U" 0 300 60 H V C CNN
F1 "keyboard_parts_MAX3421E" 0 -400 60 H V C CNN
F2 "" 0 -400 60 H V C CNN
F3 "" 0 -400 60 H V C CNN
DRAW
S -550 800 550 -800 0 1 0 N
X GPIN7 1 -850 750 300 R 50 50 1 1 B
X GPOUT6 10 -850 -150 300 R 50 50 1 1 O
X GPOUT7 11 -850 -250 300 R 50 50 1 1 O
X RES 12 -850 -350 300 R 50 50 1 1 I
X SCLK 13 -850 -450 300 R 50 50 1 1 I
X SS 14 -850 -550 300 R 50 50 1 1 I
X MISO 15 -850 -650 300 R 50 50 1 1 O
X MOSI 16 -850 -750 300 R 50 50 1 1 I
X GPX 17 850 -750 300 L 50 50 1 1 O
X INT 18 850 -650 300 L 50 50 1 1 O
X GND 19 850 -550 300 L 50 50 1 1 I
X VL 2 -850 650 300 R 50 50 1 1 W
X D- 20 850 -450 300 L 50 50 1 1 B
X D+ 21 850 -350 300 L 50 50 1 1 B
X VBCOMP 22 850 -250 300 L 50 50 1 1 I
X VCC 23 850 -150 300 L 50 50 1 1 I
X XI 24 850 -50 300 L 50 50 1 1 I
X XO 25 850 50 300 L 50 50 1 1 O
X GPIN0 26 850 150 300 L 50 50 1 1 I
X GPIN1 27 850 250 300 L 50 50 1 1 I
X GPIN2 28 850 350 300 L 50 50 1 1 I
X GPIN3 29 850 450 300 L 50 50 1 1 I
X GND 3 -850 550 300 R 50 50 1 1 W
X GPIN4 30 850 550 300 L 50 50 1 1 I
X GPIN5 31 850 650 300 L 50 50 1 1 I
X GPIN6 32 850 750 300 L 50 50 1 1 I
X GPOUT0 4 -850 450 300 R 50 50 1 1 O
X GPOUT1 5 -850 350 300 R 50 50 1 1 O
X GPOUT2 6 -850 250 300 R 50 50 1 1 O
X GPOUT3 7 -850 150 300 R 50 50 1 1 O
X GPOUT4 8 -850 50 300 R 50 50 1 1 O
X GPOUT5 9 -850 -50 300 R 50 50 1 1 O
ENDDRAW
ENDDEF
#
# keyboard_parts_R
#
DEF keyboard_parts_R R 0 0 N Y 1 F N
F0 "R" 80 0 50 V V C CNN
F1 "keyboard_parts_R" 0 0 50 V V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
$FPLIST
R?
SM0603
SM0805
R?-*
SM1206
$ENDFPLIST
DRAW
S -40 150 40 -150 0 1 12 N
X ~ 1 0 250 100 D 60 60 1 1 P
X ~ 2 0 -250 100 U 60 60 1 1 P
ENDDRAW
ENDDEF
#
# keyboard_parts_SW_PUSH
#
DEF keyboard_parts_SW_PUSH SW 0 40 N N 1 F N
F0 "SW" 150 110 50 H V C CNN
F1 "keyboard_parts_SW_PUSH" 0 -80 50 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S -170 50 170 60 0 1 0 N
P 4 0 1 0 -40 60 -30 90 30 90 40 60 N
X 1 1 -300 0 200 R 60 60 0 1 P I
X 2 2 300 0 200 L 60 60 0 1 P I
ENDDRAW
ENDDEF
#
# keyboard_parts_USB_A
#
DEF keyboard_parts_USB_A J 0 40 Y Y 1 F N
F0 "J" -400 0 60 H V C CNN
F1 "keyboard_parts_USB_A" -150 250 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S -300 200 0 -300 0 1 0 N
X VUSB 1 200 150 200 L 50 50 1 1 W
X D- 2 200 50 200 L 50 50 1 1 B
X D+ 3 200 -50 200 L 50 50 1 1 B
X GND 4 200 -150 200 L 50 50 1 1 W
X SHILED 5 200 -250 200 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# keyboard_parts_USB_B
#
DEF keyboard_parts_USB_B J 0 40 Y Y 1 F N
F0 "J" -400 0 60 H V C CNN
F1 "keyboard_parts_USB_B" -150 250 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
S -300 200 0 -300 0 1 0 N
X VUSB 1 200 150 200 L 50 50 1 1 w
X D- 2 200 50 200 L 50 50 1 1 B
X D+ 3 200 -50 200 L 50 50 1 1 B
X GND 4 200 -150 200 L 50 50 1 1 w
X SHILED 5 200 -250 200 L 50 50 1 1 P
ENDDRAW
ENDDEF
#
# keyboard_parts_XTAL_GND
#
DEF keyboard_parts_XTAL_GND X 0 40 N N 1 F N
F0 "X" 0 150 60 H V C CNN
F1 "keyboard_parts_XTAL_GND" 0 -150 60 H V C CNN
F2 "" 0 0 60 H V C CNN
F3 "" 0 0 60 H V C CNN
DRAW
P 2 0 1 16 -100 100 -100 -100 N
P 2 0 1 16 100 100 100 -100 N
P 5 0 1 12 -50 50 50 50 50 -50 -50 -50 -50 50 f
X 1 1 -300 0 200 R 40 40 1 1 P
X 2 2 300 0 200 L 40 40 1 1 P
X ~ 3 0 -200 50 U 50 50 1 1 P
ENDDRAW
ENDDEF
#
# power_+3V3
#
DEF power_+3V3 #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -150 50 H I C CNN
F1 "power_+3V3" 0 140 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
ALIAS +3.3V
DRAW
P 2 0 1 0 -30 50 0 100 N
P 2 0 1 0 0 0 0 100 N
P 2 0 1 0 0 100 30 50 N
X +3V3 1 0 0 0 U 50 50 1 1 W N
ENDDRAW
ENDDEF
#
# power_GND
#
DEF power_GND #PWR 0 0 Y Y 1 F P
F0 "#PWR" 0 -250 50 H I C CNN
F1 "power_GND" 0 -150 50 H V C CNN
F2 "" 0 0 50 H I C CNN
F3 "" 0 0 50 H I C CNN
DRAW
P 6 0 1 0 0 0 0 -50 50 -50 0 -100 -50 -50 0 -50 N
X GND 1 0 0 0 D 50 50 1 1 W N
ENDDRAW
ENDDEF
#
#End Library