← Commit history

stspin820: .lbr and symbol viewer from adom-lbr 2.47.10 (primes, overbars)

Ray ·86faa8849a · ·parent dbc1981
2 files changed +20−10
stspin820.lbr+17−8
@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>STMicroelectronics Stepper Motor Driver, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet</description> <packages> <package name="QFN-24-1EP_4x4mm_P0.5mm_EP2.7x2.7mm">   <description>QFN-24-1EP, 4 x 4 mm, 0.5 mm pitch</description>@@ -78,7 +78,7 @@   <smd name="22" x="-0.2500" y="1.9625" dx="0.2500" dy="0.8250" layer="1" roundness="50"/>   <smd name="23" x="-0.7500" y="1.9625" dx="0.2500" dy="0.8250" layer="1" roundness="50"/>   <smd name="24" x="-1.2500" y="1.9625" dx="0.2500" dy="0.8250" layer="1" roundness="50"/>-  <smd name="25" x="0.0000" y="-0.0000" dx="2.7000" dy="2.7000" layer="1"/>+  <smd name="25" x="0.0000" y="-0.0000" dx="2.7000" dy="2.7000" layer="1" cream="no"/>   <polygon width="0.1200" layer="21">     <vertex x="-2.6400" y="1.2500"/>     <vertex x="-2.9700" y="1.0100"/>@@ -105,6 +105,7 @@ </packages> <symbols> <symbol name="STSPIN820">+  <description>STMicroelectronics Stepper Motor Driver, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet</description>   <wire x1="-12.7" y1="17.78" x2="12.7" y2="17.78" width="0.254" layer="94"/>   <wire x1="12.7" y1="17.78" x2="12.7" y2="-17.78" width="0.254" layer="94"/>   <wire x1="12.7" y1="-17.78" x2="-12.7" y2="-17.78" width="0.254" layer="94"/>@@ -132,15 +133,15 @@   <pin name="DIR" x="17.78" y="0" length="middle" direction="in" rot="R180"/>   <pin name="STCK" x="17.78" y="-2.54" length="middle" direction="in" rot="R180"/>   <pin name="DECAY" x="17.78" y="-5.08" length="middle" direction="in" rot="R180"/>-  <pin name="EN_/_FAULT" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>-  <pin name="STBY_/_RESET" x="17.78" y="-10.16" length="middle" direction="in" rot="R180"/>+  <pin name="!EN!/!FAULT!" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>+  <pin name="!STBY!/!RESET!" x="17.78" y="-10.16" length="middle" direction="in" rot="R180"/>   <pin name="SNSB" x="17.78" y="-12.7" length="middle" direction="in" rot="R180"/>   <pin name="SENSEB1" x="17.78" y="-15.24" length="middle" direction="out" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="STSPIN820" prefix="U">-  <description></description>+  <description>STMicroelectronics Stepper Motor Driver, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet</description>   <gates>     <gate name="G$1" symbol="STSPIN820" x="0" y="0"/>   </gates>@@ -168,12 +169,20 @@         <connect gate="G$1" pin="DIR" pad="20"/>         <connect gate="G$1" pin="STCK" pad="19"/>         <connect gate="G$1" pin="DECAY" pad="18"/>-        <connect gate="G$1" pin="EN_/_FAULT" pad="17"/>-        <connect gate="G$1" pin="STBY_/_RESET" pad="16"/>+        <connect gate="G$1" pin="!EN!/!FAULT!" pad="17"/>+        <connect gate="G$1" pin="!STBY!/!RESET!" pad="16"/>         <connect gate="G$1" pin="SNSB" pad="15"/>         <connect gate="G$1" pin="SENSEB1" pad="14"/>       </connects>-      <technologies><technology name=""/></technologies>+      <technologies>+        <technology name="">+          <attribute name="MPN" value="STSPIN820" constant="no"/>+          <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+          <attribute name="DATASHEET" value="https://www.st.com/resource/en/datasheet/stspin820.pdf" constant="no"/>+          <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/stspin820" constant="no"/>+          <attribute name="LCSC_PN" value="C160702" constant="no"/>+        </technology>+      </technologies>     </device>   </devices> </deviceset>
viewers/symbol.html+3−2
@@ -23,7 +23,7 @@ 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='-750 -750 1500 1500' style='width:100%;height:100%'><rect x='-500.0' y='-700.0' width='1000.0' height='1400.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='REF'><line class='pinvis' x1='-700.0' y1='-600.0' x2='-500.0' y2='-600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-600.0' x2='-500.0' y2='-600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>REF</text><g class='pingroup' data-num='2' data-name='GND'><line class='pinvis' x1='-700.0' y1='-500.0' x2='-500.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-500.0' x2='-500.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='3' data-name='GND'><line class='pinvis' x1='-700.0' y1='-400.0' x2='-500.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-400.0' x2='-500.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-470.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='4' data-name='SNSA'><line class='pinvis' x1='-700.0' y1='-300.0' x2='-500.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-300.0' x2='-500.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='-470.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SNSA</text><g class='pingroup' data-num='5' data-name='SENSEA1'><line class='pinvis' x1='-700.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-470.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SENSEA1</text><g class='pingroup' data-num='6' data-name='SENSEA2'><line class='pinvis' x1='-700.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-470.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SENSEA2</text><g class='pingroup' data-num='7' data-name='OUTA1'><line class='pinvis' x1='-700.0' y1='-0.0' x2='-500.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-0.0' x2='-500.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-470.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTA1</text><g class='pingroup' data-num='8' data-name='OUTA2'><line class='pinvis' x1='-700.0' y1='100.0' x2='-500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='100.0' x2='-500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-470.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTA2</text><g class='pingroup' data-num='9' data-name='VS'><line class='pinvis' x1='-700.0' y1='200.0' x2='-500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='200.0' x2='-500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-470.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VS</text><g class='pingroup' data-num='10' data-name='VS'><line class='pinvis' x1='-700.0' y1='300.0' x2='-500.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='300.0' x2='-500.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-470.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VS</text><g class='pingroup' data-num='11' data-name='OUTB2'><line class='pinvis' x1='-700.0' y1='400.0' x2='-500.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='400.0' x2='-500.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='-470.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTB2</text><g class='pingroup' data-num='12' data-name='OUTB1'><line class='pinvis' x1='-700.0' y1='500.0' x2='-500.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='500.0' x2='-500.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='-470.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTB1</text><g class='pingroup' data-num='13' data-name='SENSEB2'><line class='pinvis' x1='-700.0' y1='600.0' x2='-500.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='600.0' x2='-500.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='645.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='-470.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SENSEB2</text><g class='pingroup' data-num='25' data-name='EP'><line class='pinvis' x1='700.0' y1='-500.0' x2='500.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-500.0' x2='500.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>25</text><text x='470.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>EP</text><g class='pingroup' data-num='24' data-name='TOFF'><line class='pinvis' x1='700.0' y1='-400.0' x2='500.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-400.0' x2='500.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>24</text><text x='470.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>TOFF</text><g class='pingroup' data-num='23' data-name='MODE3'><line class='pinvis' x1='700.0' y1='-300.0' x2='500.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-300.0' x2='500.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>23</text><text x='470.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>MODE3</text><g class='pingroup' data-num='22' data-name='MODE2'><line class='pinvis' x1='700.0' y1='-200.0' x2='500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-200.0' x2='500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>22</text><text x='470.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>MODE2</text><g class='pingroup' data-num='21' data-name='MODE1'><line class='pinvis' x1='700.0' y1='-100.0' x2='500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-100.0' x2='500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>21</text><text x='470.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>MODE1</text><g class='pingroup' data-num='20' data-name='DIR'><line class='pinvis' x1='700.0' y1='-0.0' x2='500.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-0.0' x2='500.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>20</text><text x='470.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>DIR</text><g class='pingroup' data-num='19' data-name='STCK'><line class='pinvis' x1='700.0' y1='100.0' x2='500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='100.0' x2='500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>19</text><text x='470.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>STCK</text><g class='pingroup' data-num='18' data-name='DECAY'><line class='pinvis' x1='700.0' y1='200.0' x2='500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='200.0' x2='500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>18</text><text x='470.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>DECAY</text><g class='pingroup' data-num='17' data-name='~{EN}/~{FAULT}'><line class='pinvis' x1='700.0' y1='300.0' x2='500.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='300.0' x2='500.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>17</text><text x='470.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>~{EN}/~{FAULT}</text><g class='pingroup' data-num='16' data-name='~{STBY}/~{RESET}'><line class='pinvis' x1='700.0' y1='400.0' x2='500.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='400.0' x2='500.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='470.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>~{STBY}/~{RESET}</text><g class='pingroup' data-num='15' data-name='SNSB'><line class='pinvis' x1='700.0' y1='500.0' x2='500.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='500.0' x2='500.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='470.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SNSB</text><g class='pingroup' data-num='14' data-name='SENSEB1'><line class='pinvis' x1='700.0' y1='600.0' x2='500.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='600.0' x2='500.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='470.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SENSEB1</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-750 -750 1500 1500' style='width:100%;height:100%'><rect x='-500.0' y='-700.0' width='1000.0' height='1400.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='REF'><line class='pinvis' x1='-700.0' y1='-600.0' x2='-500.0' y2='-600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-600.0' x2='-500.0' y2='-600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-470.0' y='-600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>REF</text><g class='pingroup' data-num='2' data-name='GND'><line class='pinvis' x1='-700.0' y1='-500.0' x2='-500.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-500.0' x2='-500.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-470.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='3' data-name='GND'><line class='pinvis' x1='-700.0' y1='-400.0' x2='-500.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-400.0' x2='-500.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-470.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='4' data-name='SNSA'><line class='pinvis' x1='-700.0' y1='-300.0' x2='-500.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-300.0' x2='-500.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='-470.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SNSA</text><g class='pingroup' data-num='5' data-name='SENSEA1'><line class='pinvis' x1='-700.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-200.0' x2='-500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-470.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SENSEA1</text><g class='pingroup' data-num='6' data-name='SENSEA2'><line class='pinvis' x1='-700.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-100.0' x2='-500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='-55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-470.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SENSEA2</text><g class='pingroup' data-num='7' data-name='OUTA1'><line class='pinvis' x1='-700.0' y1='-0.0' x2='-500.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='-0.0' x2='-500.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-470.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTA1</text><g class='pingroup' data-num='8' data-name='OUTA2'><line class='pinvis' x1='-700.0' y1='100.0' x2='-500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='100.0' x2='-500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-470.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTA2</text><g class='pingroup' data-num='9' data-name='VS'><line class='pinvis' x1='-700.0' y1='200.0' x2='-500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='200.0' x2='-500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-470.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VS</text><g class='pingroup' data-num='10' data-name='VS'><line class='pinvis' x1='-700.0' y1='300.0' x2='-500.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='300.0' x2='-500.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-470.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VS</text><g class='pingroup' data-num='11' data-name='OUTB2'><line class='pinvis' x1='-700.0' y1='400.0' x2='-500.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='400.0' x2='-500.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='-470.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTB2</text><g class='pingroup' data-num='12' data-name='OUTB1'><line class='pinvis' x1='-700.0' y1='500.0' x2='-500.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='500.0' x2='-500.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='-470.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>OUTB1</text><g class='pingroup' data-num='13' data-name='SENSEB2'><line class='pinvis' x1='-700.0' y1='600.0' x2='-500.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-700.0' y1='600.0' x2='-500.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-600.0' y='645.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='-470.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SENSEB2</text><g class='pingroup' data-num='25' data-name='EP'><line class='pinvis' x1='700.0' y1='-500.0' x2='500.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-500.0' x2='500.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>25</text><text x='470.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>EP</text><g class='pingroup' data-num='24' data-name='TOFF'><line class='pinvis' x1='700.0' y1='-400.0' x2='500.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-400.0' x2='500.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>24</text><text x='470.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>TOFF</text><g class='pingroup' data-num='23' data-name='MODE3'><line class='pinvis' x1='700.0' y1='-300.0' x2='500.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-300.0' x2='500.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>23</text><text x='470.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>MODE3</text><g class='pingroup' data-num='22' data-name='MODE2'><line class='pinvis' x1='700.0' y1='-200.0' x2='500.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-200.0' x2='500.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>22</text><text x='470.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>MODE2</text><g class='pingroup' data-num='21' data-name='MODE1'><line class='pinvis' x1='700.0' y1='-100.0' x2='500.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-100.0' x2='500.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>21</text><text x='470.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>MODE1</text><g class='pingroup' data-num='20' data-name='DIR'><line class='pinvis' x1='700.0' y1='-0.0' x2='500.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='-0.0' x2='500.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='-45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>20</text><text x='470.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>DIR</text><g class='pingroup' data-num='19' data-name='STCK'><line class='pinvis' x1='700.0' y1='100.0' x2='500.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='100.0' x2='500.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>19</text><text x='470.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>STCK</text><g class='pingroup' data-num='18' data-name='DECAY'><line class='pinvis' x1='700.0' y1='200.0' x2='500.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='200.0' x2='500.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>18</text><text x='470.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>DECAY</text><g class='pingroup' data-num='17' data-name='~{EN}/~{FAULT}'><line class='pinvis' x1='700.0' y1='300.0' x2='500.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='300.0' x2='500.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>17</text><text x='470.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'><tspan text-decoration='overline'>EN</tspan>/<tspan text-decoration='overline'>FAULT</tspan></text><g class='pingroup' data-num='16' data-name='~{STBY}/~{RESET}'><line class='pinvis' x1='700.0' y1='400.0' x2='500.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='400.0' x2='500.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='470.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'><tspan text-decoration='overline'>STBY</tspan>/<tspan text-decoration='overline'>RESET</tspan></text><g class='pingroup' data-num='15' data-name='SNSB'><line class='pinvis' x1='700.0' y1='500.0' x2='500.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='500.0' x2='500.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='470.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SNSB</text><g class='pingroup' data-num='14' data-name='SENSEB1'><line class='pinvis' x1='700.0' y1='600.0' x2='500.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='700.0' y1='600.0' x2='500.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='600.0' y='555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='470.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SENSEB1</text></svg></div> <div id=tip></div> <script> var KIND="symbol", MPN="ADOM/STSPIN820", PINS=[{"desc":"","name":"REF","number":"1","type":""},{"desc":"","name":"GND","number":"2","type":""},{"desc":"","name":"GND","number":"3","type":""},{"desc":"","name":"SNSA","number":"4","type":""},{"desc":"","name":"SENSEA1","number":"5","type":""},{"desc":"","name":"SENSEA2","number":"6","type":""},{"desc":"","name":"OUTA1","number":"7","type":""},{"desc":"","name":"OUTA2","number":"8","type":""},{"desc":"","name":"VS","number":"9","type":""},{"desc":"","name":"VS","number":"10","type":""},{"desc":"","name":"OUTB2","number":"11","type":""},{"desc":"","name":"OUTB1","number":"12","type":""},{"desc":"","name":"SENSEB2","number":"13","type":""},{"desc":"","name":"EP","number":"25","type":""},{"desc":"","name":"TOFF","number":"24","type":""},{"desc":"","name":"MODE3","number":"23","type":""},{"desc":"","name":"MODE2","number":"22","type":""},{"desc":"","name":"MODE1","number":"21","type":""},{"desc":"","name":"DIR","number":"20","type":""},{"desc":"","name":"STCK","number":"19","type":""},{"desc":"","name":"DECAY","number":"18","type":""},{"desc":"","name":"~{EN}/~{FAULT}","number":"17","type":""},{"desc":"","name":"~{STBY}/~{RESET}","number":"16","type":""},{"desc":"","name":"SNSB","number":"15","type":""},{"desc":"","name":"SENSEB1","number":"14","type":""}];@@ -44,7 +44,8 @@ function els(n){return [].slice.call(document.querySelectorAll('[data-num="'+n+' function clearHi(){[].slice.call(document.querySelectorAll('.hi')).forEach(function(e){e.classList.remove('hi');});} function hi(n){els(n).forEach(function(e){e.classList.add('hi');});} function post(n){try{parent.postMessage({type:'lbr-hover',pin:n===null?null:String(n),mpn:MPN},'*');}catch(_){}}-function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';tip.querySelector('.tn').textContent=n+'  '+(p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';}+function ovName(el,pre,nm){el.textContent=pre;var r=nm,i;while((i=r.indexOf('~{'))>=0){el.appendChild(document.createTextNode(r.slice(0,i)));var a=r.slice(i+2),j=a.indexOf('}'),s=document.createElement('span');s.style.textDecoration='overline';s.textContent=j<0?a:a.slice(0,j);el.appendChild(s);r=j<0?'':a.slice(j+1);}el.appendChild(document.createTextNode(r));}+function showTip(n,x,y){var p=byNum[String(n)];if(!p)return;tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';ovName(tip.querySelector('.tn'),n+'  ',p.name||'');tip.querySelector('.tt').textContent=p.type||'';var d=p.desc||'';if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';tip.style.display='block';tip.style.left=(x+14)+'px';tip.style.top=(y+12)+'px';} [].slice.call(document.querySelectorAll('.pingroup,.pad')).forEach(function(g){   var n=g.getAttribute('data-num');   g.addEventListener('mouseenter',function(e){clearHi();hi(n);post(n);showTip(n,e.clientX,e.clientY);});