← Commit history

Update 2 file(s)

Ray ·3b18946254 ·1d ago ·parent 13c6ddd
2 files changed +6−6
viewers/footprint.html+3−3
@@ -1,5 +1,5 @@ <!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>DRV8833 footprint</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/DRV8833 footprint</title> <style> :root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe} *{box-sizing:border-box;margin:0}html,body{height:100%}@@ -23,10 +23,10 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>PCB footprint</span><span class=sp></span><button class="lyrtog on" data-lyr="copper"><span class="d" style="background:#e35d5d"></span>Copper</button><button class="lyrtog on" data-lyr="silk"><span class="d" style="background:#e6edf3"></span>Silkscreen</button><button class="lyrtog" data-lyr="fab"><span class="d" style="background:#8b949e"></span>Fab</button><button class="lyrtog" data-lyr="courtyard"><span class="d" style="background:#bc8cff"></span>Courtyard</button></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-3.900 -3.300 7.800 6.500' style='width:100%;height:100%'><line class='ly-silk' x1='-2.250' y1='-2.725' x2='2.250' y2='-2.725' stroke='#d8b4fe' stroke-width='0.150'/><line class='ly-silk' x1='-2.250' y1='2.725' x2='2.250' y2='2.725' stroke='#d8b4fe' stroke-width='0.150'/><line class='ly-courtyard' x1='-3.500' y1='-2.900' x2='-3.500' y2='2.800' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.500' y1='-2.900' x2='3.500' y2='-2.900' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.500' y1='2.800' x2='3.500' y2='2.800' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.500' y1='-2.900' x2='3.500' y2='2.800' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-2.200' y1='-1.500' x2='-1.200' y2='-2.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='-2.200' y1='2.500' x2='-2.200' y2='-1.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='-1.200' y1='-2.500' x2='2.200' y2='-2.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='2.200' y1='-2.500' x2='2.200' y2='2.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='2.200' y1='2.500' x2='-2.200' y2='2.500' stroke='#f472b6' stroke-width='0.150'/><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='-2.400' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='-1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='-1.150' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='-0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='0.100' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='1.350' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='-2.400' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='-1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='-1.150' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='-0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='0.100' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='1.350' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='-2.400' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='-1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='-1.150' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='-0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='0.100' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='1.350' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='1' data-name='~{SLEEP}' x='-3.300' y='-2.500' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='AOUT1' x='-3.300' y='-1.850' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='AISEN' x='-3.300' y='-1.200' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='AOUT2' x='-3.300' y='-0.550' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='BOUT2' x='-3.300' y='0.100' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='BISEN' x='-3.300' y='0.750' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='BOUT1' x='-3.300' y='1.400' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='~{FAULT}' x='-3.300' y='2.050' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='BIN1' x='2.250' y='2.050' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='BIN2' x='2.250' y='1.400' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='VCP' x='2.250' y='0.750' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='VM' x='2.250' y='0.100' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='GND' x='2.250' y='-0.550' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='VINT' x='2.250' y='-1.200' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='AIN2' x='2.250' y='-1.850' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='AIN1' x='2.250' y='-2.500' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text><rect class='ly-copper pad' data-num='17' data-name='GND' x='-1.700' y='-2.500' width='3.400' height='5.000' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='1.100' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>17</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-3.900 -3.480 7.800 6.680' style='width:100%;height:100%'><line class='ly-silk' x1='-2.250' y1='-2.725' x2='2.250' y2='-2.725' stroke='#d8b4fe' stroke-width='0.150'/><line class='ly-silk' x1='-2.250' y1='2.725' x2='2.250' y2='2.725' stroke='#d8b4fe' stroke-width='0.150'/><line class='ly-courtyard' x1='-3.500' y1='-2.900' x2='-3.500' y2='2.800' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.500' y1='-2.900' x2='3.500' y2='-2.900' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.500' y1='2.800' x2='3.500' y2='2.800' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.500' y1='-2.900' x2='3.500' y2='2.800' stroke='#4ade80' stroke-width='0.050'/><line class='ly-fab' x1='-2.200' y1='-1.500' x2='-1.200' y2='-2.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='-2.200' y1='2.500' x2='-2.200' y2='-1.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='-1.200' y1='-2.500' x2='2.200' y2='-2.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='2.200' y1='-2.500' x2='2.200' y2='2.500' stroke='#f472b6' stroke-width='0.150'/><line class='ly-fab' x1='2.200' y1='2.500' x2='-2.200' y2='2.500' stroke='#f472b6' stroke-width='0.150'/><polygon class='ly-silk' points='-2.800,-2.750 -3.040,-3.080 -2.560,-3.080 -2.800,-2.750' fill='#d8b4fe' stroke='none'/><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='-2.400' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='-1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='-1.150' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='-0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='0.100' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-1.573' y='1.350' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-1.133' y='1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='-2.400' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='-1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='-1.150' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='-0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='0.100' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='-0.440' y='1.350' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='-2.400' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='-1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='-1.150' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='-0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='0.100' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='0.625' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='' data-name='' x='0.693' y='1.350' width='0.880' height='1.050' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='1.133' y='1.875' font-size='0.528' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'></text><rect class='ly-copper pad' data-num='1' data-name='nSLEEP' x='-3.300' y='-2.500' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>1</text><rect class='ly-copper pad' data-num='2' data-name='AOUT1' x='-3.300' y='-1.850' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>2</text><rect class='ly-copper pad' data-num='3' data-name='AISEN' x='-3.300' y='-1.200' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>3</text><rect class='ly-copper pad' data-num='4' data-name='AOUT2' x='-3.300' y='-0.550' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>4</text><rect class='ly-copper pad' data-num='5' data-name='BOUT2' x='-3.300' y='0.100' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>5</text><rect class='ly-copper pad' data-num='6' data-name='BISEN' x='-3.300' y='0.750' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>6</text><rect class='ly-copper pad' data-num='7' data-name='BOUT1' x='-3.300' y='1.400' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>7</text><rect class='ly-copper pad' data-num='8' data-name='nFAULT' x='-3.300' y='2.050' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.775' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>8</text><rect class='ly-copper pad' data-num='9' data-name='BIN1' x='2.250' y='2.050' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>9</text><rect class='ly-copper pad' data-num='10' data-name='BIN2' x='2.250' y='1.400' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>10</text><rect class='ly-copper pad' data-num='11' data-name='VCP' x='2.250' y='0.750' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>11</text><rect class='ly-copper pad' data-num='12' data-name='VM' x='2.250' y='0.100' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>12</text><rect class='ly-copper pad' data-num='13' data-name='GND' x='2.250' y='-0.550' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-0.325' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>13</text><rect class='ly-copper pad' data-num='14' data-name='VINT' x='2.250' y='-1.200' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-0.975' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>14</text><rect class='ly-copper pad' data-num='15' data-name='AIN2' x='2.250' y='-1.850' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-1.625' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>15</text><rect class='ly-copper pad' data-num='16' data-name='AIN1' x='2.250' y='-2.500' width='1.050' height='0.450' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.775' y='-2.275' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>16</text><rect class='ly-copper pad' data-num='17' data-name='GND' x='-1.700' y='-2.500' width='3.400' height='5.000' rx='0.000' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='0.000' y='0.000' font-size='1.100' transform='rotate(-90 0.000 0.000)' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>17</text></svg></div> <div id=tip></div> <script>-var KIND="footprint", MPN="DRV8833", PINS=[{"desc":"Sleep mode input.","name":"~{SLEEP}","number":"1","type":"Input"},{"desc":"Bridge A output 1.","name":"AOUT1","number":"2","type":"Output"},{"desc":"Bridge A ground / current-sense return.","name":"AISEN","number":"3","type":"Bidir"},{"desc":"Bridge A output 2.","name":"AOUT2","number":"4","type":"Output"},{"desc":"Bridge B output 2.","name":"BOUT2","number":"5","type":"Output"},{"desc":"Bridge B ground / current-sense return.","name":"BISEN","number":"6","type":"Bidir"},{"desc":"Bridge B output 1.","name":"BOUT1","number":"7","type":"Output"},{"desc":"Open-drain fault output.","name":"~{FAULT}","number":"8","type":"Output"},{"desc":"Bridge B input 1.","name":"BIN1","number":"9","type":"Input"},{"desc":"Bridge B input 2.","name":"BIN2","number":"10","type":"Input"},{"desc":"High-side gate drive voltage from the internal charge pump.","name":"VCP","number":"11","type":"Power"},{"desc":"Device motor power supply (2.7 V to 10.8 V operating; 11.8 V abs max).","name":"VM","number":"12","type":"Power"},{"desc":"Device ground.","name":"GND","number":"13","type":"Power"},{"desc":"Internal regulator supply bypass.","name":"VINT","number":"14","type":"Power"},{"desc":"Bridge A input 2.","name":"AIN2","number":"15","type":"Input"},{"desc":"Bridge A input 1.","name":"AIN1","number":"16","type":"Input"},{"desc":"","name":"GND","number":"17","type":""}];+var KIND="footprint", MPN="ADOM/DRV8833", PINS=[{"desc":"","name":"nSLEEP","number":"1","type":""},{"desc":"","name":"AOUT1","number":"2","type":""},{"desc":"","name":"AISEN","number":"3","type":""},{"desc":"","name":"AOUT2","number":"4","type":""},{"desc":"","name":"BOUT2","number":"5","type":""},{"desc":"","name":"BISEN","number":"6","type":""},{"desc":"","name":"BOUT1","number":"7","type":""},{"desc":"","name":"nFAULT","number":"8","type":""},{"desc":"","name":"BIN1","number":"9","type":""},{"desc":"","name":"BIN2","number":"10","type":""},{"desc":"","name":"VCP","number":"11","type":""},{"desc":"","name":"VM","number":"12","type":""},{"desc":"","name":"GND","number":"13","type":""},{"desc":"","name":"VINT","number":"14","type":""},{"desc":"","name":"AIN2","number":"15","type":""},{"desc":"","name":"AIN1","number":"16","type":""},{"desc":"","name":"GND","number":"17","type":""}]; var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;}); var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip'); // ---- pan/zoom ----
viewers/symbol.html+3−3
@@ -1,5 +1,5 @@ <!doctype html><html lang=en><head><meta charset=utf-8>-<meta name=viewport content="width=device-width,initial-scale=1"><title>DRV8833 symbol</title>+<meta name=viewport content="width=device-width,initial-scale=1"><title>ADOM/DRV8833 symbol</title> <style> :root{--bg:#0d1117;--panel:#161b22;--edge:#30363d;--ink:#e6edf3;--mut:#8b949e;--acc:#00b8b0;--accb:#00e6dc;--hi:#6ea8fe} *{box-sizing:border-box;margin:0}html,body{height:100%}@@ -23,10 +23,10 @@ rect.pad.hi{stroke:var(--hi);stroke-width:.15;paint-order:stroke} #tip .td{font-size:11px;color:var(--ink);margin-top:5px;line-height:1.4} </style></head><body> <div class=bar><span class=h>Schematic symbol</span><span class=sp></span></div>-<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-550 -650 1100 1300' style='width:100%;height:100%'><rect x='-400.0' y='-500.0' width='800.0' height='1000.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='~{SLEEP}'><line class='pinvis' x1='-500.0' y1='-400.0' x2='-400.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-400.0' x2='-400.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-362.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-375.0' y='-400.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>~{SLEEP}</text><g class='pingroup' data-num='2' data-name='AOUT1'><line class='pinvis' x1='500.0' y1='100.0' x2='400.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='100.0' x2='400.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='62.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='375.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>AOUT1</text><g class='pingroup' data-num='3' data-name='AISEN'><line class='pinvis' x1='-500.0' y1='-200.0' x2='-400.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-200.0' x2='-400.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-375.0' y='-200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>AISEN</text><g class='pingroup' data-num='4' data-name='AOUT2'><line class='pinvis' x1='500.0' y1='200.0' x2='400.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='200.0' x2='400.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='375.0' y='200.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>AOUT2</text><g class='pingroup' data-num='5' data-name='BOUT2'><line class='pinvis' x1='500.0' y1='400.0' x2='400.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='400.0' x2='400.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='362.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='375.0' y='400.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>BOUT2</text><g class='pingroup' data-num='6' data-name='BISEN'><line class='pinvis' x1='-500.0' y1='-100.0' x2='-400.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-100.0' x2='-400.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-62.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-375.0' y='-100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>BISEN</text><g class='pingroup' data-num='7' data-name='BOUT1'><line class='pinvis' x1='500.0' y1='300.0' x2='400.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='300.0' x2='400.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='375.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>BOUT1</text><g class='pingroup' data-num='8' data-name='~{FAULT}'><line class='pinvis' x1='500.0' y1='-100.0' x2='400.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='-100.0' x2='400.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='-137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='375.0' y='-100.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>~{FAULT}</text><g class='pingroup' data-num='9' data-name='BIN1'><line class='pinvis' x1='-500.0' y1='300.0' x2='-400.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='300.0' x2='-400.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='337.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-375.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>BIN1</text><g class='pingroup' data-num='10' data-name='BIN2'><line class='pinvis' x1='-500.0' y1='400.0' x2='-400.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='400.0' x2='-400.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='437.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-375.0' y='400.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>BIN2</text><g class='pingroup' data-num='11' data-name='VCP'><line class='pinvis' x1='-500.0' y1='-300.0' x2='-400.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-300.0' x2='-400.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='-375.0' y='-300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VCP</text><g class='pingroup' data-num='12' data-name='VM'><line class='pinvis' x1='300.0' y1='-600.0' x2='300.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='300.0' y1='-600.0' x2='300.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='262.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='300.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VM</text><g class='pingroup' data-num='13' data-name='GND'><line class='pinvis' x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='37.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='0.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='14' data-name='VINT'><line class='pinvis' x1='200.0' y1='-600.0' x2='200.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='200.0' y1='-600.0' x2='200.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='162.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='200.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VINT</text><g class='pingroup' data-num='15' data-name='AIN2'><line class='pinvis' x1='-500.0' y1='200.0' x2='-400.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='200.0' x2='-400.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='237.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='-375.0' y='200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>AIN2</text><g class='pingroup' data-num='16' data-name='AIN1'><line class='pinvis' x1='-500.0' y1='100.0' x2='-400.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='100.0' x2='-400.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='-375.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>AIN1</text><g class='pingroup' data-num='17' data-name='GND'><line class='pinvis' x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='37.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>17</text><text x='0.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-550 -650 1100 1300' style='width:100%;height:100%'><rect x='-400.0' y='-500.0' width='800.0' height='1000.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='nSLEEP'><line class='pinvis' x1='-500.0' y1='-400.0' x2='-400.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-400.0' x2='-400.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-362.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-375.0' y='-400.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>nSLEEP</text><g class='pingroup' data-num='2' data-name='AOUT1'><line class='pinvis' x1='500.0' y1='100.0' x2='400.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='100.0' x2='400.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='62.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='375.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>AOUT1</text><g class='pingroup' data-num='3' data-name='AISEN'><line class='pinvis' x1='-500.0' y1='-200.0' x2='-400.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-200.0' x2='-400.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-375.0' y='-200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>AISEN</text><g class='pingroup' data-num='4' data-name='AOUT2'><line class='pinvis' x1='500.0' y1='200.0' x2='400.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='200.0' x2='400.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='162.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='375.0' y='200.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>AOUT2</text><g class='pingroup' data-num='5' data-name='BOUT2'><line class='pinvis' x1='500.0' y1='400.0' x2='400.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='400.0' x2='400.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='362.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='375.0' y='400.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>BOUT2</text><g class='pingroup' data-num='6' data-name='BISEN'><line class='pinvis' x1='-500.0' y1='-100.0' x2='-400.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-100.0' x2='-400.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-62.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-375.0' y='-100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>BISEN</text><g class='pingroup' data-num='7' data-name='BOUT1'><line class='pinvis' x1='500.0' y1='300.0' x2='400.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='300.0' x2='400.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='375.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>BOUT1</text><g class='pingroup' data-num='8' data-name='nFAULT'><line class='pinvis' x1='500.0' y1='-100.0' x2='400.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='500.0' y1='-100.0' x2='400.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='450.0' y='-137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='375.0' y='-100.0' font-size='50' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>nFAULT</text><g class='pingroup' data-num='9' data-name='BIN1'><line class='pinvis' x1='-500.0' y1='300.0' x2='-400.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='300.0' x2='-400.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='337.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-375.0' y='300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>BIN1</text><g class='pingroup' data-num='10' data-name='BIN2'><line class='pinvis' x1='-500.0' y1='400.0' x2='-400.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='400.0' x2='-400.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='437.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-375.0' y='400.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>BIN2</text><g class='pingroup' data-num='11' data-name='VCP'><line class='pinvis' x1='-500.0' y1='-300.0' x2='-400.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='-300.0' x2='-400.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='-262.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='-375.0' y='-300.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VCP</text><g class='pingroup' data-num='12' data-name='VM'><line class='pinvis' x1='300.0' y1='-600.0' x2='300.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='300.0' y1='-600.0' x2='300.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='262.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='300.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VM</text><g class='pingroup' data-num='13' data-name='GND'><line class='pinvis' x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='37.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='0.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text><g class='pingroup' data-num='14' data-name='VINT'><line class='pinvis' x1='200.0' y1='-600.0' x2='200.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='200.0' y1='-600.0' x2='200.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='162.5' y='-550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='200.0' y='-475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>VINT</text><g class='pingroup' data-num='15' data-name='AIN2'><line class='pinvis' x1='-500.0' y1='200.0' x2='-400.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='200.0' x2='-400.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='237.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='-375.0' y='200.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>AIN2</text><g class='pingroup' data-num='16' data-name='AIN1'><line class='pinvis' x1='-500.0' y1='100.0' x2='-400.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-500.0' y1='100.0' x2='-400.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-450.0' y='137.5' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='-375.0' y='100.0' font-size='50' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>AIN1</text><g class='pingroup' data-num='17' data-name='GND'><line class='pinvis' x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='0.0' y1='600.0' x2='0.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='37.5' y='550.0' font-size='50' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>17</text><text x='0.0' y='475.0' font-size='50' fill='#e6e9ef' text-anchor='middle' dominant-baseline='central'>GND</text></svg></div> <div id=tip></div> <script>-var KIND="symbol", MPN="DRV8833", PINS=[{"desc":"Sleep mode input.","name":"~{SLEEP}","number":"1","type":"Input"},{"desc":"Bridge A output 1.","name":"AOUT1","number":"2","type":"Output"},{"desc":"Bridge A ground / current-sense return.","name":"AISEN","number":"3","type":"Bidir"},{"desc":"Bridge A output 2.","name":"AOUT2","number":"4","type":"Output"},{"desc":"Bridge B output 2.","name":"BOUT2","number":"5","type":"Output"},{"desc":"Bridge B ground / current-sense return.","name":"BISEN","number":"6","type":"Bidir"},{"desc":"Bridge B output 1.","name":"BOUT1","number":"7","type":"Output"},{"desc":"Open-drain fault output.","name":"~{FAULT}","number":"8","type":"Output"},{"desc":"Bridge B input 1.","name":"BIN1","number":"9","type":"Input"},{"desc":"Bridge B input 2.","name":"BIN2","number":"10","type":"Input"},{"desc":"High-side gate drive voltage from the internal charge pump.","name":"VCP","number":"11","type":"Power"},{"desc":"Device motor power supply (2.7 V to 10.8 V operating; 11.8 V abs max).","name":"VM","number":"12","type":"Power"},{"desc":"Device ground.","name":"GND","number":"13","type":"Power"},{"desc":"Internal regulator supply bypass.","name":"VINT","number":"14","type":"Power"},{"desc":"Bridge A input 2.","name":"AIN2","number":"15","type":"Input"},{"desc":"Bridge A input 1.","name":"AIN1","number":"16","type":"Input"},{"desc":"","name":"GND","number":"17","type":""}];+var KIND="symbol", MPN="ADOM/DRV8833", PINS=[{"desc":"","name":"nSLEEP","number":"1","type":""},{"desc":"","name":"AOUT1","number":"2","type":""},{"desc":"","name":"AISEN","number":"3","type":""},{"desc":"","name":"AOUT2","number":"4","type":""},{"desc":"","name":"BOUT2","number":"5","type":""},{"desc":"","name":"BISEN","number":"6","type":""},{"desc":"","name":"BOUT1","number":"7","type":""},{"desc":"","name":"nFAULT","number":"8","type":""},{"desc":"","name":"BIN1","number":"9","type":""},{"desc":"","name":"BIN2","number":"10","type":""},{"desc":"","name":"VCP","number":"11","type":""},{"desc":"","name":"VM","number":"12","type":""},{"desc":"","name":"GND","number":"13","type":""},{"desc":"","name":"VINT","number":"14","type":""},{"desc":"","name":"AIN2","number":"15","type":""},{"desc":"","name":"AIN1","number":"16","type":""},{"desc":"","name":"GND","number":"17","type":""}]; var byNum={}; PINS.forEach(function(p){byNum[String(p.number)]=p;}); var stage=document.getElementById('stage'), svg=stage.querySelector('svg'), tip=document.getElementById('tip'); // ---- pan/zoom ----