component
STM8L051F3P6TR
Public Made by Adomby adom
STMicroelectronics Microcontrollers (MCU/MPU/SOC), TSSOP-20. Pinout extracted from the datasheet, KiCad symbol/footprint/3D.
← Commit history
pin 1: carry the footprint's marker into the .lbr, the viewer and page.json (silk-marker, drawn, top-left)
5 files changed
+662−3
package.json+2−1@@ -24,6 +24,7 @@ "docs/hero.png", "docs/stm8l051f3p6tr-datasheet.pdf", "viewers/symbol.html",- "viewers/footprint.html"+ "viewers/footprint.html",+ "pads.json" ] }
pads.jsonadded+647@@ -0,0 +1,647 @@+{+ "schema": "adom.pads/1",+ "slug": "stm8l051f3p6tr",+ "footprint": "TSSOP-20_4.4x6.5mm_P0.65mm",+ "generated_from": {+ "footprint": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+ "pins": "page.json:component.pins",+ "overrides": null+ },+ "pin1": {+ "pad": "1",+ "at": [+ -2.8625,+ -2.925+ ],+ "corner": "top-left",+ "source": "silk-marker",+ "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122"+ },+ "pad_count": 20,+ "symbol_pins": [+ "1",+ "10",+ "11",+ "12",+ "13",+ "14",+ "15",+ "16",+ "17",+ "18",+ "19",+ "2",+ "20",+ "3",+ "4",+ "5",+ "6",+ "7",+ "8",+ "9"+ ],+ "paste_apertures": 0,+ "issues": [],+ "pads": [+ {+ "pad": "1",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "1",+ "name": "PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1",+ "type": "bidirectional",+ "description": "Port C bit 5 general-purpose I/O (5 V tolerant not indicated; high-sink 20 mA output). Alternate functions: LSE oscillator input (OSC32_IN), remappable SPI1_NSS or USART_TX, and TIM2 channel 1 capture/compare.",+ "is_pin1": true,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "2",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "2",+ "name": "PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2",+ "type": "bidirectional",+ "description": "Port C bit 6 general-purpose I/O (high-sink 20 mA). Alternate functions: LSE oscillator output (OSC32_OUT), remappable SPI clock or USART_RX, and TIM2 channel 2 capture/compare.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "3",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "3",+ "name": "PA0/[USART_CK]/SWIM/BEEP/IR_TIM",+ "type": "bidirectional",+ "description": "Port A bit 0 general-purpose I/O with high-sink LED-driver capability. Serves as the SWIM single-wire debug/programming pin, and provides BEEP output, IR timer output, or optional USART synchronous clock.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "4",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "4",+ "name": "NRST/PA1",+ "type": "bidirectional",+ "description": "Active-low device reset input with internal pull-up (high-sink output when used as GPIO). Can be reconfigured via option byte as general-purpose PA1 output (open-drain or push-pull); do not use as a general-purpose input.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "5",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ -0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "5",+ "name": "PA2/OSC_IN/[USART_TX]/[SPI_MISO]",+ "type": "bidirectional",+ "description": "Port A bit 2 general-purpose I/O (high-sink 20 mA). Alternate functions: HSE crystal oscillator input (OSC_IN), remappable USART transmit or SPI master-in/slave-out.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "6",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "6",+ "name": "PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]",+ "type": "bidirectional",+ "description": "Port A bit 3 general-purpose I/O (high-sink 20 mA). Alternate functions: HSE crystal oscillator output (OSC_OUT), remappable USART receive or SPI master-out/slave-in.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "7",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "7",+ "name": "VSS/VSSA/VREF-",+ "type": "power_in",+ "description": "Combined digital ground, analog ground and ADC1 negative reference. Tie to system ground (0 V).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "8",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "8",+ "name": "VDD/VDDA/VREF+",+ "type": "power_in",+ "description": "Combined digital supply, analog supply and ADC1 positive voltage reference. 1.8 V to 3.6 V operating range; decouple locally.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "9",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "9",+ "name": "PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22",+ "type": "bidirectional",+ "description": "Port D bit 0 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM3 channel 2 capture/compare, remappable ADC1 external trigger input, and ADC1 analog input channel 22.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "10",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ -2.8625,+ 2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "10",+ "name": "PB0/TIM2_CH1/ADC1_IN18",+ "type": "bidirectional",+ "description": "Port B bit 0 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM2 channel 1 capture/compare and ADC1 analog input channel 18.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "11",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "11",+ "name": "PB1/TIM3_CH1/ADC1_IN17",+ "type": "bidirectional",+ "description": "Port B bit 1 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM3 channel 1 capture/compare and ADC1 analog input channel 17.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "12",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "12",+ "name": "PB2/TIM2_CH2/ADC1_IN16",+ "type": "bidirectional",+ "description": "Port B bit 2 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM2 channel 2 capture/compare and ADC1 analog input channel 16.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "13",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "13",+ "name": "PB3/TIM2_ETR/ADC1_IN15/RTC_ALARM",+ "type": "bidirectional",+ "description": "Port B bit 3 general-purpose I/O (high-sink 20 mA). Alternate functions: TIM2 external trigger, ADC1 analog input channel 15, and RTC alarm output.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "14",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "14",+ "name": "PB4/SPI1_NSS/ADC1_IN14",+ "type": "bidirectional",+ "description": "Port B bit 4 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 master/slave select (NSS) and ADC1 analog input channel 14.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "15",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ 0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "15",+ "name": "PB5/SPI_SCK/ADC1_IN13",+ "type": "bidirectional",+ "description": "Port B bit 5 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 clock and ADC1 analog input channel 13.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "16",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -0.325+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "16",+ "name": "PB6/SPI1_MOSI/ADC1_IN12",+ "type": "bidirectional",+ "description": "Port B bit 6 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 master-out/slave-in (MOSI) and ADC1 analog input channel 12.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "17",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -0.975+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "17",+ "name": "PB7/SPI1_MISO/ADC1_IN11",+ "type": "bidirectional",+ "description": "Port B bit 7 general-purpose I/O (high-sink 20 mA). Alternate functions: SPI1 master-in/slave-out (MISO) and ADC1 analog input channel 11.",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "18",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -1.625+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "18",+ "name": "PC0/I2C_SDA",+ "type": "bidirectional",+ "description": "Port C bit 0 general-purpose I/O, 5 V tolerant (FT), true open-drain output only. Alternate function: I2C1 data line (SDA).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "19",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -2.275+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "19",+ "name": "PC1/I2C_SCL",+ "type": "bidirectional",+ "description": "Port C bit 1 general-purpose I/O, 5 V tolerant (FT), true open-drain output only. Alternate function: I2C1 clock line (SCL).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ },+ {+ "pad": "20",+ "kind": "smd",+ "shape": "roundrect",+ "at": [+ 2.8625,+ -2.925+ ],+ "rot": 0.0,+ "size": [+ 1.475,+ 0.4+ ],+ "layers": [+ "F.Cu",+ "F.Mask",+ "F.Paste"+ ],+ "thermal": false,+ "pin": "20",+ "name": "PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4",+ "type": "bidirectional",+ "description": "Port C bit 4 general-purpose I/O (high-sink 20 mA). Alternate functions: USART synchronous clock, I2C SMBus alert, configurable clock output (CCO), and ADC1 analog input channel 4 (fast channel).",+ "is_pin1": false,+ "source": {+ "geometry": "TSSOP-20_4.4x6.5mm_P0.65mm.kicad_mod",+ "meaning": "page.json:component.pins",+ "correspondence": "kicad: symbol pin number == pad name"+ }+ }+ ]+}
page.json+11@@ -168,6 +168,17 @@ "viewers": { "symbol": "viewers/symbol.html", "footprint": "viewers/footprint.html"+ },+ "pin1": {+ "pad": "1",+ "at": [+ -2.8625,+ -2.925+ ],+ "corner": "top-left",+ "source": "silk-marker",+ "derived_from": "TSSOP-20_4.4x6.5mm_P0.65mm@sha256:b7ca3a31dd45c122",+ "mark": "drawn" } }, "metadata": {
stm8l051f3p6tr.lbr+1−1@@ -78,7 +78,7 @@ <wire x1="2.3100" y1="-3.3850" x2="-2.3100" y2="-3.3850" width="0.1200" layer="21"/> <text x="0" y="4.262" size="1.27" layer="25" align="bottom-center">>NAME</text> <text x="0" y="-4.262" size="1.27" layer="27" align="top-center">>VALUE</text>-</package>+<!--adom-pin1--><polygon width="0.0500" layer="21"><vertex x="-3.8600" y="2.9300"/><vertex x="-4.1900" y="2.6900"/><vertex x="-4.1900" y="3.1700"/></polygon></package> </packages> <symbols> <symbol name="STM8L051F3P6TR">
viewers/footprint.html+1−1@@ -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>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='-4.250 -3.900 8.500 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-3.385' x2='2.310' y2='-3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='3.385' x2='-2.310' y2='3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-3.380' x2='-2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='3.380' x2='-3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.500' x2='2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.380' x2='-2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.380' x2='-3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.500' x2='-2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.500' x2='2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.380' x2='3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.380' x2='2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.500' x2='-2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-3.380' x2='3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='3.380' x2='2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1' x='-3.600' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.925' 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='PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2' x='-3.600' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>2</text><rect class='ly-copper pad' data-num='3' data-name='PA0/[USART_CK]/SWIM/BEEP/IR_TIM' x='-3.600' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>3</text><rect class='ly-copper pad' data-num='4' data-name='NRST/PA1' x='-3.600' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>4</text><rect class='ly-copper pad' data-num='5' data-name='PA2/OSC_IN/[USART_TX]/[SPI_MISO]' x='-3.600' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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='PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]' x='-3.600' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>6</text><rect class='ly-copper pad' data-num='7' data-name='VSS/VSSA/VREF-' x='-3.600' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>7</text><rect class='ly-copper pad' data-num='8' data-name='VDD/VDDA/VREF+' x='-3.600' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>8</text><rect class='ly-copper pad' data-num='9' data-name='PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22' x='-3.600' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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='PB0/TIM2_CH1/ADC1_IN18' x='-3.600' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.925' 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='PB1/TIM3_CH1/ADC1_IN17' x='2.125' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.925' 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='PB2/TIM2_CH2/ADC1_IN16' x='2.125' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>12</text><rect class='ly-copper pad' data-num='13' data-name='PB3/TIM2_ETR/ADC1_IN15/RTC_ALARM' x='2.125' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>13</text><rect class='ly-copper pad' data-num='14' data-name='PB4/SPI1_NSS/ADC1_IN14' x='2.125' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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='PB5/SPI_SCK/ADC1_IN13' x='2.125' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>15</text><rect class='ly-copper pad' data-num='16' data-name='PB6/SPI1_MOSI/ADC1_IN12' x='2.125' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>16</text><rect class='ly-copper pad' data-num='17' data-name='PB7/SPI1_MISO/ADC1_IN11' x='2.125' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>17</text><rect class='ly-copper pad' data-num='18' data-name='PC0/I2C_SDA' x='2.125' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>18</text><rect class='ly-copper pad' data-num='19' data-name='PC1/I2C_SCL' x='2.125' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>19</text><rect class='ly-copper pad' data-num='20' data-name='PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4' x='2.125' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>20</text></svg></div>+<div class=stage id=stage><svg xmlns='http://www.w3.org/2000/svg' viewBox='-4.250 -3.900 8.500 7.800' style='width:100%;height:100%'><line class='ly-silk' x1='-2.310' y1='-3.385' x2='2.310' y2='-3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-silk' x1='2.310' y1='3.385' x2='-2.310' y2='3.385' stroke='#d8b4fe' stroke-width='0.120'/><line class='ly-courtyard' x1='-3.850' y1='-3.380' x2='-2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-3.850' y1='3.380' x2='-3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.500' x2='2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='-3.380' x2='-2.450' y2='-3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.380' x2='-3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='-2.450' y1='3.500' x2='-2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.500' x2='2.450' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='-3.380' x2='3.850' y2='-3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.380' x2='2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='2.450' y1='3.500' x2='-2.450' y2='3.500' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='-3.380' x2='3.850' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><line class='ly-courtyard' x1='3.850' y1='3.380' x2='2.450' y2='3.380' stroke='#4ade80' stroke-width='0.050'/><rect class='ly-copper pad' data-num='1' data-name='PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1' x='-3.600' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='-2.925' 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='PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2' x='-3.600' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>2</text><rect class='ly-copper pad' data-num='3' data-name='PA0/[USART_CK]/SWIM/BEEP/IR_TIM' x='-3.600' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>3</text><rect class='ly-copper pad' data-num='4' data-name='NRST/PA1' x='-3.600' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>4</text><rect class='ly-copper pad' data-num='5' data-name='PA2/OSC_IN/[USART_TX]/[SPI_MISO]' x='-3.600' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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='PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]' x='-3.600' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>6</text><rect class='ly-copper pad' data-num='7' data-name='VSS/VSSA/VREF-' x='-3.600' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>7</text><rect class='ly-copper pad' data-num='8' data-name='VDD/VDDA/VREF+' x='-3.600' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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'>8</text><rect class='ly-copper pad' data-num='9' data-name='PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22' x='-3.600' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' 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='PB0/TIM2_CH1/ADC1_IN18' x='-3.600' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='-2.862' y='2.925' 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='PB1/TIM3_CH1/ADC1_IN17' x='2.125' y='2.725' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='2.925' 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='PB2/TIM2_CH2/ADC1_IN16' x='2.125' y='2.075' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>12</text><rect class='ly-copper pad' data-num='13' data-name='PB3/TIM2_ETR/ADC1_IN15/RTC_ALARM' x='2.125' y='1.425' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>13</text><rect class='ly-copper pad' data-num='14' data-name='PB4/SPI1_NSS/ADC1_IN14' x='2.125' y='0.775' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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='PB5/SPI_SCK/ADC1_IN13' x='2.125' y='0.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>15</text><rect class='ly-copper pad' data-num='16' data-name='PB6/SPI1_MOSI/ADC1_IN12' x='2.125' y='-0.525' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>16</text><rect class='ly-copper pad' data-num='17' data-name='PB7/SPI1_MISO/ADC1_IN11' x='2.125' y='-1.175' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>17</text><rect class='ly-copper pad' data-num='18' data-name='PC0/I2C_SDA' x='2.125' y='-1.825' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>18</text><rect class='ly-copper pad' data-num='19' data-name='PC1/I2C_SCL' x='2.125' y='-2.475' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' 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'>19</text><rect class='ly-copper pad' data-num='20' data-name='PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4' x='2.125' y='-3.125' width='1.475' height='0.400' rx='0.100' fill='#f59e0b' stroke='#00000033' stroke-width='0.03' opacity='0.94'/><text class='padnum' x='2.862' y='-2.925' font-size='0.350' fill='#1c1206' text-anchor='middle' dominant-baseline='central' pointer-events='none' font-family='ui-monospace,monospace' font-weight='700'>20</text><polygon class='ly-silk adom-pin1' points='-3.860,-2.930 -4.190,-2.690 -4.190,-3.170' fill='#d8b4fe' stroke='none'><title>pin 1</title></polygon></svg></div> <div id=tip></div> <script> var KIND="footprint", MPN="RAY/STM8L051F3P6TR", PINS=[{"desc":"","name":"PC5/OSC32_IN/[SPI1_NSS]/[USART_TX]/TIM2_CH1","number":"1","type":""},{"desc":"","name":"PC6/OSC32_OUT/[SPI_SCK]/[USART_RX]/TIM2_CH2","number":"2","type":""},{"desc":"","name":"PA0/[USART_CK]/SWIM/BEEP/IR_TIM","number":"3","type":""},{"desc":"","name":"NRST/PA1","number":"4","type":""},{"desc":"","name":"PA2/OSC_IN/[USART_TX]/[SPI_MISO]","number":"5","type":""},{"desc":"","name":"PA3/OSC_OUT/[USART_RX]/[SPI_MOSI]","number":"6","type":""},{"desc":"","name":"VSS/VSSA/VREF-","number":"7","type":""},{"desc":"","name":"VDD/VDDA/VREF+","number":"8","type":""},{"desc":"","name":"PD0/TIM3_CH2/[ADC1_TRIG]/ADC1_IN22","number":"9","type":""},{"desc":"","name":"PB0/TIM2_CH1/ADC1_IN18","number":"10","type":""},{"desc":"","name":"PC4/USART_CK/I2C_SMB/CCO/ADC1_IN4","number":"20","type":""},{"desc":"","name":"PC1/I2C_SCL","number":"19","type":""},{"desc":"","name":"PC0/I2C_SDA","number":"18","type":""},{"desc":"","name":"PB7/SPI1_MISO/ADC1_IN11","number":"17","type":""},{"desc":"","name":"PB6/SPI1_MOSI/ADC1_IN12","number":"16","type":""},{"desc":"","name":"PB5/SPI_SCK/ADC1_IN13","number":"15","type":""},{"desc":"","name":"PB4/SPI1_NSS/ADC1_IN14","number":"14","type":""},{"desc":"","name":"PB3/TIM2_ETR/ADC1_IN15/RTC_ALARM","number":"13","type":""},{"desc":"","name":"PB2/TIM2_CH2/ADC1_IN16","number":"12","type":""},{"desc":"","name":"PB1/TIM3_CH1/ADC1_IN17","number":"11","type":""}];