component
STM32F103C8T6 - Arm Cortex-M3 MCU (Blue Pill)
Public Made by Adomby adom
STMicroelectronics mainstream Arm Cortex-M3 MCU. 72 MHz, 64 KB Flash, 20 KB SRAM, USB, CAN, LQFP-48. The workhorse Blue Pill microcontroller.
← Commit history
readme: Library view now embeds the adom-lbr per-slot symbol+footprint viewers via iframes, with a cross-highlight relay to the pin table
1 file changed
+15−34
readme.html+15−34@@ -47,8 +47,10 @@ td{padding:7px 12px;border-bottom:1px solid var(--border);vertical-align:top}td. @media(max-width:900px){.pinout{grid-template-columns:1fr}} .vizcard{background:var(--surface);border:1px solid var(--border);border-radius:12px;padding:14px} .vizcard .vt{font-size:10.5px;text-transform:uppercase;letter-spacing:.06em;color:var(--text-2);margin-bottom:8px;font-family:'Familjen Grotesk';font-weight:600}-.symwrap{width:230px}.fpwrap{width:300px}-@media(max-width:900px){.symwrap,.fpwrap{width:100%;max-width:340px}}+.symwrap{width:300px}.fpwrap{width:340px}+@media(max-width:900px){.symwrap,.fpwrap{width:100%;max-width:360px}}+.vframe{width:100%;height:400px;border:1px solid var(--border);border-radius:8px;background:#0d1117;display:block}+.fpwrap .vframe{height:420px} .symsvg{width:100%;height:auto;display:block} .sbody{fill:#141a22;stroke:var(--accent);stroke-width:1;opacity:.9} .spline{stroke:var(--text-2);stroke-width:1.1}@@ -112,14 +114,8 @@ tr[data-pin].hl td,tr[data-pin].hl td.data{color:var(--text)} <h2 id=pinout>Library view <span class=s>hover any pin, pad, or row — symbol, footprint, and pin map light up together with the datasheet function</span></h2> <div class=pinout>- <div class="vizcard symwrap"><div class=vt>Schematic symbol</div><svg viewBox="0 0 279 599" class="symsvg" xmlns="http://www.w3.org/2000/svg"><rect class="sbody" x="32.8" y="32.8" width="213.4" height="533.4" rx="4" /><g class="sp" data-pin="1" data-name="VBAT" data-type="power in" data-short="Backup battery supply for RTC and backup registers."><rect class="sphit" x="94.9" y="13.0" width="18" height="61.8" /><line class="spline" x1="103.9" y1="15.0" x2="103.9" y2="32.8" /><circle class="spdot" cx="103.9" cy="15.0" r="1.1" /><text class="spname" x="103.9" y="37.8" text-anchor="end" transform="rotate(-90 103.9 37.8)">VBAT</text><text class="spnum" x="100.9" y="23.9">1</text></g><g class="sp" data-pin="2" data-name="PC13-TAMPER-RTC" data-type="bidirectional" data-short="GPIO port C bit 13, muxed with TAMPER input and RTC output."><rect class="sphit" x="13.0" y="183.8" width="61.8" height="18" /><line class="spline" x1="15.0" y1="192.8" x2="32.8" y2="192.8" /><circle class="spdot" cx="15.0" cy="192.8" r="1.1" /><text class="spname" x="36.8" y="192.8" text-anchor="start">PC13</text><text class="spnum" x="23.9" y="189.8">2</text></g><g class="sp" data-pin="3" data-name="PC14-OSC32_IN" data-type="bidirectional" data-short="GPIO port C bit 14, muxed with 32 kHz LSE oscillator input (OSC32_IN)."><rect class="sphit" x="13.0" y="201.6" width="61.8" height="18" /><line class="spline" x1="15.0" y1="210.6" x2="32.8" y2="210.6" /><circle class="spdot" cx="15.0" cy="210.6" r="1.1" /><text class="spname" x="36.8" y="210.6" text-anchor="start">PC14</text><text class="spnum" x="23.9" y="207.6">3</text></g><g class="sp" data-pin="4" data-name="PC15-OSC32_OUT" data-type="bidirectional" data-short="GPIO port C bit 15, muxed with 32 kHz LSE oscillator output (OSC32_OUT)."><rect class="sphit" x="13.0" y="219.4" width="61.8" height="18" /><line class="spline" x1="15.0" y1="228.4" x2="32.8" y2="228.4" /><circle class="spdot" cx="15.0" cy="228.4" r="1.1" /><text class="spname" x="36.8" y="228.4" text-anchor="start">PC15</text><text class="spnum" x="23.9" y="225.4">4</text></g><g class="sp" data-pin="5" data-name="PD0-OSC_IN" data-type="bidirectional" data-short="HSE crystal oscillator input (OSC_IN) after reset; remappable to GPIO PD0 by software."><rect class="sphit" x="13.0" y="130.5" width="61.8" height="18" /><line class="spline" x1="15.0" y1="139.5" x2="32.8" y2="139.5" /><circle class="spdot" cx="15.0" cy="139.5" r="1.1" /><text class="spname" x="36.8" y="139.5" text-anchor="start">PD0</text><text class="spnum" x="23.9" y="136.5">5</text></g><g class="sp" data-pin="6" data-name="PD1-OSC_OUT" data-type="bidirectional" data-short="HSE crystal oscillator output (OSC_OUT) after reset; remappable to GPIO PD1 by software."><rect class="sphit" x="13.0" y="148.2" width="61.8" height="18" /><line class="spline" x1="15.0" y1="157.2" x2="32.8" y2="157.2" /><circle class="spdot" cx="15.0" cy="157.2" r="1.1" /><text class="spname" x="36.8" y="157.2" text-anchor="start">PD1</text><text class="spnum" x="23.9" y="154.2">6</text></g><g class="sp" data-pin="7" data-name="NRST" data-type="bidirectional" data-short="Active-low bidirectional device reset."><rect class="sphit" x="13.0" y="59.3" width="61.8" height="18" /><line class="spline" x1="15.0" y1="68.3" x2="32.8" y2="68.3" /><circle class="spdot" cx="15.0" cy="68.3" r="1.1" /><text class="spname" x="36.8" y="68.3" text-anchor="start">NRST</text><text class="spnum" x="23.9" y="65.3">7</text></g><g class="sp" data-pin="8" data-name="VSSA" data-type="power in" data-short="Analog ground reference for ADC, reset block, PLL, and analog peripherals."><rect class="sphit" x="148.2" y="524.2" width="18" height="61.8" /><line class="spline" x1="157.2" y1="584.0" x2="157.2" y2="566.2" /><circle class="spdot" cx="157.2" cy="584.0" r="1.1" /><text class="spname" x="157.2" y="561.2" text-anchor="start" transform="rotate(-90 157.2 561.2)">VSSA</text><text class="spnum" x="154.2" y="575.1">8</text></g><g class="sp" data-pin="9" data-name="VDDA" data-type="power in" data-short="Analog supply for ADC, reset block, PLL, and analog I/O."><rect class="sphit" x="166.0" y="13.0" width="18" height="61.8" /><line class="spline" x1="175.0" y1="15.0" x2="175.0" y2="32.8" /><circle class="spdot" cx="175.0" cy="15.0" r="1.1" /><text class="spname" x="175.0" y="37.8" text-anchor="end" transform="rotate(-90 175.0 37.8)">VDDA</text><text class="spnum" x="172.0" y="23.9">9</text></g><g class="sp" data-pin="10" data-name="PA0-WKUP" data-type="bidirectional" data-short="GPIO port A bit 0, 5 V-tolerant when configured as digital input."><rect class="sphit" x="204.1" y="59.3" width="61.8" height="18" /><line class="spline" x1="263.9" y1="68.3" x2="246.1" y2="68.3" /><circle class="spdot" cx="263.9" cy="68.3" r="1.1" /><text class="spname" x="242.1" y="68.3" text-anchor="end">PA0</text><text class="spnum" x="255.0" y="65.3">10</text></g><g class="sp" data-pin="11" data-name="PA1" data-type="bidirectional" data-short="GPIO port A bit 1."><rect class="sphit" x="204.1" y="77.1" width="61.8" height="18" /><line class="spline" x1="263.9" y1="86.1" x2="246.1" y2="86.1" /><circle class="spdot" cx="263.9" cy="86.1" r="1.1" /><text class="spname" x="242.1" y="86.1" text-anchor="end">PA1</text><text class="spnum" x="255.0" y="83.1">11</text></g><g class="sp" data-pin="12" data-name="PA2" data-type="bidirectional" data-short="GPIO port A bit 2."><rect class="sphit" x="204.1" y="94.9" width="61.8" height="18" /><line class="spline" x1="263.9" y1="103.9" x2="246.1" y2="103.9" /><circle class="spdot" cx="263.9" cy="103.9" r="1.1" /><text class="spname" x="242.1" y="103.9" text-anchor="end">PA2</text><text class="spnum" x="255.0" y="100.9">12</text></g><g class="sp" data-pin="13" data-name="PA3" data-type="bidirectional" data-short="GPIO port A bit 3."><rect class="sphit" x="204.1" y="112.7" width="61.8" height="18" /><line class="spline" x1="263.9" y1="121.7" x2="246.1" y2="121.7" /><circle class="spdot" cx="263.9" cy="121.7" r="1.1" /><text class="spname" x="242.1" y="121.7" text-anchor="end">PA3</text><text class="spnum" x="255.0" y="118.7">13</text></g><g class="sp" data-pin="14" data-name="PA4" data-type="bidirectional" data-short="GPIO port A bit 4."><rect class="sphit" x="204.1" y="130.5" width="61.8" height="18" /><line class="spline" x1="263.9" y1="139.5" x2="246.1" y2="139.5" /><circle class="spdot" cx="263.9" cy="139.5" r="1.1" /><text class="spname" x="242.1" y="139.5" text-anchor="end">PA4</text><text class="spnum" x="255.0" y="136.5">14</text></g><g class="sp" data-pin="15" data-name="PA5" data-type="bidirectional" data-short="GPIO port A bit 5."><rect class="sphit" x="204.1" y="148.2" width="61.8" height="18" /><line class="spline" x1="263.9" y1="157.2" x2="246.1" y2="157.2" /><circle class="spdot" cx="263.9" cy="157.2" r="1.1" /><text class="spname" x="242.1" y="157.2" text-anchor="end">PA5</text><text class="spnum" x="255.0" y="154.2">15</text></g><g class="sp" data-pin="16" data-name="PA6" data-type="bidirectional" data-short="GPIO port A bit 6."><rect class="sphit" x="204.1" y="166.0" width="61.8" height="18" /><line class="spline" x1="263.9" y1="175.0" x2="246.1" y2="175.0" /><circle class="spdot" cx="263.9" cy="175.0" r="1.1" /><text class="spname" x="242.1" y="175.0" text-anchor="end">PA6</text><text class="spnum" x="255.0" y="172.0">16</text></g><g class="sp" data-pin="17" data-name="PA7" data-type="bidirectional" data-short="GPIO port A bit 7."><rect class="sphit" x="204.1" y="183.8" width="61.8" height="18" /><line class="spline" x1="263.9" y1="192.8" x2="246.1" y2="192.8" /><circle class="spdot" cx="263.9" cy="192.8" r="1.1" /><text class="spname" x="242.1" y="192.8" text-anchor="end">PA7</text><text class="spnum" x="255.0" y="189.8">17</text></g><g class="sp" data-pin="18" data-name="PB0" data-type="bidirectional" data-short="GPIO port B bit 0."><rect class="sphit" x="13.0" y="254.9" width="61.8" height="18" /><line class="spline" x1="15.0" y1="263.9" x2="32.8" y2="263.9" /><circle class="spdot" cx="15.0" cy="263.9" r="1.1" /><text class="spname" x="36.8" y="263.9" text-anchor="start">PB0</text><text class="spnum" x="23.9" y="260.9">18</text></g><g class="sp" data-pin="19" data-name="PB1" data-type="bidirectional" data-short="GPIO port B bit 1."><rect class="sphit" x="13.0" y="272.7" width="61.8" height="18" /><line class="spline" x1="15.0" y1="281.7" x2="32.8" y2="281.7" /><circle class="spdot" cx="15.0" cy="281.7" r="1.1" /><text class="spname" x="36.8" y="281.7" text-anchor="start">PB1</text><text class="spnum" x="23.9" y="278.7">19</text></g><g class="sp" data-pin="20" data-name="PB2" data-type="bidirectional" data-short="GPIO port B bit 2, 5 V-tolerant."><rect class="sphit" x="13.0" y="290.5" width="61.8" height="18" /><line class="spline" x1="15.0" y1="299.5" x2="32.8" y2="299.5" /><circle class="spdot" cx="15.0" cy="299.5" r="1.1" /><text class="spname" x="36.8" y="299.5" text-anchor="start">PB2</text><text class="spnum" x="23.9" y="296.5">20</text></g><g class="sp" data-pin="21" data-name="PB10" data-type="bidirectional" data-short="GPIO port B bit 10, 5 V-tolerant."><rect class="sphit" x="13.0" y="432.7" width="61.8" height="18" /><line class="spline" x1="15.0" y1="441.7" x2="32.8" y2="441.7" /><circle class="spdot" cx="15.0" cy="441.7" r="1.1" /><text class="spname" x="36.8" y="441.7" text-anchor="start">PB10</text><text class="spnum" x="23.9" y="438.7">21</text></g><g class="sp" data-pin="22" data-name="PB11" data-type="bidirectional" data-short="GPIO port B bit 11, 5 V-tolerant."><rect class="sphit" x="13.0" y="450.5" width="61.8" height="18" /><line class="spline" x1="15.0" y1="459.5" x2="32.8" y2="459.5" /><circle class="spdot" cx="15.0" cy="459.5" r="1.1" /><text class="spname" x="36.8" y="459.5" text-anchor="start">PB11</text><text class="spnum" x="23.9" y="456.5">22</text></g><g class="sp" data-pin="23" data-name="VSS_1" data-type="power in" data-short="Digital ground, group 1."><rect class="sphit" x="130.5" y="524.2" width="18" height="61.8" /><line class="spline" x1="139.5" y1="584.0" x2="139.5" y2="566.2" /><circle class="spdot" cx="139.5" cy="584.0" r="1.1" /><text class="spname" x="139.5" y="561.2" text-anchor="start" transform="rotate(-90 139.5 561.2)">VSS</text><text class="spnum" x="136.5" y="575.1">23</text></g><g class="sp" data-pin="24" data-name="VDD_1" data-type="power in" data-short="Digital supply, group 1."><rect class="sphit" x="112.7" y="13.0" width="18" height="61.8" /><line class="spline" x1="121.7" y1="15.0" x2="121.7" y2="32.8" /><circle class="spdot" cx="121.7" cy="15.0" r="1.1" /><text class="spname" x="121.7" y="37.8" text-anchor="end" transform="rotate(-90 121.7 37.8)">VDD</text><text class="spnum" x="118.7" y="23.9">24</text></g><g class="sp" data-pin="25" data-name="PB12" data-type="bidirectional" data-short="GPIO port B bit 12, 5 V-tolerant."><rect class="sphit" x="13.0" y="468.3" width="61.8" height="18" /><line class="spline" x1="15.0" y1="477.3" x2="32.8" y2="477.3" /><circle class="spdot" cx="15.0" cy="477.3" r="1.1" /><text class="spname" x="36.8" y="477.3" text-anchor="start">PB12</text><text class="spnum" x="23.9" y="474.3">25</text></g><g class="sp" data-pin="26" data-name="PB13" data-type="bidirectional" data-short="GPIO port B bit 13, 5 V-tolerant."><rect class="sphit" x="13.0" y="486.1" width="61.8" height="18" /><line class="spline" x1="15.0" y1="495.1" x2="32.8" y2="495.1" /><circle class="spdot" cx="15.0" cy="495.1" r="1.1" /><text class="spname" x="36.8" y="495.1" text-anchor="start">PB13</text><text class="spnum" x="23.9" y="492.1">26</text></g><g class="sp" data-pin="27" data-name="PB14" data-type="bidirectional" data-short="GPIO port B bit 14, 5 V-tolerant."><rect class="sphit" x="13.0" y="503.8" width="61.8" height="18" /><line class="spline" x1="15.0" y1="512.8" x2="32.8" y2="512.8" /><circle class="spdot" cx="15.0" cy="512.8" r="1.1" /><text class="spname" x="36.8" y="512.8" text-anchor="start">PB14</text><text class="spnum" x="23.9" y="509.8">27</text></g><g class="sp" data-pin="28" data-name="PB15" data-type="bidirectional" data-short="GPIO port B bit 15, 5 V-tolerant."><rect class="sphit" x="13.0" y="521.6" width="61.8" height="18" /><line class="spline" x1="15.0" y1="530.6" x2="32.8" y2="530.6" /><circle class="spdot" cx="15.0" cy="530.6" r="1.1" /><text class="spname" x="36.8" y="530.6" text-anchor="start">PB15</text><text class="spnum" x="23.9" y="527.6">28</text></g><g class="sp" data-pin="29" data-name="PA8" data-type="bidirectional" data-short="GPIO port A bit 8, 5 V-tolerant."><rect class="sphit" x="204.1" y="201.6" width="61.8" height="18" /><line class="spline" x1="263.9" y1="210.6" x2="246.1" y2="210.6" /><circle class="spdot" cx="263.9" cy="210.6" r="1.1" /><text class="spname" x="242.1" y="210.6" text-anchor="end">PA8</text><text class="spnum" x="255.0" y="207.6">29</text></g><g class="sp" data-pin="30" data-name="PA9" data-type="bidirectional" data-short="GPIO port A bit 9, 5 V-tolerant."><rect class="sphit" x="204.1" y="219.4" width="61.8" height="18" /><line class="spline" x1="263.9" y1="228.4" x2="246.1" y2="228.4" /><circle class="spdot" cx="263.9" cy="228.4" r="1.1" /><text class="spname" x="242.1" y="228.4" text-anchor="end">PA9</text><text class="spnum" x="255.0" y="225.4">30</text></g><g class="sp" data-pin="31" data-name="PA10" data-type="bidirectional" data-short="GPIO port A bit 10, 5 V-tolerant."><rect class="sphit" x="204.1" y="237.1" width="61.8" height="18" /><line class="spline" x1="263.9" y1="246.1" x2="246.1" y2="246.1" /><circle class="spdot" cx="263.9" cy="246.1" r="1.1" /><text class="spname" x="242.1" y="246.1" text-anchor="end">PA10</text><text class="spnum" x="255.0" y="243.1">31</text></g><g class="sp" data-pin="32" data-name="PA11" data-type="bidirectional" data-short="GPIO port A bit 11, 5 V-tolerant."><rect class="sphit" x="204.1" y="254.9" width="61.8" height="18" /><line class="spline" x1="263.9" y1="263.9" x2="246.1" y2="263.9" /><circle class="spdot" cx="263.9" cy="263.9" r="1.1" /><text class="spname" x="242.1" y="263.9" text-anchor="end">PA11</text><text class="spnum" x="255.0" y="260.9">32</text></g><g class="sp" data-pin="33" data-name="PA12" data-type="bidirectional" data-short="GPIO port A bit 12, 5 V-tolerant."><rect class="sphit" x="204.1" y="272.7" width="61.8" height="18" /><line class="spline" x1="263.9" y1="281.7" x2="246.1" y2="281.7" /><circle class="spdot" cx="263.9" cy="281.7" r="1.1" /><text class="spname" x="242.1" y="281.7" text-anchor="end">PA12</text><text class="spnum" x="255.0" y="278.7">33</text></g><g class="sp" data-pin="34" data-name="PA13" data-type="bidirectional" data-short="GPIO port A bit 13, 5 V-tolerant."><rect class="sphit" x="204.1" y="290.5" width="61.8" height="18" /><line class="spline" x1="263.9" y1="299.5" x2="246.1" y2="299.5" /><circle class="spdot" cx="263.9" cy="299.5" r="1.1" /><text class="spname" x="242.1" y="299.5" text-anchor="end">PA13</text><text class="spnum" x="255.0" y="296.5">34</text></g><g class="sp" data-pin="35" data-name="VSS_2" data-type="power in" data-short="Digital ground, group 2."><rect class="sphit" x="130.5" y="524.2" width="18" height="61.8" /><line class="spline" x1="139.5" y1="584.0" x2="139.5" y2="566.2" /><circle class="spdot" cx="139.5" cy="584.0" r="1.1" /><text class="spname" x="139.5" y="561.2" text-anchor="start" transform="rotate(-90 139.5 561.2)">VSS</text><text class="spnum" x="136.5" y="575.1">35</text></g><g class="sp" data-pin="36" data-name="VDD_2" data-type="power in" data-short="Digital supply, group 2."><rect class="sphit" x="130.5" y="13.0" width="18" height="61.8" /><line class="spline" x1="139.5" y1="15.0" x2="139.5" y2="32.8" /><circle class="spdot" cx="139.5" cy="15.0" r="1.1" /><text class="spname" x="139.5" y="37.8" text-anchor="end" transform="rotate(-90 139.5 37.8)">VDD</text><text class="spnum" x="136.5" y="23.9">36</text></g><g class="sp" data-pin="37" data-name="PA14" data-type="bidirectional" data-short="GPIO port A bit 14, 5 V-tolerant."><rect class="sphit" x="204.1" y="308.3" width="61.8" height="18" /><line class="spline" x1="263.9" y1="317.3" x2="246.1" y2="317.3" /><circle class="spdot" cx="263.9" cy="317.3" r="1.1" /><text class="spname" x="242.1" y="317.3" text-anchor="end">PA14</text><text class="spnum" x="255.0" y="314.3">37</text></g><g class="sp" data-pin="38" data-name="PA15" data-type="bidirectional" data-short="GPIO port A bit 15, 5 V-tolerant."><rect class="sphit" x="204.1" y="326.0" width="61.8" height="18" /><line class="spline" x1="263.9" y1="335.0" x2="246.1" y2="335.0" /><circle class="spdot" cx="263.9" cy="335.0" r="1.1" /><text class="spname" x="242.1" y="335.0" text-anchor="end">PA15</text><text class="spnum" x="255.0" y="332.0">38</text></g><g class="sp" data-pin="39" data-name="PB3" data-type="bidirectional" data-short="GPIO port B bit 3, 5 V-tolerant."><rect class="sphit" x="13.0" y="308.3" width="61.8" height="18" /><line class="spline" x1="15.0" y1="317.3" x2="32.8" y2="317.3" /><circle class="spdot" cx="15.0" cy="317.3" r="1.1" /><text class="spname" x="36.8" y="317.3" text-anchor="start">PB3</text><text class="spnum" x="23.9" y="314.3">39</text></g><g class="sp" data-pin="40" data-name="PB4" data-type="bidirectional" data-short="GPIO port B bit 4, 5 V-tolerant."><rect class="sphit" x="13.0" y="326.0" width="61.8" height="18" /><line class="spline" x1="15.0" y1="335.0" x2="32.8" y2="335.0" /><circle class="spdot" cx="15.0" cy="335.0" r="1.1" /><text class="spname" x="36.8" y="335.0" text-anchor="start">PB4</text><text class="spnum" x="23.9" y="332.0">40</text></g><g class="sp" data-pin="41" data-name="PB5" data-type="bidirectional" data-short="GPIO port B bit 5 (NOT 5 V-tolerant on this pin)."><rect class="sphit" x="13.0" y="343.8" width="61.8" height="18" /><line class="spline" x1="15.0" y1="352.8" x2="32.8" y2="352.8" /><circle class="spdot" cx="15.0" cy="352.8" r="1.1" /><text class="spname" x="36.8" y="352.8" text-anchor="start">PB5</text><text class="spnum" x="23.9" y="349.8">41</text></g><g class="sp" data-pin="42" data-name="PB6" data-type="bidirectional" data-short="GPIO port B bit 6, 5 V-tolerant."><rect class="sphit" x="13.0" y="361.6" width="61.8" height="18" /><line class="spline" x1="15.0" y1="370.6" x2="32.8" y2="370.6" /><circle class="spdot" cx="15.0" cy="370.6" r="1.1" /><text class="spname" x="36.8" y="370.6" text-anchor="start">PB6</text><text class="spnum" x="23.9" y="367.6">42</text></g><g class="sp" data-pin="43" data-name="PB7" data-type="bidirectional" data-short="GPIO port B bit 7, 5 V-tolerant."><rect class="sphit" x="13.0" y="379.4" width="61.8" height="18" /><line class="spline" x1="15.0" y1="388.4" x2="32.8" y2="388.4" /><circle class="spdot" cx="15.0" cy="388.4" r="1.1" /><text class="spname" x="36.8" y="388.4" text-anchor="start">PB7</text><text class="spnum" x="23.9" y="385.4">43</text></g><g class="sp" data-pin="44" data-name="BOOT0" data-type="input" data-short="Boot mode selection input sampled at reset (with BOOT1/PB2): selects boot from Flash, System memory (bootloader), or embedded SRAM."><rect class="sphit" x="13.0" y="94.9" width="61.8" height="18" /><line class="spline" x1="15.0" y1="103.9" x2="32.8" y2="103.9" /><circle class="spdot" cx="15.0" cy="103.9" r="1.1" /><text class="spname" x="36.8" y="103.9" text-anchor="start">BOOT0</text><text class="spnum" x="23.9" y="100.9">44</text></g><g class="sp" data-pin="45" data-name="PB8" data-type="bidirectional" data-short="GPIO port B bit 8, 5 V-tolerant."><rect class="sphit" x="13.0" y="397.2" width="61.8" height="18" /><line class="spline" x1="15.0" y1="406.2" x2="32.8" y2="406.2" /><circle class="spdot" cx="15.0" cy="406.2" r="1.1" /><text class="spname" x="36.8" y="406.2" text-anchor="start">PB8</text><text class="spnum" x="23.9" y="403.2">45</text></g><g class="sp" data-pin="46" data-name="PB9" data-type="bidirectional" data-short="GPIO port B bit 9, 5 V-tolerant."><rect class="sphit" x="13.0" y="414.9" width="61.8" height="18" /><line class="spline" x1="15.0" y1="423.9" x2="32.8" y2="423.9" /><circle class="spdot" cx="15.0" cy="423.9" r="1.1" /><text class="spname" x="36.8" y="423.9" text-anchor="start">PB9</text><text class="spnum" x="23.9" y="420.9">46</text></g><g class="sp" data-pin="47" data-name="VSS_3" data-type="power in" data-short="Digital ground, group 3."><rect class="sphit" x="130.5" y="524.2" width="18" height="61.8" /><line class="spline" x1="139.5" y1="584.0" x2="139.5" y2="566.2" /><circle class="spdot" cx="139.5" cy="584.0" r="1.1" /><text class="spname" x="139.5" y="561.2" text-anchor="start" transform="rotate(-90 139.5 561.2)">VSS</text><text class="spnum" x="136.5" y="575.1">47</text></g><g class="sp" data-pin="48" data-name="VDD_3" data-type="power in" data-short="Digital supply, group 3."><rect class="sphit" x="148.2" y="13.0" width="18" height="61.8" /><line class="spline" x1="157.2" y1="15.0" x2="157.2" y2="32.8" /><circle class="spdot" cx="157.2" cy="15.0" r="1.1" /><text class="spname" x="157.2" y="37.8" text-anchor="end" transform="rotate(-90 157.2 37.8)">VDD</text><text class="spnum" x="154.2" y="23.9">48</text></g></svg></div>- <div class="vizcard fpwrap"><div class=vt>PCB footprint</div>- <div class=lyrbar>- <button class="lyrtog on" data-lyr=lyr-cu><span class="ld cu"></span>Copper</button>- <button class="lyrtog on" data-lyr=lyr-silk><span class="ld silk"></span>Silkscreen</button>- <button class="lyrtog" data-lyr=lyr-fab><span class="ld fab"></span>Fab</button>- <button class="lyrtog" data-lyr=lyr-crtyd><span class="ld crtyd"></span>Courtyard</button>- </div><svg viewBox="0 0 333 333" class="fpsvg" xmlns="http://www.w3.org/2000/svg"><g class="lyr lyr-crtyd lyr-hidden"><line x1="12.0" y1="72.0" x2="54.0" y2="72.0" /><line x1="12.0" y1="261.0" x2="12.0" y2="72.0" /><line x1="54.0" y1="54.0" x2="72.0" y2="54.0" /><line x1="54.0" y1="72.0" x2="54.0" y2="54.0" /><line x1="54.0" y1="261.0" x2="12.0" y2="261.0" /><line x1="54.0" y1="279.0" x2="54.0" y2="261.0" /><line x1="72.0" y1="12.0" x2="261.0" y2="12.0" /><line x1="72.0" y1="54.0" x2="72.0" y2="12.0" /><line x1="72.0" y1="279.0" x2="54.0" y2="279.0" /><line x1="72.0" y1="321.0" x2="72.0" y2="279.0" /><line x1="261.0" y1="12.0" x2="261.0" y2="54.0" /><line x1="261.0" y1="54.0" x2="279.0" y2="54.0" /><line x1="261.0" y1="279.0" x2="261.0" y2="321.0" /><line x1="261.0" y1="321.0" x2="72.0" y2="321.0" /><line x1="279.0" y1="54.0" x2="279.0" y2="72.0" /><line x1="279.0" y1="72.0" x2="321.0" y2="72.0" /><line x1="279.0" y1="261.0" x2="279.0" y2="279.0" /><line x1="279.0" y1="279.0" x2="261.0" y2="279.0" /><line x1="321.0" y1="72.0" x2="321.0" y2="261.0" /><line x1="321.0" y1="261.0" x2="279.0" y2="261.0" /></g><g class="lyr lyr-fab lyr-hidden"><polygon points="91.5,61.5 271.5,61.5 271.5,271.5 61.5,271.5 61.5,91.5" /></g><g class="lyr lyr-silk"><line x1="58.2" y1="58.2" x2="71.7" y2="58.2" /><line x1="58.2" y1="71.7" x2="58.2" y2="58.2" /><line x1="58.2" y1="274.8" x2="58.2" y2="261.3" /><line x1="71.7" y1="274.8" x2="58.2" y2="274.8" /><line x1="261.3" y1="58.2" x2="274.8" y2="58.2" /><line x1="274.8" y1="58.2" x2="274.8" y2="71.7" /><line x1="274.8" y1="261.3" x2="274.8" y2="274.8" /><line x1="274.8" y1="274.8" x2="261.3" y2="274.8" /><polygon points="39.0,71.7 28.8,57.6 49.2,57.6" /></g><g class="lyr lyr-cu"><g class="fp" data-pin="1" data-name="VBAT" data-type="power in" data-short="Backup battery supply for RTC and backup registers."><rect class="fpad" x="19.5" y="79.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="84.0">1</text></g><g class="fp" data-pin="2" data-name="PC13-TAMPER-RTC" data-type="bidirectional" data-short="GPIO port C bit 13, muxed with TAMPER input and RTC output."><rect class="fpad" x="19.5" y="94.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="99.0">2</text></g><g class="fp" data-pin="3" data-name="PC14-OSC32_IN" data-type="bidirectional" data-short="GPIO port C bit 14, muxed with 32 kHz LSE oscillator input (OSC32_IN)."><rect class="fpad" x="19.5" y="109.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="114.0">3</text></g><g class="fp" data-pin="4" data-name="PC15-OSC32_OUT" data-type="bidirectional" data-short="GPIO port C bit 15, muxed with 32 kHz LSE oscillator output (OSC32_OUT)."><rect class="fpad" x="19.5" y="124.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="129.0">4</text></g><g class="fp" data-pin="5" data-name="PD0-OSC_IN" data-type="bidirectional" data-short="HSE crystal oscillator input (OSC_IN) after reset; remappable to GPIO PD0 by software."><rect class="fpad" x="19.5" y="139.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="144.0">5</text></g><g class="fp" data-pin="6" data-name="PD1-OSC_OUT" data-type="bidirectional" data-short="HSE crystal oscillator output (OSC_OUT) after reset; remappable to GPIO PD1 by software."><rect class="fpad" x="19.5" y="154.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="159.0">6</text></g><g class="fp" data-pin="7" data-name="NRST" data-type="bidirectional" data-short="Active-low bidirectional device reset."><rect class="fpad" x="19.5" y="169.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="174.0">7</text></g><g class="fp" data-pin="8" data-name="VSSA" data-type="power in" data-short="Analog ground reference for ADC, reset block, PLL, and analog peripherals."><rect class="fpad" x="19.5" y="184.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="189.0">8</text></g><g class="fp" data-pin="9" data-name="VDDA" data-type="power in" data-short="Analog supply for ADC, reset block, PLL, and analog I/O."><rect class="fpad" x="19.5" y="199.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="204.0">9</text></g><g class="fp" data-pin="10" data-name="PA0-WKUP" data-type="bidirectional" data-short="GPIO port A bit 0, 5 V-tolerant when configured as digital input."><rect class="fpad" x="19.5" y="214.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="219.0">10</text></g><g class="fp" data-pin="11" data-name="PA1" data-type="bidirectional" data-short="GPIO port A bit 1."><rect class="fpad" x="19.5" y="229.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="234.0">11</text></g><g class="fp" data-pin="12" data-name="PA2" data-type="bidirectional" data-short="GPIO port A bit 2."><rect class="fpad" x="19.5" y="244.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="41.6" y="249.0">12</text></g><g class="fp" data-pin="13" data-name="PA3" data-type="bidirectional" data-short="GPIO port A bit 3."><rect class="fpad" x="79.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="84.0" y="291.4">13</text></g><g class="fp" data-pin="14" data-name="PA4" data-type="bidirectional" data-short="GPIO port A bit 4."><rect class="fpad" x="94.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="99.0" y="291.4">14</text></g><g class="fp" data-pin="15" data-name="PA5" data-type="bidirectional" data-short="GPIO port A bit 5."><rect class="fpad" x="109.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="114.0" y="291.4">15</text></g><g class="fp" data-pin="16" data-name="PA6" data-type="bidirectional" data-short="GPIO port A bit 6."><rect class="fpad" x="124.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="129.0" y="291.4">16</text></g><g class="fp" data-pin="17" data-name="PA7" data-type="bidirectional" data-short="GPIO port A bit 7."><rect class="fpad" x="139.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="144.0" y="291.4">17</text></g><g class="fp" data-pin="18" data-name="PB0" data-type="bidirectional" data-short="GPIO port B bit 0."><rect class="fpad" x="154.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="159.0" y="291.4">18</text></g><g class="fp" data-pin="19" data-name="PB1" data-type="bidirectional" data-short="GPIO port B bit 1."><rect class="fpad" x="169.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="174.0" y="291.4">19</text></g><g class="fp" data-pin="20" data-name="PB2" data-type="bidirectional" data-short="GPIO port B bit 2, 5 V-tolerant."><rect class="fpad" x="184.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="189.0" y="291.4">20</text></g><g class="fp" data-pin="21" data-name="PB10" data-type="bidirectional" data-short="GPIO port B bit 10, 5 V-tolerant."><rect class="fpad" x="199.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="204.0" y="291.4">21</text></g><g class="fp" data-pin="22" data-name="PB11" data-type="bidirectional" data-short="GPIO port B bit 11, 5 V-tolerant."><rect class="fpad" x="214.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="219.0" y="291.4">22</text></g><g class="fp" data-pin="23" data-name="VSS_1" data-type="power in" data-short="Digital ground, group 1."><rect class="fpad" x="229.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="234.0" y="291.4">23</text></g><g class="fp" data-pin="24" data-name="VDD_1" data-type="power in" data-short="Digital supply, group 1."><rect class="fpad" x="244.5" y="269.3" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="249.0" y="291.4">24</text></g><g class="fp" data-pin="25" data-name="PB12" data-type="bidirectional" data-short="GPIO port B bit 12, 5 V-tolerant."><rect class="fpad" x="269.3" y="244.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="249.0">25</text></g><g class="fp" data-pin="26" data-name="PB13" data-type="bidirectional" data-short="GPIO port B bit 13, 5 V-tolerant."><rect class="fpad" x="269.3" y="229.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="234.0">26</text></g><g class="fp" data-pin="27" data-name="PB14" data-type="bidirectional" data-short="GPIO port B bit 14, 5 V-tolerant."><rect class="fpad" x="269.3" y="214.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="219.0">27</text></g><g class="fp" data-pin="28" data-name="PB15" data-type="bidirectional" data-short="GPIO port B bit 15, 5 V-tolerant."><rect class="fpad" x="269.3" y="199.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="204.0">28</text></g><g class="fp" data-pin="29" data-name="PA8" data-type="bidirectional" data-short="GPIO port A bit 8, 5 V-tolerant."><rect class="fpad" x="269.3" y="184.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="189.0">29</text></g><g class="fp" data-pin="30" data-name="PA9" data-type="bidirectional" data-short="GPIO port A bit 9, 5 V-tolerant."><rect class="fpad" x="269.3" y="169.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="174.0">30</text></g><g class="fp" data-pin="31" data-name="PA10" data-type="bidirectional" data-short="GPIO port A bit 10, 5 V-tolerant."><rect class="fpad" x="269.3" y="154.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="159.0">31</text></g><g class="fp" data-pin="32" data-name="PA11" data-type="bidirectional" data-short="GPIO port A bit 11, 5 V-tolerant."><rect class="fpad" x="269.3" y="139.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="144.0">32</text></g><g class="fp" data-pin="33" data-name="PA12" data-type="bidirectional" data-short="GPIO port A bit 12, 5 V-tolerant."><rect class="fpad" x="269.3" y="124.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="129.0">33</text></g><g class="fp" data-pin="34" data-name="PA13" data-type="bidirectional" data-short="GPIO port A bit 13, 5 V-tolerant."><rect class="fpad" x="269.3" y="109.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="114.0">34</text></g><g class="fp" data-pin="35" data-name="VSS_2" data-type="power in" data-short="Digital ground, group 2."><rect class="fpad" x="269.3" y="94.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="99.0">35</text></g><g class="fp" data-pin="36" data-name="VDD_2" data-type="power in" data-short="Digital supply, group 2."><rect class="fpad" x="269.3" y="79.5" width="44.3" height="9.0" rx="1.5" /><text class="fnum" x="291.4" y="84.0">36</text></g><g class="fp" data-pin="37" data-name="PA14" data-type="bidirectional" data-short="GPIO port A bit 14, 5 V-tolerant."><rect class="fpad" x="244.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="249.0" y="41.6">37</text></g><g class="fp" data-pin="38" data-name="PA15" data-type="bidirectional" data-short="GPIO port A bit 15, 5 V-tolerant."><rect class="fpad" x="229.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="234.0" y="41.6">38</text></g><g class="fp" data-pin="39" data-name="PB3" data-type="bidirectional" data-short="GPIO port B bit 3, 5 V-tolerant."><rect class="fpad" x="214.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="219.0" y="41.6">39</text></g><g class="fp" data-pin="40" data-name="PB4" data-type="bidirectional" data-short="GPIO port B bit 4, 5 V-tolerant."><rect class="fpad" x="199.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="204.0" y="41.6">40</text></g><g class="fp" data-pin="41" data-name="PB5" data-type="bidirectional" data-short="GPIO port B bit 5 (NOT 5 V-tolerant on this pin)."><rect class="fpad" x="184.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="189.0" y="41.6">41</text></g><g class="fp" data-pin="42" data-name="PB6" data-type="bidirectional" data-short="GPIO port B bit 6, 5 V-tolerant."><rect class="fpad" x="169.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="174.0" y="41.6">42</text></g><g class="fp" data-pin="43" data-name="PB7" data-type="bidirectional" data-short="GPIO port B bit 7, 5 V-tolerant."><rect class="fpad" x="154.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="159.0" y="41.6">43</text></g><g class="fp" data-pin="44" data-name="BOOT0" data-type="input" data-short="Boot mode selection input sampled at reset (with BOOT1/PB2): selects boot from Flash, System memory (bootloader), or embedded SRAM."><rect class="fpad" x="139.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="144.0" y="41.6">44</text></g><g class="fp" data-pin="45" data-name="PB8" data-type="bidirectional" data-short="GPIO port B bit 8, 5 V-tolerant."><rect class="fpad" x="124.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="129.0" y="41.6">45</text></g><g class="fp" data-pin="46" data-name="PB9" data-type="bidirectional" data-short="GPIO port B bit 9, 5 V-tolerant."><rect class="fpad" x="109.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="114.0" y="41.6">46</text></g><g class="fp" data-pin="47" data-name="VSS_3" data-type="power in" data-short="Digital ground, group 3."><rect class="fpad" x="94.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="99.0" y="41.6">47</text></g><g class="fp" data-pin="48" data-name="VDD_3" data-type="power in" data-short="Digital supply, group 3."><rect class="fpad" x="79.5" y="19.5" width="9.0" height="44.3" rx="1.5" /><text class="fnum" x="84.0" y="41.6">48</text></g></g><circle class="fp1" cx="79.5" cy="79.5" r="4" /></svg></div>+ <div class="vizcard symwrap"><div class=vt>Schematic symbol</div><iframe class=vframe id=vf-symbol title="Schematic symbol viewer" src="https://wiki.adom.inc/blob/component/stm32f103c8t6/viewers/symbol.html"></iframe></div>+ <div class="vizcard fpwrap"><div class=vt>PCB footprint</div><iframe class=vframe id=vf-footprint title="PCB footprint viewer" src="https://wiki.adom.inc/blob/component/stm32f103c8t6/viewers/footprint.html"></iframe></div> <div class=pintbl><div class=pingroup><h3>POWER <span style="color:var(--text-3);font-weight:400">(9)</span></h3><table><thead><tr><th style=width:44px>Pin</th><th style=width:170px>Name</th><th style=width:70px>Type</th><th>Function (datasheet)</th></tr></thead><tbody><tr data-pin="1"><td class=data>1</td><td class=data>VBAT</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Backup battery supply for RTC and backup registers. Typical operating range 1.8 to 3.6 V. Supplies the RTC and backup domain when VDD is off.</td></tr><tr data-pin="8"><td class=data>8</td><td class=data>VSSA</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Analog ground reference for ADC, reset block, PLL, and analog peripherals. Connect to digital ground at a single point.</td></tr><tr data-pin="9"><td class=data>9</td><td class=data>VDDA</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Analog supply for ADC, reset block, PLL, and analog I/O. 2.0 to 3.6 V. Decouple with 1 µF + 10 nF close to the pin.</td></tr><tr data-pin="23"><td class=data>23</td><td class=data>VSS_1</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Digital ground, group 1. Connect to the ground plane; keep short return path to VDD_1 decoupling.</td></tr><tr data-pin="24"><td class=data>24</td><td class=data>VDD_1</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Digital supply, group 1. 2.0 to 3.6 V. Decouple with 100 nF close to the pin.</td></tr><tr data-pin="35"><td class=data>35</td><td class=data>VSS_2</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Digital ground, group 2. Connect to the ground plane; pair with VDD_2 decoupling.</td></tr><tr data-pin="36"><td class=data>36</td><td class=data>VDD_2</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Digital supply, group 2. 2.0 to 3.6 V. Decouple with 100 nF close to the pin.</td></tr><tr data-pin="47"><td class=data>47</td><td class=data>VSS_3</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Digital ground, group 3. Connect to the ground plane; pair with VDD_3 decoupling.</td></tr><tr data-pin="48"><td class=data>48</td><td class=data>VDD_3</td><td><span class="tbadge t-power">Power</span></td><td class=note style="color:var(--text-2)">Digital supply, group 3. 2.0 to 3.6 V. Decouple with 100 nF close to the pin.</td></tr></tbody></table></div><div class=pingroup><h3>GPIO <span style="color:var(--text-3);font-weight:400">(26)</span></h3><table><thead><tr><th style=width:44px>Pin</th><th style=width:170px>Name</th><th style=width:70px>Type</th><th>Function (datasheet)</th></tr></thead><tbody><tr data-pin="2"><td class=data>2</td><td class=data>PC13-TAMPER-RTC</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port C bit 13, muxed with TAMPER input and RTC output. Supplied through the backup power switch (limited to 3 mA sink); output speed limited to 2 MHz with max 30 pF load; must not source current.</td></tr><tr data-pin="10"><td class=data>10</td><td class=data>PA0-WKUP</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 0, 5 V-tolerant when configured as digital input. Alternate functions: standby WKUP, USART2_CTS (remap), ADC12_IN0, TIM2_CH1_ETR.</td></tr><tr data-pin="11"><td class=data>11</td><td class=data>PA1</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 1. Alternate functions: USART2_RTS, ADC12_IN1, TIM2_CH2.</td></tr><tr data-pin="12"><td class=data>12</td><td class=data>PA2</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 2. Alternate functions: USART2_TX, ADC12_IN2, TIM2_CH3.</td></tr><tr data-pin="13"><td class=data>13</td><td class=data>PA3</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 3. Alternate functions: USART2_RX, ADC12_IN3, TIM2_CH4.</td></tr><tr data-pin="14"><td class=data>14</td><td class=data>PA4</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 4. Alternate functions: SPI1_NSS, USART2_CK, ADC12_IN4.</td></tr><tr data-pin="15"><td class=data>15</td><td class=data>PA5</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 5. Alternate functions: SPI1_SCK, ADC12_IN5.</td></tr><tr data-pin="16"><td class=data>16</td><td class=data>PA6</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 6. Alternate functions: SPI1_MISO, ADC12_IN6, TIM3_CH1; remap: TIM1_BKIN.</td></tr><tr data-pin="17"><td class=data>17</td><td class=data>PA7</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 7. Alternate functions: SPI1_MOSI, ADC12_IN7, TIM3_CH2; remap: TIM1_CH1N.</td></tr><tr data-pin="18"><td class=data>18</td><td class=data>PB0</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 0. Alternate functions: ADC12_IN8, TIM3_CH3; remap: TIM1_CH2N.</td></tr><tr data-pin="19"><td class=data>19</td><td class=data>PB1</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 1. Alternate functions: ADC12_IN9, TIM3_CH4; remap: TIM1_CH3N.</td></tr><tr data-pin="20"><td class=data>20</td><td class=data>PB2</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 2, 5 V-tolerant. Doubles as BOOT1 boot mode selection input sampled at reset.</td></tr><tr data-pin="21"><td class=data>21</td><td class=data>PB10</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 10, 5 V-tolerant. Alternate functions: I2C2_SCL, USART3_TX; remap: TIM2_CH3.</td></tr><tr data-pin="22"><td class=data>22</td><td class=data>PB11</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 11, 5 V-tolerant. Alternate functions: I2C2_SDA, USART3_RX; remap: TIM2_CH4.</td></tr><tr data-pin="25"><td class=data>25</td><td class=data>PB12</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 12, 5 V-tolerant. Alternate functions: SPI2_NSS, I2C2_SMBAl, USART3_CK, TIM1_BKIN.</td></tr><tr data-pin="26"><td class=data>26</td><td class=data>PB13</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 13, 5 V-tolerant. Alternate functions: SPI2_SCK, USART3_CTS, TIM1_CH1N.</td></tr><tr data-pin="27"><td class=data>27</td><td class=data>PB14</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 14, 5 V-tolerant. Alternate functions: SPI2_MISO, USART3_RTS, TIM1_CH2N.</td></tr><tr data-pin="28"><td class=data>28</td><td class=data>PB15</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 15, 5 V-tolerant. Alternate functions: SPI2_MOSI, TIM1_CH3N.</td></tr><tr data-pin="29"><td class=data>29</td><td class=data>PA8</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 8, 5 V-tolerant. Alternate functions: USART1_CK, TIM1_CH1, MCO (master clock output).</td></tr><tr data-pin="30"><td class=data>30</td><td class=data>PA9</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 9, 5 V-tolerant. Alternate functions: USART1_TX, TIM1_CH2.</td></tr><tr data-pin="31"><td class=data>31</td><td class=data>PA10</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 10, 5 V-tolerant. Alternate functions: USART1_RX, TIM1_CH3.</td></tr><tr data-pin="41"><td class=data>41</td><td class=data>PB5</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 5 (NOT 5 V-tolerant on this pin). Alternate functions: I2C1_SMBAl; remap: TIM3_CH2, SPI1_MOSI.</td></tr><tr data-pin="42"><td class=data>42</td><td class=data>PB6</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 6, 5 V-tolerant. Alternate functions: I2C1_SCL, TIM4_CH1; remap: USART1_TX.</td></tr><tr data-pin="43"><td class=data>43</td><td class=data>PB7</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 7, 5 V-tolerant. Alternate functions: I2C1_SDA, TIM4_CH2; remap: USART1_RX.</td></tr><tr data-pin="45"><td class=data>45</td><td class=data>PB8</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 8, 5 V-tolerant. Alternate functions: TIM4_CH3; remap: I2C1_SCL, CANRX.</td></tr><tr data-pin="46"><td class=data>46</td><td class=data>PB9</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 9, 5 V-tolerant. Alternate functions: TIM4_CH4; remap: I2C1_SDA, CANTX.</td></tr></tbody></table></div><div class=pingroup><h3>TIMING <span style="color:var(--text-3);font-weight:400">(4)</span></h3><table><thead><tr><th style=width:44px>Pin</th><th style=width:170px>Name</th><th style=width:70px>Type</th><th>Function (datasheet)</th></tr></thead><tbody><tr data-pin="3"><td class=data>3</td><td class=data>PC14-OSC32_IN</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port C bit 14, muxed with 32 kHz LSE oscillator input (OSC32_IN). Backup-domain pin routed through the power switch; same 2 MHz / 30 pF drive limitation as PC13.</td></tr><tr data-pin="4"><td class=data>4</td><td class=data>PC15-OSC32_OUT</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port C bit 15, muxed with 32 kHz LSE oscillator output (OSC32_OUT). Backup-domain pin routed through the power switch; same 2 MHz / 30 pF drive limitation as PC13/PC14.</td></tr><tr data-pin="5"><td class=data>5</td><td class=data>PD0-OSC_IN</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">HSE crystal oscillator input (OSC_IN) after reset; remappable to GPIO PD0 by software. In GPIO mode limited to 50 MHz output. Connect to 4-16 MHz crystal or external clock.</td></tr><tr data-pin="6"><td class=data>6</td><td class=data>PD1-OSC_OUT</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">HSE crystal oscillator output (OSC_OUT) after reset; remappable to GPIO PD1 by software. In GPIO mode limited to 50 MHz output.</td></tr></tbody></table></div><div class=pingroup><h3>CONTROL <span style="color:var(--text-3);font-weight:400">(2)</span></h3><table><thead><tr><th style=width:44px>Pin</th><th style=width:170px>Name</th><th style=width:70px>Type</th><th>Function (datasheet)</th></tr></thead><tbody><tr data-pin="7"><td class=data>7</td><td class=data>NRST</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">Active-low bidirectional device reset. Pulled low by internal or external reset sources; external pull-up recommended (typ 40 kΩ internal weak pull-up).</td></tr><tr data-pin="44"><td class=data>44</td><td class=data>BOOT0</td><td></td><td class=note style="color:var(--text-2)">Boot mode selection input sampled at reset (with BOOT1/PB2): selects boot from Flash, System memory (bootloader), or embedded SRAM. Must be tied to a defined logic level.</td></tr></tbody></table></div><div class=pingroup><h3>USB <span style="color:var(--text-3);font-weight:400">(2)</span></h3><table><thead><tr><th style=width:44px>Pin</th><th style=width:170px>Name</th><th style=width:70px>Type</th><th>Function (datasheet)</th></tr></thead><tbody><tr data-pin="32"><td class=data>32</td><td class=data>PA11</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 11, 5 V-tolerant. Alternate functions: USART1_CTS, CANRX, USBDM (USB D-), TIM1_CH4.</td></tr><tr data-pin="33"><td class=data>33</td><td class=data>PA12</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 12, 5 V-tolerant. Alternate functions: USART1_RTS, CANTX, USBDP (USB D+), TIM1_ETR.</td></tr></tbody></table></div><div class=pingroup><h3>DEBUG <span style="color:var(--text-3);font-weight:400">(5)</span></h3><table><thead><tr><th style=width:44px>Pin</th><th style=width:170px>Name</th><th style=width:70px>Type</th><th>Function (datasheet)</th></tr></thead><tbody><tr data-pin="34"><td class=data>34</td><td class=data>PA13</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 13, 5 V-tolerant. Default after reset: JTMS/SWDIO (serial-wire debug data/JTAG mode select). Can be released to GPIO via SWJ-DP disable.</td></tr><tr data-pin="37"><td class=data>37</td><td class=data>PA14</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 14, 5 V-tolerant. Default after reset: JTCK/SWCLK (serial-wire debug clock/JTAG clock).</td></tr><tr data-pin="38"><td class=data>38</td><td class=data>PA15</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port A bit 15, 5 V-tolerant. Default after reset: JTDI (JTAG data in). Remappable to TIM2_CH1_ETR/PA15/SPI1_NSS.</td></tr><tr data-pin="39"><td class=data>39</td><td class=data>PB3</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 3, 5 V-tolerant. Default after reset: JTDO / TRACESWO. Remappable to TIM2_CH2, PB3, SPI1_SCK.</td></tr><tr data-pin="40"><td class=data>40</td><td class=data>PB4</td><td><span class="tbadge t-io">I/O</span></td><td class=note style="color:var(--text-2)">GPIO port B bit 4, 5 V-tolerant. Default after reset: NJTRST (JTAG reset, active low). Remappable to TIM3_CH1, PB4, SPI1_MISO.</td></tr></tbody></table></div></div> </div> @@ -167,31 +163,16 @@ tr[data-pin].hl td,tr[data-pin].hl td.data{color:var(--text)} dstage.addEventListener('click',function(){var src=dimg.getAttribute('data-full'); if(embedded)parent.postMessage({type:'readme-lightbox',src:src},'*');else window.open(src,'_blank');}); - // interactive pinout: footprint pad <-> pin-table row cross-highlight + datasheet tooltip- var tip=document.getElementById('fptip');- function clearHl(){[].slice.call(document.querySelectorAll('.hl')).forEach(function(e){e.classList.remove('hl')});}- function lite(n){[].slice.call(document.querySelectorAll('[data-pin="'+n+'"]')).forEach(function(e){e.classList.add('hl')});}- [].slice.call(document.querySelectorAll('.fp,.sp')).forEach(function(g){- g.addEventListener('mouseenter',function(){clearHl();lite(g.getAttribute('data-pin'));- tip.innerHTML='<span class=tn></span><div class=tt></div><div class=td></div>';- tip.querySelector('.tn').textContent=g.getAttribute('data-pin')+' '+g.getAttribute('data-name');- tip.querySelector('.tt').textContent=g.getAttribute('data-type');- var d=g.getAttribute('data-short');if(d)tip.querySelector('.td').textContent=d;else tip.querySelector('.td').style.display='none';- tip.style.display='block';});- g.addEventListener('mousemove',function(e){tip.style.left=(e.pageX+15)+'px';tip.style.top=(e.pageY+13)+'px';});- g.addEventListener('mouseleave',function(){clearHl();tip.style.display='none';});- });+ // Library view: cross-highlight bus across the symbol + footprint viewer iframes+ // and the pin table. Each viewer posts {type:'lbr-hover',pin} to us; we relay to+ // the sibling viewer(s) and light the matching table row.+ var vframes=[].slice.call(document.querySelectorAll('.vframe'));+ function relay(pin){vframes.forEach(function(f){try{f.contentWindow.postMessage({type:'lbr-hover',pin:pin},'*');}catch(_){}});}+ function liteRows(pin){[].slice.call(document.querySelectorAll('tr[data-pin]')).forEach(function(r){r.classList.toggle('hl',pin!=null&&r.getAttribute('data-pin')===String(pin));});}+ window.addEventListener('message',function(e){var d=e.data||{};if(d.type!=='lbr-hover')return;var p=d.pin==null?null:String(d.pin);liteRows(p);relay(p);}); [].slice.call(document.querySelectorAll('tr[data-pin]')).forEach(function(r){- r.addEventListener('mouseenter',function(){clearHl();lite(r.getAttribute('data-pin'));});- r.addEventListener('mouseleave',clearHl);- });- // footprint layer toggles (Copper / Silkscreen / Fab / Courtyard)- [].slice.call(document.querySelectorAll('.lyrtog')).forEach(function(btn){- btn.addEventListener('click',function(){- var on=btn.classList.toggle('on');- var g=document.querySelector('.'+btn.getAttribute('data-lyr'));- if(g)g.classList.toggle('lyr-hidden',!on);- });+ r.addEventListener('mouseenter',function(){var p=r.getAttribute('data-pin');liteRows(p);relay(p);});+ r.addEventListener('mouseleave',function(){liteRows(null);relay(null);}); }); })(); </script>