data sheet for new 3.3V LDO
[hw/altusmetrum] / packages / usb_onboard.5c
1 /*
2  * Copyright © 2014 Keith Packard <keithp@keithp.com>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; version 2 of the License.
7  *
8  * This program is distributed in the hope that it will be useful, but
9  * WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11  * General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License along
14  * with this program; if not, write to the Free Software Foundation, Inc.,
15  * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
16  */
17
18 load "footprint.5c"
19 import Footprint;
20
21 real package_width = 12.0;
22 real package_height = 12.0;
23 real package_thick = 2.4;
24
25 real power_width = 1.0;
26 real power_height = 7.41;
27 real data_width = 1.0;
28 real data_height = 6.41;
29
30 real pad_y = 8.65;
31 real power_x = 3.5;
32 real data_x = 1.0;
33
34 element_start("usb_onboard");
35
36 rect(-package_width/2, 0, package_width, package_height);
37
38 line(-package_width/2, pad_y, package_width/2, pad_y);
39
40 pad_mm(-power_x, pad_y - power_height/2, power_width, power_height, "VBUS", "1");
41
42 pad_mm(-data_x, pad_y - data_height/2, data_width, data_height, "DM", "2");
43
44 pad_mm( data_x, pad_y - data_height/2, data_width, data_height, "DP", "3");
45
46 pad_mm( power_x, pad_y - power_height/2, power_width, power_height, "GND", "4");
47
48 element_end();