← Commit history
ais328dqtr: symbol repaired (body fitted to the names)
3 files changed
+72−60
ais328dqtr.kicad_sym+26−26@@ -4,107 +4,107 @@ (property "Value" "AIS328DQTR" (at 0 -20.32 0) (effects (font (size 1.27 1.27)))) (property "Footprint" "" (at 0 0 0) (effects (font (size 1.27 1.27)) hide)) (symbol "AIS328DQTR_0_1"- (rectangle (start -12.70 17.78) (end 12.70 -17.78)+ (rectangle (start -17.78 17.78) (end 17.78 -17.78) (stroke (width 0.254) (type default)) (fill (type background))) ) (symbol "AIS328DQTR_1_1"- (pin no_connect line (at -17.78 15.24 0) (length 5.08)+ (pin no_connect line (at -22.86 15.24 0) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "1" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at -17.78 12.70 0) (length 5.08)+ (pin no_connect line (at -22.86 12.70 0) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "2" (effects (font (size 1.27 1.27)))) )- (pin output line (at -17.78 10.16 0) (length 5.08)+ (pin output line (at -22.86 10.16 0) (length 5.08) (name "INT_2" (effects (font (size 1.27 1.27)))) (number "3" (effects (font (size 1.27 1.27)))) )- (pin passive line (at -17.78 7.62 0) (length 5.08)+ (pin passive line (at -22.86 7.62 0) (length 5.08) (name "Reserved" (effects (font (size 1.27 1.27)))) (number "4" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at -17.78 5.08 0) (length 5.08)+ (pin power_in line (at -22.86 5.08 0) (length 5.08) (name "VDD" (effects (font (size 1.27 1.27)))) (number "5" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at -17.78 2.54 0) (length 5.08)+ (pin power_in line (at -22.86 2.54 0) (length 5.08) (name "GND" (effects (font (size 1.27 1.27)))) (number "6" (effects (font (size 1.27 1.27)))) )- (pin output line (at -17.78 0.00 0) (length 5.08)+ (pin output line (at -22.86 0.00 0) (length 5.08) (name "INT_1" (effects (font (size 1.27 1.27)))) (number "7" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at -17.78 -2.54 0) (length 5.08)+ (pin power_in line (at -22.86 -2.54 0) (length 5.08) (name "GND" (effects (font (size 1.27 1.27)))) (number "8" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at -17.78 -5.08 0) (length 5.08)+ (pin power_in line (at -22.86 -5.08 0) (length 5.08) (name "GND" (effects (font (size 1.27 1.27)))) (number "9" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at -17.78 -7.62 0) (length 5.08)+ (pin power_in line (at -22.86 -7.62 0) (length 5.08) (name "GND" (effects (font (size 1.27 1.27)))) (number "10" (effects (font (size 1.27 1.27)))) )- (pin input line (at -17.78 -10.16 0) (length 5.08)+ (pin input line (at -22.86 -10.16 0) (length 5.08) (name "SPC / SCL" (effects (font (size 1.27 1.27)))) (number "11" (effects (font (size 1.27 1.27)))) )- (pin input line (at -17.78 -12.70 0) (length 5.08)+ (pin input line (at -22.86 -12.70 0) (length 5.08) (name "CS" (effects (font (size 1.27 1.27)))) (number "12" (effects (font (size 1.27 1.27)))) )- (pin passive line (at -17.78 -15.24 0) (length 5.08)+ (pin passive line (at -22.86 -15.24 0) (length 5.08) (name "Reserved" (effects (font (size 1.27 1.27)))) (number "13" (effects (font (size 1.27 1.27)))) )- (pin passive line (at 17.78 12.70 180) (length 5.08)+ (pin passive line (at 22.86 12.70 180) (length 5.08) (name "EP" (effects (font (size 1.27 1.27)))) (number "25" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 10.16 180) (length 5.08)+ (pin no_connect line (at 22.86 10.16 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "24" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 7.62 180) (length 5.08)+ (pin no_connect line (at 22.86 7.62 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "23" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 5.08 180) (length 5.08)+ (pin no_connect line (at 22.86 5.08 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "22" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 2.54 180) (length 5.08)+ (pin no_connect line (at 22.86 2.54 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "21" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 0.00 180) (length 5.08)+ (pin no_connect line (at 22.86 0.00 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "20" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 -2.54 180) (length 5.08)+ (pin no_connect line (at 22.86 -2.54 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "19" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 -5.08 180) (length 5.08)+ (pin no_connect line (at 22.86 -5.08 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "18" (effects (font (size 1.27 1.27)))) )- (pin no_connect line (at 17.78 -7.62 180) (length 5.08)+ (pin no_connect line (at 22.86 -7.62 180) (length 5.08) (name "NC" (effects (font (size 1.27 1.27)))) (number "17" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at 17.78 -10.16 180) (length 5.08)+ (pin bidirectional line (at 22.86 -10.16 180) (length 5.08) (name "SDI / SDO / SDA" (effects (font (size 1.27 1.27)))) (number "16" (effects (font (size 1.27 1.27)))) )- (pin bidirectional line (at 17.78 -12.70 180) (length 5.08)+ (pin bidirectional line (at 22.86 -12.70 180) (length 5.08) (name "SDO/SA0" (effects (font (size 1.27 1.27)))) (number "15" (effects (font (size 1.27 1.27)))) )- (pin power_in line (at 17.78 -15.24 180) (length 5.08)+ (pin power_in line (at 22.86 -15.24 180) (length 5.08) (name "VDD_IO" (effects (font (size 1.27 1.27)))) (number "14" (effects (font (size 1.27 1.27)))) )
ais328dqtr.lbr+43−32@@ -50,7 +50,7 @@ <layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/> </layers> <library>-<description></description>+<description>STMicroelectronics Accelerometers, 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>@@ -105,42 +105,43 @@ </packages> <symbols> <symbol name="AIS328DQTR">- <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"/>- <wire x1="-12.7" y1="-17.78" x2="-12.7" y2="17.78" width="0.254" layer="94"/>+ <description>STMicroelectronics Accelerometers, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet</description>+ <wire x1="-17.78" y1="17.78" x2="17.78" y2="17.78" width="0.254" layer="94"/>+ <wire x1="17.78" y1="17.78" x2="17.78" y2="-17.78" width="0.254" layer="94"/>+ <wire x1="17.78" y1="-17.78" x2="-17.78" y2="-17.78" width="0.254" layer="94"/>+ <wire x1="-17.78" y1="-17.78" x2="-17.78" y2="17.78" width="0.254" layer="94"/> <text x="0.0000" y="20.3200" size="1.27" layer="95" align="center">>NAME</text> <text x="0.0000" y="-20.3200" size="1.27" layer="96" align="center">>VALUE</text>- <pin name="NC" x="-17.78" y="15.24" length="middle" direction="io"/>- <pin name="NC@2" x="-17.78" y="12.7" length="middle" direction="io"/>- <pin name="INT_2" x="-17.78" y="10.16" length="middle" direction="out"/>- <pin name="Reserved" x="-17.78" y="7.62" length="middle" direction="pas"/>- <pin name="VDD" x="-17.78" y="5.08" length="middle" direction="pwr"/>- <pin name="GND" x="-17.78" y="2.54" length="middle" direction="pwr"/>- <pin name="INT_1" x="-17.78" y="0" length="middle" direction="out"/>- <pin name="GND@2" x="-17.78" y="-2.54" length="middle" direction="pwr"/>- <pin name="GND@3" x="-17.78" y="-5.08" length="middle" direction="pwr"/>- <pin name="GND@4" x="-17.78" y="-7.62" length="middle" direction="pwr"/>- <pin name="SPC_/_SCL" x="-17.78" y="-10.16" length="middle" direction="in"/>- <pin name="CS" x="-17.78" y="-12.7" length="middle" direction="in"/>- <pin name="Reserved@2" x="-17.78" y="-15.24" length="middle" direction="pas"/>- <pin name="EP" x="17.78" y="12.7" length="middle" direction="pas" rot="R180"/>- <pin name="NC@3" x="17.78" y="10.16" length="middle" direction="io" rot="R180"/>- <pin name="NC@4" x="17.78" y="7.62" length="middle" direction="io" rot="R180"/>- <pin name="NC@5" x="17.78" y="5.08" length="middle" direction="io" rot="R180"/>- <pin name="NC@6" x="17.78" y="2.54" length="middle" direction="io" rot="R180"/>- <pin name="NC@7" x="17.78" y="0" length="middle" direction="io" rot="R180"/>- <pin name="NC@8" x="17.78" y="-2.54" length="middle" direction="io" rot="R180"/>- <pin name="NC@9" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/>- <pin name="NC@10" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>- <pin name="SDI_/_SDO_/_SDA" x="17.78" y="-10.16" length="middle" direction="io" rot="R180"/>- <pin name="SDO/SA0" x="17.78" y="-12.7" length="middle" direction="io" rot="R180"/>- <pin name="VDD_IO" x="17.78" y="-15.24" length="middle" direction="pwr" rot="R180"/>+ <pin name="NC" x="-22.86" y="15.24" length="middle" direction="nc"/>+ <pin name="NC@2" x="-22.86" y="12.7" length="middle" direction="nc"/>+ <pin name="INT_2" x="-22.86" y="10.16" length="middle" direction="out"/>+ <pin name="Reserved" x="-22.86" y="7.62" length="middle" direction="pas"/>+ <pin name="VDD" x="-22.86" y="5.08" length="middle" direction="pwr"/>+ <pin name="GND" x="-22.86" y="2.54" length="middle" direction="pwr"/>+ <pin name="INT_1" x="-22.86" y="0" length="middle" direction="out"/>+ <pin name="GND@2" x="-22.86" y="-2.54" length="middle" direction="pwr"/>+ <pin name="GND@3" x="-22.86" y="-5.08" length="middle" direction="pwr"/>+ <pin name="GND@4" x="-22.86" y="-7.62" length="middle" direction="pwr"/>+ <pin name="SPC_/_SCL" x="-22.86" y="-10.16" length="middle" direction="in"/>+ <pin name="CS" x="-22.86" y="-12.7" length="middle" direction="in"/>+ <pin name="Reserved@2" x="-22.86" y="-15.24" length="middle" direction="pas"/>+ <pin name="EP" x="22.86" y="12.7" length="middle" direction="pas" rot="R180"/>+ <pin name="NC@3" x="22.86" y="10.16" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@4" x="22.86" y="7.62" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@5" x="22.86" y="5.08" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@6" x="22.86" y="2.54" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@7" x="22.86" y="0" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@8" x="22.86" y="-2.54" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@9" x="22.86" y="-5.08" length="middle" direction="nc" rot="R180"/>+ <pin name="NC@10" x="22.86" y="-7.62" length="middle" direction="nc" rot="R180"/>+ <pin name="SDI_/_SDO_/_SDA" x="22.86" y="-10.16" length="middle" direction="io" rot="R180"/>+ <pin name="SDO/SA0" x="22.86" y="-12.7" length="middle" direction="io" rot="R180"/>+ <pin name="VDD_IO" x="22.86" y="-15.24" length="middle" direction="pwr" rot="R180"/> </symbol> </symbols> <devicesets> <deviceset name="AIS328DQTR" prefix="U">- <description></description>+ <description>STMicroelectronics Accelerometers, QFN-24-EP(4x4). Pinout cross-checked by two models against the datasheet</description> <gates> <gate name="G$1" symbol="AIS328DQTR" x="0" y="0"/> </gates>@@ -173,7 +174,17 @@ <connect gate="G$1" pin="SDO/SA0" pad="15"/> <connect gate="G$1" pin="VDD_IO" pad="14"/> </connects>- <technologies><technology name=""/></technologies>+ <technologies>+ <technology name="">+ <attribute name="MPN" value="AIS328DQTR" constant="no"/>+ <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>+ <attribute name="DATASHEET" value="https://jlcpcb.com/api/file/downloadByFileSystemAccessId/8588931829223473153" constant="no"/>+ <attribute name="ADOM_WIKI" value="https://wiki.adom.inc/adom/ais328dqtr" constant="no"/>+ <attribute name="MOUSER_PN" value="511-AIS328DQTR" constant="no"/>+ <attribute name="DIGIKEY_PN" value="497-13219-2-ND" constant="no"/>+ <attribute name="LCSC_PN" value="C2655069" 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='NC'><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'>NC</text><g class='pingroup' data-num='2' data-name='NC'><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'>NC</text><g class='pingroup' data-num='3' data-name='INT_2'><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'>INT_2</text><g class='pingroup' data-num='4' data-name='Reserved'><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'>Reserved</text><g class='pingroup' data-num='5' data-name='VDD'><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'>VDD</text><g class='pingroup' data-num='6' data-name='GND'><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'>GND</text><g class='pingroup' data-num='7' data-name='INT_1'><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'>INT_1</text><g class='pingroup' data-num='8' data-name='GND'><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'>GND</text><g class='pingroup' data-num='9' data-name='GND'><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'>GND</text><g class='pingroup' data-num='10' data-name='GND'><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'>GND</text><g class='pingroup' data-num='11' data-name='SPC / SCL'><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'>SPC / SCL</text><g class='pingroup' data-num='12' data-name='CS'><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'>CS</text><g class='pingroup' data-num='13' data-name='Reserved'><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'>Reserved</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='NC'><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'>NC</text><g class='pingroup' data-num='23' data-name='NC'><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'>NC</text><g class='pingroup' data-num='22' data-name='NC'><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'>NC</text><g class='pingroup' data-num='21' data-name='NC'><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'>NC</text><g class='pingroup' data-num='20' data-name='NC'><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'>NC</text><g class='pingroup' data-num='19' data-name='NC'><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'>NC</text><g class='pingroup' data-num='18' data-name='NC'><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'>NC</text><g class='pingroup' data-num='17' data-name='NC'><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'>NC</text><g class='pingroup' data-num='16' data-name='SDI / SDO / SDA'><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'>SDI / SDO / SDA</text><g class='pingroup' data-num='15' data-name='SDO/SA0'><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'>SDO/SA0</text><g class='pingroup' data-num='14' data-name='VDD_IO'><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'>VDD_IO</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-950 -750 1900 1500' style='width:100%;height:100%'><rect x='-700.0' y='-700.0' width='1400.0' height='1400.0' fill='#e35d5d22' stroke='#e35d5d' stroke-width='4'/><g class='pingroup' data-num='1' data-name='NC'><line class='pinvis' x1='-900.0' y1='-600.0' x2='-700.0' y2='-600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-600.0' x2='-700.0' y2='-600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='-555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>1</text><text x='-670.0' y='-600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>NC</text><g class='pingroup' data-num='2' data-name='NC'><line class='pinvis' x1='-900.0' y1='-500.0' x2='-700.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-500.0' x2='-700.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='-455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>2</text><text x='-670.0' y='-500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>NC</text><g class='pingroup' data-num='3' data-name='INT_2'><line class='pinvis' x1='-900.0' y1='-400.0' x2='-700.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-400.0' x2='-700.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='-355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>3</text><text x='-670.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>INT_2</text><g class='pingroup' data-num='4' data-name='Reserved'><line class='pinvis' x1='-900.0' y1='-300.0' x2='-700.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-300.0' x2='-700.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='-255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>4</text><text x='-670.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>Reserved</text><g class='pingroup' data-num='5' data-name='VDD'><line class='pinvis' x1='-900.0' y1='-200.0' x2='-700.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-200.0' x2='-700.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='-155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>5</text><text x='-670.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>VDD</text><g class='pingroup' data-num='6' data-name='GND'><line class='pinvis' x1='-900.0' y1='-100.0' x2='-700.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-100.0' x2='-700.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='-55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>6</text><text x='-670.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='7' data-name='INT_1'><line class='pinvis' x1='-900.0' y1='-0.0' x2='-700.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='-0.0' x2='-700.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>7</text><text x='-670.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>INT_1</text><g class='pingroup' data-num='8' data-name='GND'><line class='pinvis' x1='-900.0' y1='100.0' x2='-700.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='100.0' x2='-700.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>8</text><text x='-670.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='9' data-name='GND'><line class='pinvis' x1='-900.0' y1='200.0' x2='-700.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='200.0' x2='-700.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>9</text><text x='-670.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='10' data-name='GND'><line class='pinvis' x1='-900.0' y1='300.0' x2='-700.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='300.0' x2='-700.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>10</text><text x='-670.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>GND</text><g class='pingroup' data-num='11' data-name='SPC / SCL'><line class='pinvis' x1='-900.0' y1='400.0' x2='-700.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='400.0' x2='-700.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>11</text><text x='-670.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>SPC / SCL</text><g class='pingroup' data-num='12' data-name='CS'><line class='pinvis' x1='-900.0' y1='500.0' x2='-700.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='500.0' x2='-700.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>12</text><text x='-670.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>CS</text><g class='pingroup' data-num='13' data-name='Reserved'><line class='pinvis' x1='-900.0' y1='600.0' x2='-700.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='-900.0' y1='600.0' x2='-700.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='-800.0' y='645.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>13</text><text x='-670.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='start' dominant-baseline='central'>Reserved</text><g class='pingroup' data-num='25' data-name='EP'><line class='pinvis' x1='900.0' y1='-500.0' x2='700.0' y2='-500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='-500.0' x2='700.0' y2='-500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='-545.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>25</text><text x='670.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='NC'><line class='pinvis' x1='900.0' y1='-400.0' x2='700.0' y2='-400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='-400.0' x2='700.0' y2='-400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='-445.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>24</text><text x='670.0' y='-400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='23' data-name='NC'><line class='pinvis' x1='900.0' y1='-300.0' x2='700.0' y2='-300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='-300.0' x2='700.0' y2='-300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='-345.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>23</text><text x='670.0' y='-300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='22' data-name='NC'><line class='pinvis' x1='900.0' y1='-200.0' x2='700.0' y2='-200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='-200.0' x2='700.0' y2='-200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='-245.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>22</text><text x='670.0' y='-200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='21' data-name='NC'><line class='pinvis' x1='900.0' y1='-100.0' x2='700.0' y2='-100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='-100.0' x2='700.0' y2='-100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='-145.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>21</text><text x='670.0' y='-100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='20' data-name='NC'><line class='pinvis' x1='900.0' y1='-0.0' x2='700.0' y2='-0.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='-0.0' x2='700.0' y2='-0.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='-45.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>20</text><text x='670.0' y='0.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='19' data-name='NC'><line class='pinvis' x1='900.0' y1='100.0' x2='700.0' y2='100.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='100.0' x2='700.0' y2='100.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='55.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>19</text><text x='670.0' y='100.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='18' data-name='NC'><line class='pinvis' x1='900.0' y1='200.0' x2='700.0' y2='200.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='200.0' x2='700.0' y2='200.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='155.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>18</text><text x='670.0' y='200.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='17' data-name='NC'><line class='pinvis' x1='900.0' y1='300.0' x2='700.0' y2='300.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='300.0' x2='700.0' y2='300.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='255.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>17</text><text x='670.0' y='300.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>NC</text><g class='pingroup' data-num='16' data-name='SDI / SDO / SDA'><line class='pinvis' x1='900.0' y1='400.0' x2='700.0' y2='400.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='400.0' x2='700.0' y2='400.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='355.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>16</text><text x='670.0' y='400.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SDI / SDO / SDA</text><g class='pingroup' data-num='15' data-name='SDO/SA0'><line class='pinvis' x1='900.0' y1='500.0' x2='700.0' y2='500.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='500.0' x2='700.0' y2='500.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='455.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>15</text><text x='670.0' y='500.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>SDO/SA0</text><g class='pingroup' data-num='14' data-name='VDD_IO'><line class='pinvis' x1='900.0' y1='600.0' x2='700.0' y2='600.0' stroke='#dfe4ec' stroke-width='4'/><line x1='900.0' y1='600.0' x2='700.0' y2='600.0' stroke='transparent' stroke-width='26' pointer-events='stroke'/></g><text x='800.0' y='555.0' font-size='60' fill='#9fb0c8' text-anchor='middle' dominant-baseline='central'>14</text><text x='670.0' y='600.0' font-size='60' fill='#e6e9ef' text-anchor='end' dominant-baseline='central'>VDD_IO</text></svg></div> <div id=tip></div> <script> var KIND="symbol", MPN="ADOM/AIS328DQTR", PINS=[{"desc":"","name":"NC","number":"1","type":""},{"desc":"","name":"NC","number":"2","type":""},{"desc":"","name":"INT_2","number":"3","type":""},{"desc":"","name":"Reserved","number":"4","type":""},{"desc":"","name":"VDD","number":"5","type":""},{"desc":"","name":"GND","number":"6","type":""},{"desc":"","name":"INT_1","number":"7","type":""},{"desc":"","name":"GND","number":"8","type":""},{"desc":"","name":"GND","number":"9","type":""},{"desc":"","name":"GND","number":"10","type":""},{"desc":"","name":"SPC / SCL","number":"11","type":""},{"desc":"","name":"CS","number":"12","type":""},{"desc":"","name":"Reserved","number":"13","type":""},{"desc":"","name":"EP","number":"25","type":""},{"desc":"","name":"NC","number":"24","type":""},{"desc":"","name":"NC","number":"23","type":""},{"desc":"","name":"NC","number":"22","type":""},{"desc":"","name":"NC","number":"21","type":""},{"desc":"","name":"NC","number":"20","type":""},{"desc":"","name":"NC","number":"19","type":""},{"desc":"","name":"NC","number":"18","type":""},{"desc":"","name":"NC","number":"17","type":""},{"desc":"","name":"SDI / SDO / SDA","number":"16","type":""},{"desc":"","name":"SDO/SA0","number":"15","type":""},{"desc":"","name":"VDD_IO","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);});