main
Ray stm8l152r8t6: factory component page (tier=mfr) d344b26
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="9.6.2">
<drawing>
<settings><setting alwaysvectorfont="no"/></settings>
<grid distance="0.1" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.01" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
<layer number="91" name="Nets" color="2" fill="1" visible="yes" active="yes"/>
<layer number="92" name="Busses" color="1" fill="1" visible="yes" active="yes"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="yes"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="yes" active="yes"/>
<layer number="95" name="Names" color="7" fill="1" visible="yes" active="yes"/>
<layer number="96" name="Values" color="7" fill="1" visible="yes" active="yes"/>
<layer number="97" name="Info" color="7" fill="1" visible="yes" active="yes"/>
<layer number="98" name="Guide" color="6" fill="1" visible="yes" active="yes"/>
</layers>
<library>
<description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10)</description>
<packages>
<package name="LQFP-64_10x10mm_P0.5mm">
  <description>LQFP-64, 10 x 10 mm, 0.5 mm pitch</description>
  <smd name="1" x="-5.6750" y="3.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="2" x="-5.6750" y="3.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="3" x="-5.6750" y="2.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="4" x="-5.6750" y="2.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="5" x="-5.6750" y="1.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="6" x="-5.6750" y="1.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="7" x="-5.6750" y="0.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="8" x="-5.6750" y="0.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="9" x="-5.6750" y="-0.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="10" x="-5.6750" y="-0.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="11" x="-5.6750" y="-1.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="12" x="-5.6750" y="-1.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="13" x="-5.6750" y="-2.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="14" x="-5.6750" y="-2.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="15" x="-5.6750" y="-3.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="16" x="-5.6750" y="-3.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="17" x="-3.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="18" x="-3.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="19" x="-2.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="20" x="-2.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="21" x="-1.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="22" x="-1.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="23" x="-0.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="24" x="-0.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="25" x="0.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="26" x="0.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="27" x="1.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="28" x="1.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="29" x="2.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="30" x="2.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="31" x="3.2500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="32" x="3.7500" y="-5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="33" x="5.6750" y="-3.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="34" x="5.6750" y="-3.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="35" x="5.6750" y="-2.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="36" x="5.6750" y="-2.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="37" x="5.6750" y="-1.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="38" x="5.6750" y="-1.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="39" x="5.6750" y="-0.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="40" x="5.6750" y="-0.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="41" x="5.6750" y="0.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="42" x="5.6750" y="0.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="43" x="5.6750" y="1.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="44" x="5.6750" y="1.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="45" x="5.6750" y="2.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="46" x="5.6750" y="2.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="47" x="5.6750" y="3.2500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="48" x="5.6750" y="3.7500" dx="1.5500" dy="0.3000" layer="1" roundness="50"/>
  <smd name="49" x="3.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="50" x="3.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="51" x="2.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="52" x="2.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="53" x="1.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="54" x="1.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="55" x="0.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="56" x="0.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="57" x="-0.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="58" x="-0.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="59" x="-1.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="60" x="-1.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="61" x="-2.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="62" x="-2.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="63" x="-3.2500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <smd name="64" x="-3.7500" y="5.6750" dx="0.3000" dy="1.5500" layer="1" roundness="50"/>
  <polygon width="0.1200" layer="21">
    <vertex x="-5.7500" y="4.1600"/>
    <vertex x="-6.0900" y="4.6300"/>
    <vertex x="-5.4100" y="4.6300"/>
  </polygon>
  <polygon width="0.1000" layer="51">
    <vertex x="-4.0000" y="5.0000"/>
    <vertex x="5.0000" y="5.0000"/>
    <vertex x="5.0000" y="-5.0000"/>
    <vertex x="-5.0000" y="-5.0000"/>
    <vertex x="-5.0000" y="4.0000"/>
  </polygon>
  <wire x1="-5.1100" y1="5.1100" x2="-4.1600" y2="5.1100" width="0.1200" layer="21"/>
  <wire x1="-5.1100" y1="4.1600" x2="-5.1100" y2="5.1100" width="0.1200" layer="21"/>
  <wire x1="-5.1100" y1="-5.1100" x2="-5.1100" y2="-4.1600" width="0.1200" layer="21"/>
  <wire x1="-4.1600" y1="-5.1100" x2="-5.1100" y2="-5.1100" width="0.1200" layer="21"/>
  <wire x1="4.1600" y1="5.1100" x2="5.1100" y2="5.1100" width="0.1200" layer="21"/>
  <wire x1="5.1100" y1="5.1100" x2="5.1100" y2="4.1600" width="0.1200" layer="21"/>
  <wire x1="5.1100" y1="-4.1600" x2="5.1100" y2="-5.1100" width="0.1200" layer="21"/>
  <wire x1="5.1100" y1="-5.1100" x2="4.1600" y2="-5.1100" width="0.1200" layer="21"/>
  <text x="0" y="7.050" size="1.27" layer="25" align="bottom-center">&gt;NAME</text>
  <text x="0" y="-7.050" size="1.27" layer="27" align="top-center">&gt;VALUE</text>
