Root/modules/msl0104.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 pins_outer {
4    table
5        { n }
6        { 1 }
7        { 7 }
8
9    set x = (4-n)/3*(pox/2+ogap+2*igap+2.5*pix)
10
11    __0: vec @(x, 0mm)
12    __1: vec .(-pox/2, 0mm)
13    __2: vec __0(pox/2, -poy)
14    pad "$n" __1 .
15}
16
17frame pins_inner {
18    set x = (pix+igap)*(4-n)
19
20    loop n = 2, 6
21
22    __0: vec @(x, 0mm)
23    __1: vec .(-pix/2, -piy)
24    __2: vec __0(pix/2, 0mm)
25    pad "$n" __1 .
26}
27
28frame outline {
29    set w = 0.1mm
30
31    table
32        { ox, oy }
33        { 6.4mm, 0.7mm }
34
35    __0: vec @(-ox/2, oy)
36    __1: vec .(ox, 0mm)
37    line __0 . w
38}
39
40package "MSL0104"
41unit mm
42
43table
44    { pix, piy, pox, poy }
45    { 0.6mm, 2.18mm, 1.06mm, 1.58mm }
46
47table
48    { igap, ogap }
49    { 0.3mm, 0.32mm }
50
51frame pins_inner @
52frame pins_outer @
53frame outline @
54measx pins_outer.__1 -> pins_outer.__2 -1mm-piy
55measy pins_outer.__2 -> pins_outer.__1 2mm
56measx outline.__0 >> outline.__1 1mm
57measx pins_outer.__2 -> pins_inner.__1 -1mm-(piy-poy)
58measx pins_inner.__1 -> pins_inner.__2 -1mm
59measx pins_inner.__2 -> pins_inner.__1 -1mm-piy
60measy pins_inner.__1 -> pins_outer.__1 3mm
61measy pins_outer.__1 >> outline.__0 0.5mm
62

Archive Download this file

Branches:
master



interactive