Root/modules/e-switch320.fpd

Source at commit 7f3f9267cb007e13eca0af273f9eedad0c6c5659 created 1 year 6 months ago.
By Werner Almesberger, components/stm32.lib: add STM32L052x6/8 in QFN32 (KxU) package
1/* MACHINE-GENERATED ! */
2
3frame pos {
4    table
5        { x, y }
6        { -1.5, -1.5 }
7        { 1.5, 0.5 }
8
9    set d = 1mm+0.05mm
10
11    __0: vec @(x*pitch, y*pitch)
12    __1: vec .(d/2, d/2)
13    __2: vec __0(-d/2, -d/2)
14    hole . __1
15}
16
17frame pin {
18    set d = 1.22mm+0.07mm
19
20    set ratio = 2.5
21
22    __0: vec @(d/2, d/2)
23    __1: vec @(-d/2, -d/2)
24    hole . __0
25    __2: vec @(d/2*ratio, -d/2*ratio)
26    __3: vec @(-d/2*ratio, d/2*ratio)
27    rpad "$pin" . __2 bare
28}
29
30frame pins {
31    table
32        { pin, x, y }
33        { 1, -1.5, 1.5 }
34        { 2, 0.5, -0.5 }
35
36    __0: vec @(x*pitch, y*pitch)
37    frame pin .
38}
39
40frame silk {
41    table
42        { case, cap }
43        { 12.4mm, 10.2mm }
44
45    __0: vec @(case/2, case/2)
46    __1: vec @(-case/2, -case/2)
47    rect . __0 w
48    __2: vec @(cap/2, -cap/2)
49    __3: vec @(-cap/2, cap/2)
50}
51
52package "E-SWITCH_320"
53unit mm
54
55set w = 5mil
56
57set pitch = 2.54mm
58
59__0: vec @(0mm, 0mm)
60frame silk @
61frame pins @
62frame pos @
63measy silk.__1 >> silk.__0 2mm
64measx silk.__1 >> silk.__0 -2mm
65measx pins.__0 >> __0 -150mil
66measy pos.__0 >> __0
67measy __0 >> pins.__0
68measx __0 >> pins.__0 -4mm
69measy pins.__0 >> __0 50mil+1mm
70measy pin.__1 -> pin.__0 -3mm
71measx __0 >> pos.__0 50mil
72measx pos.__2 -> pos.__1 -1mm
73measx pin.__3 -> pin.__2 2mm
74

Archive Download this file

Branches:
master



interactive