</package>
</packages>
<symbols>
<symbol name="STM8L152R8T6">
  <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10)</description>
  <wire x1="-12.7" y1="40.64" x2="12.7" y2="40.64" width="0.254" layer="94"/>
  <wire x1="12.7" y1="40.64" x2="12.7" y2="-43.18" width="0.254" layer="94"/>
  <wire x1="12.7" y1="-43.18" x2="-12.7" y2="-43.18" width="0.254" layer="94"/>
  <wire x1="-12.7" y1="-43.18" x2="-12.7" y2="40.64" width="0.254" layer="94"/>
  <text x="0.0000" y="43.1800" size="1.27" layer="95" align="center">&gt;NAME</text>
  <text x="0.0000" y="-45.7200" size="1.27" layer="96" align="center">&gt;VALUE</text>
  <pin name="PA0/USART1_CK/SWIM/BEEP/IR_TIM" x="-17.78" y="38.1" length="middle" direction="io"/>
  <pin name="NRST/PA1" x="-17.78" y="35.56" length="middle" direction="io"/>
  <pin name="PA2/OSC_IN/_USART1_TX_/_SPI1_MISO" x="-17.78" y="33.02" length="middle" direction="io"/>
  <pin name="PA3/OSC_OUT/_USART1_RX_/_SPI1_MOSI" x="-17.78" y="30.48" length="middle" direction="io"/>
  <pin name="PA4/TIM2_BKIN/_TIM2_ETR_/LCD_COM0/ADC1_IN2/_COMP1_INP" x="-17.78" y="27.94" length="middle" direction="io"/>
  <pin name="PA5/TIM3_BKIN/_TIM3_ETR_/LCD_COM1/ADC1_IN1/_COMP1_INP" x="-17.78" y="25.4" length="middle" direction="io"/>
  <pin name="PA6/ADC1_TRIG/LCD_COM2/ADC1_IN0/_COMP1_INP" x="-17.78" y="22.86" length="middle" direction="io"/>
  <pin name="PA7/LCD_SEG0/TIM5_CH1" x="-17.78" y="20.32" length="middle" direction="io"/>
  <pin name="VSSA/VREF-" x="-17.78" y="17.78" length="middle" direction="pwr"/>
  <pin name="VSS1" x="-17.78" y="15.24" length="middle" direction="pwr"/>
  <pin name="VDD1" x="-17.78" y="12.7" length="middle" direction="pwr"/>
  <pin name="VDDA" x="-17.78" y="10.16" length="middle" direction="pwr"/>
  <pin name="VREF+/VREF+_DAC" x="-17.78" y="7.62" length="middle" direction="pwr"/>
  <pin name="PG0/LCD_SEG28/USART3_RX/_TIM2_BKIN" x="-17.78" y="5.08" length="middle" direction="io"/>
  <pin name="PG1/LCD_SEG29/USART3_TX/_TIM3_BKIN" x="-17.78" y="2.54" length="middle" direction="io"/>
  <pin name="PG2/LCD_SEG30/USART3_CK" x="-17.78" y="0" length="middle" direction="io"/>
  <pin name="PG3/LCD_SEG31/_TIM3_ETR" x="-17.78" y="-2.54" length="middle" direction="io"/>
  <pin name="Res." x="-17.78" y="-5.08" length="middle" direction="pwr"/>
  <pin name="PE0/LCD_SEG1/TIM5_CH2" x="-17.78" y="-7.62" length="middle" direction="io"/>
  <pin name="PE1/TIM1_CH2N/LCD_SEG2" x="-17.78" y="-10.16" length="middle" direction="io"/>
  <pin name="PE2/TIM1_CH3N/LCD_SEG3/_CCO" x="-17.78" y="-12.7" length="middle" direction="io"/>
  <pin name="PE3/LCD_SEG4/USART2_RX" x="-17.78" y="-15.24" length="middle" direction="io"/>
  <pin name="PE4/LCD_SEG5/DAC_TRIG2/USART2_TX" x="-17.78" y="-17.78" length="middle" direction="io"/>
  <pin name="PE5/LCD_SEG6/ADC1_IN23/_COMP1_INP_/_COMP2_INP_/USART2_CK" x="-17.78" y="-20.32" length="middle" direction="io"/>
  <pin name="PD0/TIM3_CH2/_ADC1_TRIG_/LCD_SEG7/ADC1_IN22/_COMP2_INP" x="-17.78" y="-22.86" length="middle" direction="io"/>
  <pin name="PD1/TIM3_ETR/LCD_COM3/ADC1_IN21/_COMP1_INP_/_COMP2_INP" x="-17.78" y="-25.4" length="middle" direction="io"/>
  <pin name="PD2/TIM1_CH1/LCD_SEG8/ADC1_IN20/_COMP1_INP" x="-17.78" y="-27.94" length="middle" direction="io"/>
  <pin name="PD3/TIM1_ETR/LCD_SEG9/ADC1_IN19/_COMP1_INP" x="-17.78" y="-30.48" length="middle" direction="io"/>
  <pin name="VDD3" x="-17.78" y="-33.02" length="middle" direction="pwr"/>
  <pin name="VSS3" x="-17.78" y="-35.56" length="middle" direction="pwr"/>
  <pin name="PB0/TIM2_CH1/LCD_SEG10/ADC1_IN18/_COMP1_INP" x="-17.78" y="-38.1" length="middle" direction="io"/>
  <pin name="PB1/TIM3_CH1/LCD_SEG11/ADC1_IN17/_COMP1_INP" x="-17.78" y="-40.64" length="middle" direction="io"/>
  <pin name="PE7/LED_SEG27/TIM5_ETR" x="17.78" y="38.1" length="middle" direction="io" rot="R180"/>
  <pin name="PE6/LCD_SEG26/PVD_IN/TIM5_BKIN" x="17.78" y="35.56" length="middle" direction="io" rot="R180"/>
  <pin name="PC7/LCD_SEG25/ADC1_IN3/_COMP2_INM_/_COMP1_INP" x="17.78" y="33.02" length="middle" direction="io" rot="R180"/>
  <pin name="PC6/OSC32_OUT/_SPI1_SCK_/_USART1_RX" x="17.78" y="30.48" length="middle" direction="io" rot="R180"/>
  <pin name="PC5/OSC32_IN/_SPI1_NSS_/_USART1_TX" x="17.78" y="27.94" length="middle" direction="io" rot="R180"/>
  <pin name="PC4/USART1_CK/I2C1_SMB/_CCO_/LCD_SEG24/ADC1_IN4/_COMP2_INM_/_COMP1_INP" x="17.78" y="25.4" length="middle" direction="io" rot="R180"/>
  <pin name="PC3/USART1_TX/LCD_SEG23/ADC1_IN5/_COMP2_INM_/_COMP1_INP" x="17.78" y="22.86" length="middle" direction="io" rot="R180"/>
  <pin name="PC2/USART1_RX/LCD_SEG22/ADC1_IN6/_COMP1_INP_/VREFINT" x="17.78" y="20.32" length="middle" direction="io" rot="R180"/>
  <pin name="VSS2" x="17.78" y="17.78" length="middle" direction="pwr" rot="R180"/>
  <pin name="VDD2" x="17.78" y="15.24" length="middle" direction="pwr" rot="R180"/>
  <pin name="PC1/I2C1_SCL" x="17.78" y="12.7" length="middle" direction="io" rot="R180"/>
  <pin name="PC0/I2C1_SDA" x="17.78" y="10.16" length="middle" direction="io" rot="R180"/>
  <pin name="PG7/LCD_SEG35/SPI2_MISO" x="17.78" y="7.62" length="middle" direction="io" rot="R180"/>
  <pin name="PG6/LCD_SEG34/SPI2_MOSI" x="17.78" y="5.08" length="middle" direction="io" rot="R180"/>
  <pin name="PG5/LCD_SEG33/SPI2_SCK" x="17.78" y="2.54" length="middle" direction="io" rot="R180"/>
  <pin name="PG4/LCD_SEG32/SPI2_NSS" x="17.78" y="0" length="middle" direction="io" rot="R180"/>
  <pin name="PD7/TIM1_CH1N/LCD_SEG21/ADC1_IN7/RTC_ALARM/_COMP1_INP_/VREFINT" x="17.78" y="-2.54" length="middle" direction="io" rot="R180"/>
  <pin name="PD6/TIM1_BKIN/LCD_SEG20/ADC1_IN8/RTC_CALIB/_COMP1_INP_/VREFINT" x="17.78" y="-5.08" length="middle" direction="io" rot="R180"/>
  <pin name="PD5/TIM1_CH3/LCD_SEG19/ADC1_IN9/_COMP1_INP" x="17.78" y="-7.62" length="middle" direction="io" rot="R180"/>
  <pin name="PD4/TIM1_CH2/LCD_SEG18/ADC1_IN10/_COMP1_INP" x="17.78" y="-10.16" length="middle" direction="io" rot="R180"/>
  <pin name="PF7/LCD_SEG39/_LCD_COM7" x="17.78" y="-12.7" length="middle" direction="io" rot="R180"/>
  <pin name="PF6/LCD_SEG38/_LCD_COM6" x="17.78" y="-15.24" length="middle" direction="io" rot="R180"/>
  <pin name="PF5/LCD_SEG37/_LCD_COM5" x="17.78" y="-17.78" length="middle" direction="io" rot="R180"/>
  <pin name="PF4/LCD_SEG36/_LCD_COM4" x="17.78" y="-20.32" length="middle" direction="io" rot="R180"/>
  <pin name="PF1/ADC1_IN25/DAC_OUT2/_USART3_RX" x="17.78" y="-22.86" length="middle" direction="io" rot="R180"/>
  <pin name="PF0/ADC1_IN24/DAC_OUT1/_USART3_TX" x="17.78" y="-25.4" length="middle" direction="io" rot="R180"/>
  <pin name="PB7/SPI1_MISO/LCD_SEG17/ADC1_IN11/_COMP1_INP" x="17.78" y="-27.94" length="middle" direction="io" rot="R180"/>
  <pin name="PB6/SPI1_MOSI/LCD_SEG16/ADC1_IN12/_COMP1_INP" x="17.78" y="-30.48" length="middle" direction="io" rot="R180"/>
  <pin name="PB5/SPI1_SCK/LCD_SEG15/ADC1_IN13/_COMP1_INP" x="17.78" y="-33.02" length="middle" direction="io" rot="R180"/>
  <pin name="PB4/SPI1_NSS/LCD_SEG14/ADC1_IN14/_COMP1_INP" x="17.78" y="-35.56" length="middle" direction="io" rot="R180"/>
  <pin name="PB3/TIM2_ETR/LCD_SEG13/ADC1_IN15/_COMP1_INP" x="17.78" y="-38.1" length="middle" direction="io" rot="R180"/>
  <pin name="PB2/TIM2_CH2/LCD_SEG12/ADC1_IN16/_COMP1_INP" x="17.78" y="-40.64" length="middle" direction="io" rot="R180"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="STM8L152R8T6" prefix="U">
  <description>STMicroelectronics Microcontrollers (MCU/MPU/SOC), LQFP-64(10x10)</description>
  <gates>
    <gate name="G$1" symbol="STM8L152R8T6" x="0" y="0"/>
  </gates>
  <devices>
    <device name="" package="LQFP-64_10x10mm_P0.5mm">
      <connects>
        <connect gate="G$1" pin="PA0/USART1_CK/SWIM/BEEP/IR_TIM" pad="1"/>
        <connect gate="G$1" pin="NRST/PA1" pad="2"/>
        <connect gate="G$1" pin="PA2/OSC_IN/_USART1_TX_/_SPI1_MISO" pad="3"/>
        <connect gate="G$1" pin="PA3/OSC_OUT/_USART1_RX_/_SPI1_MOSI" pad="4"/>
        <connect gate="G$1" pin="PA4/TIM2_BKIN/_TIM2_ETR_/LCD_COM0/ADC1_IN2/_COMP1_INP" pad="5"/>
        <connect gate="G$1" pin="PA5/TIM3_BKIN/_TIM3_ETR_/LCD_COM1/ADC1_IN1/_COMP1_INP" pad="6"/>
        <connect gate="G$1" pin="PA6/ADC1_TRIG/LCD_COM2/ADC1_IN0/_COMP1_INP" pad="7"/>
        <connect gate="G$1" pin="PA7/LCD_SEG0/TIM5_CH1" pad="8"/>
        <connect gate="G$1" pin="VSSA/VREF-" pad="9"/>
        <connect gate="G$1" pin="VSS1" pad="10"/>
        <connect gate="G$1" pin="VDD1" pad="11"/>
        <connect gate="G$1" pin="VDDA" pad="12"/>
        <connect gate="G$1" pin="VREF+/VREF+_DAC" pad="13"/>
        <connect gate="G$1" pin="PG0/LCD_SEG28/USART3_RX/_TIM2_BKIN" pad="14"/>
        <connect gate="G$1" pin="PG1/LCD_SEG29/USART3_TX/_TIM3_BKIN" pad="15"/>
        <connect gate="G$1" pin="PG2/LCD_SEG30/USART3_CK" pad="16"/>
        <connect gate="G$1" pin="PG3/LCD_SEG31/_TIM3_ETR" pad="17"/>
        <connect gate="G$1" pin="Res." pad="18"/>
        <connect gate="G$1" pin="PE0/LCD_SEG1/TIM5_CH2" pad="19"/>
        <connect gate="G$1" pin="PE1/TIM1_CH2N/LCD_SEG2" pad="20"/>
        <connect gate="G$1" pin="PE2/TIM1_CH3N/LCD_SEG3/_CCO" pad="21"/>
        <connect gate="G$1" pin="PE3/LCD_SEG4/USART2_RX" pad="22"/>
        <connect gate="G$1" pin="PE4/LCD_SEG5/DAC_TRIG2/USART2_TX" pad="23"/>
        <connect gate="G$1" pin="PE5/LCD_SEG6/ADC1_IN23/_COMP1_INP_/_COMP2_INP_/USART2_CK" pad="24"/>
        <connect gate="G$1" pin="PD0/TIM3_CH2/_ADC1_TRIG_/LCD_SEG7/ADC1_IN22/_COMP2_INP" pad="25"/>
        <connect gate="G$1" pin="PD1/TIM3_ETR/LCD_COM3/ADC1_IN21/_COMP1_INP_/_COMP2_INP" pad="26"/>
        <connect gate="G$1" pin="PD2/TIM1_CH1/LCD_SEG8/ADC1_IN20/_COMP1_INP" pad="27"/>
        <connect gate="G$1" pin="PD3/TIM1_ETR/LCD_SEG9/ADC1_IN19/_COMP1_INP" pad="28"/>
        <connect gate="G$1" pin="VDD3" pad="29"/>
        <connect gate="G$1" pin="VSS3" pad="30"/>
        <connect gate="G$1" pin="PB0/TIM2_CH1/LCD_SEG10/ADC1_IN18/_COMP1_INP" pad="31"/>
        <connect gate="G$1" pin="PB1/TIM3_CH1/LCD_SEG11/ADC1_IN17/_COMP1_INP" pad="32"/>
        <connect gate="G$1" pin="PE7/LED_SEG27/TIM5_ETR" pad="64"/>
        <connect gate="G$1" pin="PE6/LCD_SEG26/PVD_IN/TIM5_BKIN" pad="63"/>
        <connect gate="G$1" pin="PC7/LCD_SEG25/ADC1_IN3/_COMP2_INM_/_COMP1_INP" pad="62"/>
        <connect gate="G$1" pin="PC6/OSC32_OUT/_SPI1_SCK_/_USART1_RX" pad="61"/>
        <connect gate="G$1" pin="PC5/OSC32_IN/_SPI1_NSS_/_USART1_TX" pad="60"/>
        <connect gate="G$1" pin="PC4/USART1_CK/I2C1_SMB/_CCO_/LCD_SEG24/ADC1_IN4/_COMP2_INM_/_COMP1_INP" pad="59"/>
        <connect gate="G$1" pin="PC3/USART1_TX/LCD_SEG23/ADC1_IN5/_COMP2_INM_/_COMP1_INP" pad="58"/>
        <connect gate="G$1" pin="PC2/USART1_RX/LCD_SEG22/ADC1_IN6/_COMP1_INP_/VREFINT" pad="57"/>
        <connect gate="G$1" pin="VSS2" pad="56"/>
        <connect gate="G$1" pin="VDD2" pad="55"/>
        <connect gate="G$1" pin="PC1/I2C1_SCL" pad="54"/>
        <connect gate="G$1" pin="PC0/I2C1_SDA" pad="53"/>
        <connect gate="G$1" pin="PG7/LCD_SEG35/SPI2_MISO" pad="52"/>
        <connect gate="G$1" pin="PG6/LCD_SEG34/SPI2_MOSI" pad="51"/>
        <connect gate="G$1" pin="PG5/LCD_SEG33/SPI2_SCK" pad="50"/>
        <connect gate="G$1" pin="PG4/LCD_SEG32/SPI2_NSS" pad="49"/>
        <connect gate="G$1" pin="PD7/TIM1_CH1N/LCD_SEG21/ADC1_IN7/RTC_ALARM/_COMP1_INP_/VREFINT" pad="48"/>
        <connect gate="G$1" pin="PD6/TIM1_BKIN/LCD_SEG20/ADC1_IN8/RTC_CALIB/_COMP1_INP_/VREFINT" pad="47"/>
        <connect gate="G$1" pin="PD5/TIM1_CH3/LCD_SEG19/ADC1_IN9/_COMP1_INP" pad="46"/>
        <connect gate="G$1" pin="PD4/TIM1_CH2/LCD_SEG18/ADC1_IN10/_COMP1_INP" pad="45"/>
        <connect gate="G$1" pin="PF7/LCD_SEG39/_LCD_COM7" pad="44"/>
        <connect gate="G$1" pin="PF6/LCD_SEG38/_LCD_COM6" pad="43"/>
        <connect gate="G$1" pin="PF5/LCD_SEG37/_LCD_COM5" pad="42"/>
        <connect gate="G$1" pin="PF4/LCD_SEG36/_LCD_COM4" pad="41"/>
        <connect gate="G$1" pin="PF1/ADC1_IN25/DAC_OUT2/_USART3_RX" pad="40"/>
        <connect gate="G$1" pin="PF0/ADC1_IN24/DAC_OUT1/_USART3_TX" pad="39"/>
        <connect gate="G$1" pin="PB7/SPI1_MISO/LCD_SEG17/ADC1_IN11/_COMP1_INP" pad="38"/>
        <connect gate="G$1" pin="PB6/SPI1_MOSI/LCD_SEG16/ADC1_IN12/_COMP1_INP" pad="37"/>
        <connect gate="G$1" pin="PB5/SPI1_SCK/LCD_SEG15/ADC1_IN13/_COMP1_INP" pad="36"/>
        <connect gate="G$1" pin="PB4/SPI1_NSS/LCD_SEG14/ADC1_IN14/_COMP1_INP" pad="35"/>
        <connect gate="G$1" pin="PB3/TIM2_ETR/LCD_SEG13/ADC1_IN15/_COMP1_INP" pad="34"/>
        <connect gate="G$1" pin="PB2/TIM2_CH2/LCD_SEG12/ADC1_IN16/_COMP1_INP" pad="33"/>
      </connects>
      <technologies>
        <technology name="">
          <attribute name="MPN" value="STM8L152R8T6" constant="no"/>
          <attribute name="MANUFACTURER" value="STMicroelectronics" constant="no"/>
        </technology>
      </technologies>
    </device>
  </devices>
</deviceset>
</devicesets>
</library>
</drawing>
</eagle>