<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.4">
<drawing>
<library>
<packages>
<package name="TSSOP20">
<description>&lt;b&gt;Thin Shrink Small Outline Plastic 20&lt;/b&gt;&lt;p&gt;
MAX3223-MAX3243.pdf</description>
</package>
</packages>
<symbols>
<symbol name="STM8S003F">
<pin name="VDD" direction="pwr"/>
<pin name="VCAP" direction="pwr"/>
<pin name="GND" direction="pwr"/>
<pin name="!RST" direction="in"/>
<pin name="OSCIN/PA1"/>
<pin name="OSCOUT/PA2"/>
<pin name="PA3/TIM2_CH3/[SPI_NSS]"/>
<pin name="PB4/I2C_SCL/[ADC_ETR]"/>
<pin name="PB5/I2C_SDA/[TIM1_BKIN]"/>
<pin name="PC3/TIM1_CH3/[TLI]/[!TIM1_CH1!]"/>
<pin name="PC4/TIM1_CH4/CLK_CCO/AIN2/[!TIM1_CH2!]"/>
<pin name="PC5/SPI_SCK/[TIM2_CH1]"/>
<pin name="PC6/SPI_MOSI/[TIM1_CH1]"/>
<pin name="PC7/SPI_MISO/[TIM1_CH2]"/>
<pin name="PD1/SWIM"/>
<pin name="PD2/AIN3/[TIM2_CH3]"/>
<pin name="PD3/AIN4/TIM2_CH2/ADC_ETR"/>
<pin name="PD4/UART1_CK/TIM2_CH1/BEEP"/>
<pin name="PD5/UART1_TX/AIN5"/>
<pin name="PD6/UART1_RX/AIN6"/>
</symbol>
</symbols>
<devicesets>
<deviceset name="STM8S003" prefix="IC">
<description>Value line, 16 MHz STM8S 8-bit MCU, 8 Kbytes Flash, 128 bytes
data EEPROM, 10-bit ADC, 3 timers, UART, SPI, I2C</description>
<gates>
<gate name="G$1" symbol="STM8S003F"/>
</gates>
<devices>
<device name="F3" package="TSSOP20">
<connects>
<connect gate="G$1" pin="!RST" pad="4"/>
<connect gate="G$1" pin="GND" pad="7"/>
<connect gate="G$1" pin="OSCIN/PA1" pad="5"/>
<connect gate="G$1" pin="OSCOUT/PA2" pad="6"/>
<connect gate="G$1" pin="PA3/TIM2_CH3/[SPI_NSS]" pad="10"/>
<connect gate="G$1" pin="PB4/I2C_SCL/[ADC_ETR]" pad="12"/>
<connect gate="G$1" pin="PB5/I2C_SDA/[TIM1_BKIN]" pad="11"/>
<connect gate="G$1" pin="PC3/TIM1_CH3/[TLI]/[!TIM1_CH1!]" pad="13"/>
<connect gate="G$1" pin="PC4/TIM1_CH4/CLK_CCO/AIN2/[!TIM1_CH2!]" pad="14"/>
<connect gate="G$1" pin="PC5/SPI_SCK/[TIM2_CH1]" pad="15"/>
<connect gate="G$1" pin="PC6/SPI_MOSI/[TIM1_CH1]" pad="16"/>
<connect gate="G$1" pin="PC7/SPI_MISO/[TIM1_CH2]" pad="17"/>
<connect gate="G$1" pin="PD1/SWIM" pad="18"/>
<connect gate="G$1" pin="PD2/AIN3/[TIM2_CH3]" pad="19"/>
<connect gate="G$1" pin="PD3/AIN4/TIM2_CH2/ADC_ETR" pad="20"/>
<connect gate="G$1" pin="PD4/UART1_CK/TIM2_CH1/BEEP" pad="1"/>
<connect gate="G$1" pin="PD5/UART1_TX/AIN5" pad="2"/>
<connect gate="G$1" pin="PD6/UART1_RX/AIN6" pad="3"/>
<connect gate="G$1" pin="VCAP" pad="8"/>
<connect gate="G$1" pin="VDD" pad="9"/>
</connects>
<technologies>
<technology name=""/>
</technologies>
</device>
</devices>
</deviceset>
</devicesets>
</library>
</drawing>
</eagle>
