(kicad_symbol_lib (version 20211014) (generator kicad_symbol_editor)
  (symbol "STM8AF6223" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8AF6223" (id 1) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" (id 2) (at 1.27 27.94 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/resource/en/datasheet/stm8af6223.pdf" (id 3) (at -7.62 -7.62 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Automotive Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 640 EEPROM, USART, LIN,  I²C, SPI, ADC, TSSOP-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AF6223_0_1"
      (rectangle (start -11.43 21.59) (end 11.43 -21.59)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8AF6223_1_1"
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 3.81)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 3.81)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 3.81)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 3.81)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 3.81)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -15.24 0) (length 3.81)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -25.4 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -17.78 0) (length 3.81)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 25.4 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8AF6223A" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8AF6223A" (id 1) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" (id 2) (at 1.27 27.94 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/resource/en/datasheet/stm8af6223.pdf" (id 3) (at -15.24 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Automotive Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 640 EEPROM, USART, LIN,  I²C, SPI, ADC, TSSOP-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AF6223A_0_1"
      (rectangle (start -11.43 21.59) (end 11.43 -21.59)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8AF6223A_1_1"
      (pin bidirectional line (at 15.24 2.54 180) (length 3.81)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 2.54 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 3.81)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 3.81)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 3.81)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -15.24 0) (length 3.81)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -25.4 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -17.78 0) (length 3.81)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 25.4 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8AL3188T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -10.16 38.735 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8AL3188T" (id 1) (at -10.16 36.83 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 3.81 -39.37 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8al3188.pdf" (id 3) (at 0 53.34 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 automotive ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Automotive 8-bit ultra-low-power MCU, 64-Kbyte Flash, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AL3188T_0_0"
      (pin bidirectional line (at -20.32 30.48 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 38.1 270) (length 2.54)
        (name "VDD1" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 38.1 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 38.1 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 10.16 38.1 270) (length 2.54)
        (name "RES1" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 7.62 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 5.08 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 2.54 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 0 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -2.54 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -5.08 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 27.94 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 30.48 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 27.94 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 25.4 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 22.86 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 7.62 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 5.08 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 2.54 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 0 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -2.54 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -5.08 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 25.4 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -7.62 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -10.16 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -15.24 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 20.32 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 17.78 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 15.24 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 12.7 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -15.24 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -17.78 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 38.1 270) (length 2.54)
        (name "VDD2" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 22.86 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -40.64 90) (length 2.54)
        (name "VSS2" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -20.32 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -22.86 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -25.4 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -27.94 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -30.48 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -33.02 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -7.62 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -10.16 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 20.32 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 17.78 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 15.24 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 12.7 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -40.64 90) (length 2.54)
        (name "VSS1/VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8AL3188T_0_1"
      (rectangle (start -17.78 35.56) (end 17.78 -38.1)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
  )
  (symbol "STM8AL3189T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -10.16 51.435 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8AL3189T" (id 1) (at -10.16 49.53 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 6.35 -49.53 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8al3188.pdf" (id 3) (at 0 66.04 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 automotive ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Automotive 8-bit ultra-low-power MCU, 64-Kbyte Flash, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AL3189T_0_0"
      (pin bidirectional line (at -20.32 43.18 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 -48.26 90) (length 2.54)
        (name "VSS1" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 50.8 270) (length 2.54)
        (name "VDD1" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 50.8 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 10.16 50.8 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 2.54 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 0 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -2.54 180) (length 2.54)
        (name "PG2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -5.08 180) (length 2.54)
        (name "PG3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 50.8 270) (length 2.54)
        (name "RES1" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 43.18 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 40.64 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 40.64 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 38.1 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 35.56 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 33.02 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 30.48 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -25.4 0) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -27.94 0) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -30.48 0) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -33.02 0) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 50.8 270) (length 2.54)
        (name "VDD3" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 38.1 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -48.26 90) (length 2.54)
        (name "VSS3" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 20.32 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 17.78 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 15.24 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 12.7 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 10.16 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 7.62 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 5.08 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 2.54 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 20.32 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 35.56 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 17.78 180) (length 2.54)
        (name "PF1" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 15.24 180) (length 2.54)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 12.7 180) (length 2.54)
        (name "PF5" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 10.16 180) (length 2.54)
        (name "PF6" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 7.62 180) (length 2.54)
        (name "PF7" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -35.56 0) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -38.1 0) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -40.64 0) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -43.18 0) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -7.62 180) (length 2.54)
        (name "PG4" (effects (font (size 1.27 1.27))))
        (number "49" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 33.02 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -10.16 180) (length 2.54)
        (name "PG5" (effects (font (size 1.27 1.27))))
        (number "50" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -12.7 180) (length 2.54)
        (name "PG6" (effects (font (size 1.27 1.27))))
        (number "51" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -15.24 180) (length 2.54)
        (name "PG7" (effects (font (size 1.27 1.27))))
        (number "52" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -2.54 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "53" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -5.08 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "54" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 50.8 270) (length 2.54)
        (name "VDD2" (effects (font (size 1.27 1.27))))
        (number "55" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -48.26 90) (length 2.54)
        (name "VSS2" (effects (font (size 1.27 1.27))))
        (number "56" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -7.62 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "57" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -10.16 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "58" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -12.7 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "59" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 30.48 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -15.24 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "60" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -17.78 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "61" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -20.32 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "62" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 27.94 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "63" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 25.4 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "64" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 27.94 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 25.4 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 -48.26 90) (length 2.54)
        (name "VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8AL3189T_0_1"
      (rectangle (start -17.78 48.26) (end 17.78 -48.26)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
  )
  (symbol "STM8AL318AT" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -12.7 61.595 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8AL318AT" (id 1) (at -12.7 59.69 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-80_14x14mm_P0.65mm" (id 2) (at 8.89 -62.23 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8al3188.pdf" (id 3) (at 0 76.2 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 automotive ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Automotive 8-bit ultra-low-power MCU, 64-Kbyte Flash, LQFP-80" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*14x14mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AL318AT_0_0"
      (pin bidirectional line (at 22.86 7.62 180) (length 2.54)
        (name "PH0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 40.64 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 38.1 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 35.56 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 -63.5 90) (length 2.54)
        (name "VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 -63.5 90) (length 2.54)
        (name "VSS1" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -10.16 60.96 270) (length 2.54)
        (name "VDD1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 60.96 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 12.7 60.96 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 30.48 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 27.94 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 5.08 180) (length 2.54)
        (name "PH1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 25.4 180) (length 2.54)
        (name "PG2" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 22.86 180) (length 2.54)
        (name "PG3" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 60.96 270) (length 2.54)
        (name "RES1" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -38.1 0) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -40.64 0) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -43.18 0) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -45.72 0) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -48.26 0) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -50.8 0) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -15.24 0) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 2.54 180) (length 2.54)
        (name "PH2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -17.78 0) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -20.32 0) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -22.86 0) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -2.54 180) (length 2.54)
        (name "PH4" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -5.08 180) (length 2.54)
        (name "PH5" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -7.62 180) (length 2.54)
        (name "PH6" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -10.16 180) (length 2.54)
        (name "PH7" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 60.96 270) (length 2.54)
        (name "VDD3" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -63.5 90) (length 2.54)
        (name "VSS3" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 30.48 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 0 180) (length 2.54)
        (name "PH3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 27.94 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 25.4 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 22.86 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 20.32 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 17.78 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 15.24 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 12.7 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 60.96 270) (length 2.54)
        (name "VDD4" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -63.5 90) (length 2.54)
        (name "VSS4" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 53.34 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "49" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 53.34 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 50.8 180) (length 2.54)
        (name "PF1" (effects (font (size 1.27 1.27))))
        (number "50" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 48.26 180) (length 2.54)
        (name "PF2" (effects (font (size 1.27 1.27))))
        (number "51" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 45.72 180) (length 2.54)
        (name "PF3" (effects (font (size 1.27 1.27))))
        (number "52" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 43.18 180) (length 2.54)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "53" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 40.64 180) (length 2.54)
        (name "PF5" (effects (font (size 1.27 1.27))))
        (number "54" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 38.1 180) (length 2.54)
        (name "PF6" (effects (font (size 1.27 1.27))))
        (number "55" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 35.56 180) (length 2.54)
        (name "PF7" (effects (font (size 1.27 1.27))))
        (number "56" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -25.4 0) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "57" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -27.94 0) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "58" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -30.48 0) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "59" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 50.8 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -33.02 0) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "60" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 20.32 180) (length 2.54)
        (name "PG4" (effects (font (size 1.27 1.27))))
        (number "61" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 17.78 180) (length 2.54)
        (name "PG5" (effects (font (size 1.27 1.27))))
        (number "62" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 15.24 180) (length 2.54)
        (name "PG6" (effects (font (size 1.27 1.27))))
        (number "63" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 12.7 180) (length 2.54)
        (name "PG7" (effects (font (size 1.27 1.27))))
        (number "64" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 7.62 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "65" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 5.08 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "66" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 60.96 270) (length 2.54)
        (name "VDD2" (effects (font (size 1.27 1.27))))
        (number "67" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -63.5 90) (length 2.54)
        (name "VSS2" (effects (font (size 1.27 1.27))))
        (number "68" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 2.54 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "69" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 48.26 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 0 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "70" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -2.54 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "71" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -5.08 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "72" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -7.62 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "73" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -10.16 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "74" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -53.34 0) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "75" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -55.88 0) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "76" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -15.24 180) (length 2.54)
        (name "PI0" (effects (font (size 1.27 1.27))))
        (number "77" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -17.78 180) (length 2.54)
        (name "PI1" (effects (font (size 1.27 1.27))))
        (number "78" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -20.32 180) (length 2.54)
        (name "PI2" (effects (font (size 1.27 1.27))))
        (number "79" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 45.72 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -22.86 180) (length 2.54)
        (name "PI3" (effects (font (size 1.27 1.27))))
        (number "80" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 43.18 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8AL318AT_0_1"
      (rectangle (start -20.32 58.42) (end 20.32 -60.96)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
  )
  (symbol "STM8AL3L88T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -10.16 38.735 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8AL3L88T" (id 1) (at -10.16 36.83 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 3.81 -39.37 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8al3188.pdf" (id 3) (at 0 53.34 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 automotive ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Automotive 8-bit ultra-low-power MCU, 64-Kbyte Flash with LCD, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AL3L88T_0_0"
      (pin bidirectional line (at -20.32 30.48 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 38.1 270) (length 2.54)
        (name "VDD1" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 38.1 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 10.16 38.1 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 38.1 270) (length 2.54)
        (name "VLCD" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 7.62 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 5.08 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 2.54 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 0 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -2.54 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -5.08 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 27.94 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 30.48 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 27.94 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 25.4 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 22.86 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 7.62 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 5.08 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 2.54 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 0 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -2.54 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -5.08 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 25.4 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -7.62 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -10.16 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -15.24 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 20.32 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 17.78 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 15.24 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 12.7 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -15.24 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -17.78 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 38.1 270) (length 2.54)
        (name "VDD2" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 22.86 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -40.64 90) (length 2.54)
        (name "VSS2" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -20.32 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -22.86 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -25.4 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -27.94 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -30.48 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -33.02 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -7.62 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -10.16 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 20.32 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 17.78 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 15.24 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 12.7 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -40.64 90) (length 2.54)
        (name "VSS1/VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8AL3L88T_0_1"
      (rectangle (start -17.78 35.56) (end 17.78 -38.1)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
  )
  (symbol "STM8AL3L89T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -10.16 51.435 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8AL3L89T" (id 1) (at -10.16 49.53 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 6.35 -49.53 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8al3188.pdf" (id 3) (at 0 66.04 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 automotive ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Automotive 8-bit ultra-low-power MCU, 64-Kbyte Flash with LCD, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AL3L89T_0_0"
      (pin bidirectional line (at -20.32 43.18 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 -50.8 90) (length 2.54)
        (name "VSS1" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 50.8 270) (length 2.54)
        (name "VDD1" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 50.8 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 10.16 50.8 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 2.54 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 0 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -2.54 180) (length 2.54)
        (name "PG2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -5.08 180) (length 2.54)
        (name "PG3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 50.8 270) (length 2.54)
        (name "VLCD" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 43.18 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 40.64 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 40.64 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 38.1 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 35.56 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 33.02 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 30.48 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -25.4 0) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -27.94 0) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -30.48 0) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -33.02 0) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 50.8 270) (length 2.54)
        (name "VDD3" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 38.1 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -50.8 90) (length 2.54)
        (name "VSS3" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 20.32 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 17.78 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 15.24 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 12.7 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 10.16 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 7.62 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 5.08 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 2.54 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 20.32 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 35.56 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 17.78 180) (length 2.54)
        (name "PF1" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 15.24 180) (length 2.54)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 12.7 180) (length 2.54)
        (name "PF5" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 10.16 180) (length 2.54)
        (name "PF6" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 7.62 180) (length 2.54)
        (name "PF7" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -35.56 0) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -38.1 0) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -40.64 0) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -43.18 0) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -7.62 180) (length 2.54)
        (name "PG4" (effects (font (size 1.27 1.27))))
        (number "49" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 33.02 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -10.16 180) (length 2.54)
        (name "PG5" (effects (font (size 1.27 1.27))))
        (number "50" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -12.7 180) (length 2.54)
        (name "PG6" (effects (font (size 1.27 1.27))))
        (number "51" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 -15.24 180) (length 2.54)
        (name "PG7" (effects (font (size 1.27 1.27))))
        (number "52" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -2.54 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "53" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -5.08 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "54" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 50.8 270) (length 2.54)
        (name "VDD2" (effects (font (size 1.27 1.27))))
        (number "55" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -50.8 90) (length 2.54)
        (name "VSS2" (effects (font (size 1.27 1.27))))
        (number "56" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -7.62 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "57" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -10.16 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "58" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -12.7 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "59" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 30.48 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -15.24 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "60" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -17.78 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "61" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 -20.32 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "62" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 27.94 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "63" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 20.32 25.4 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "64" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 27.94 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -20.32 25.4 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 -50.8 90) (length 2.54)
        (name "VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8AL3L89T_0_1"
      (rectangle (start -48.26 5.08) (end -48.26 5.08)
        (stroke (width 0.1524) (type default) (color 0 0 0 0))
        (fill (type none))
      )
      (rectangle (start -17.78 48.26) (end 17.78 -48.26)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
  )
  (symbol "STM8AL3L8AT" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -12.7 61.595 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8AL3L8AT" (id 1) (at -12.7 59.69 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-80_14x14mm_P0.65mm" (id 2) (at 8.89 -62.23 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8al3188.pdf" (id 3) (at 0 76.2 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 automotive ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "Automotive 8-bit ultra-low-power MCU, 64-Kbyte Flash with LCD, LQFP-80" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*14x14mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8AL3L8AT_0_0"
      (pin bidirectional line (at 22.86 7.62 180) (length 2.54)
        (name "PH0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 40.64 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 38.1 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 35.56 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 -63.5 90) (length 2.54)
        (name "VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 -63.5 90) (length 2.54)
        (name "VSS1" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -10.16 60.96 270) (length 2.54)
        (name "VDD1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 60.96 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 12.7 60.96 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 30.48 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 27.94 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 5.08 180) (length 2.54)
        (name "PH1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 25.4 180) (length 2.54)
        (name "PG2" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 22.86 180) (length 2.54)
        (name "PG3" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 60.96 270) (length 2.54)
        (name "VLCD" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -38.1 0) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -40.64 0) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -43.18 0) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -45.72 0) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -48.26 0) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -50.8 0) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -15.24 0) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 2.54 180) (length 2.54)
        (name "PH2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -17.78 0) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -20.32 0) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -22.86 0) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -2.54 180) (length 2.54)
        (name "PH4" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -5.08 180) (length 2.54)
        (name "PH5" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -7.62 180) (length 2.54)
        (name "PH6" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -10.16 180) (length 2.54)
        (name "PH7" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 60.96 270) (length 2.54)
        (name "VDD3" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -63.5 90) (length 2.54)
        (name "VSS3" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 30.48 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 0 180) (length 2.54)
        (name "PH3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 27.94 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 25.4 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 22.86 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 20.32 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 17.78 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 15.24 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 12.7 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 60.96 270) (length 2.54)
        (name "VDD4" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -63.5 90) (length 2.54)
        (name "VSS4" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 53.34 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "49" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 53.34 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 50.8 180) (length 2.54)
        (name "PF1" (effects (font (size 1.27 1.27))))
        (number "50" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 48.26 180) (length 2.54)
        (name "PF2" (effects (font (size 1.27 1.27))))
        (number "51" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 45.72 180) (length 2.54)
        (name "PF3" (effects (font (size 1.27 1.27))))
        (number "52" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 43.18 180) (length 2.54)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "53" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 40.64 180) (length 2.54)
        (name "PF5" (effects (font (size 1.27 1.27))))
        (number "54" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 38.1 180) (length 2.54)
        (name "PF6" (effects (font (size 1.27 1.27))))
        (number "55" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 35.56 180) (length 2.54)
        (name "PF7" (effects (font (size 1.27 1.27))))
        (number "56" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -25.4 0) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "57" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -27.94 0) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "58" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -30.48 0) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "59" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 50.8 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -33.02 0) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "60" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 20.32 180) (length 2.54)
        (name "PG4" (effects (font (size 1.27 1.27))))
        (number "61" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 17.78 180) (length 2.54)
        (name "PG5" (effects (font (size 1.27 1.27))))
        (number "62" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 15.24 180) (length 2.54)
        (name "PG6" (effects (font (size 1.27 1.27))))
        (number "63" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 12.7 180) (length 2.54)
        (name "PG7" (effects (font (size 1.27 1.27))))
        (number "64" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 7.62 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "65" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 5.08 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "66" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 60.96 270) (length 2.54)
        (name "VDD2" (effects (font (size 1.27 1.27))))
        (number "67" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -63.5 90) (length 2.54)
        (name "VSS2" (effects (font (size 1.27 1.27))))
        (number "68" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 2.54 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "69" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 48.26 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 0 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "70" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -2.54 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "71" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -5.08 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "72" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -7.62 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "73" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -10.16 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "74" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -53.34 0) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "75" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 -55.88 0) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "76" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -15.24 180) (length 2.54)
        (name "PI0" (effects (font (size 1.27 1.27))))
        (number "77" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -17.78 180) (length 2.54)
        (name "PI1" (effects (font (size 1.27 1.27))))
        (number "78" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -20.32 180) (length 2.54)
        (name "PI2" (effects (font (size 1.27 1.27))))
        (number "79" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 45.72 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 22.86 -22.86 180) (length 2.54)
        (name "PI3" (effects (font (size 1.27 1.27))))
        (number "80" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -22.86 43.18 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8AL3L8AT_0_1"
      (rectangle (start -20.32 58.42) (end 20.32 -60.96)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
  )
  (symbol "STM8L051F3P" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8L051F3P" (id 1) (at 1.27 20.32 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" (id 2) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00060484.pdf" (id 3) (at 0 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Value Line Low Power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 256 EEPROM, RTC, USART,  I²C, SPI, ADC, TSSOP-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8L051F3P_0_1"
      (rectangle (start -11.43 19.05) (end 11.43 -19.05)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8L051F3P_1_1"
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 2.54 0) (length 3.81)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 3.81)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 3.81)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 3.81)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 3.81)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 3.81)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -15.24 15.24 0) (length 3.81)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -22.86 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 22.86 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8L101F1U" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -2.54 23.495 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8L101F1U" (id 1) (at -2.54 21.59 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_DFN_QFN:ST_UFQFPN-20_3x3mm_P0.5mm" (id 2) (at 1.27 -21.59 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l101f1.pdf" (id 3) (at 0 38.1 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Value Line Low Power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 2K Flash, 1.5K RAM, 2K EEPROM, USART,  I²C, SPI, ADC, UFQFPN-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "ST?UFQFPN*3x3mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8L101F1U_0_1"
      (rectangle (start -12.7 20.32) (end 12.7 -20.32)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8L101F1U_1_1"
      (pin bidirectional line (at -15.24 12.7 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -22.86 90) (length 2.54)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 22.86 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 2.54 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8L101F2U" (extends "STM8L101F1U")
    (property "Reference" "U" (id 0) (at -2.54 23.495 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8L101F2U" (id 1) (at -2.54 21.59 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_DFN_QFN:ST_UFQFPN-20_3x3mm_P0.5mm" (id 2) (at 1.27 -21.59 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l101f1.pdf" (id 3) (at 0 38.1 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Value Line Low Power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 4K Flash, 1.5K RAM, 2K EEPROM, USART,  I²C, SPI, ADC, UFQFPN-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "ST?UFQFPN*3x3mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8L101F3U" (extends "STM8L101F1U")
    (property "Reference" "U" (id 0) (at -2.54 23.495 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8L101F3U" (id 1) (at -2.54 21.59 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_DFN_QFN:ST_UFQFPN-20_3x3mm_P0.5mm" (id 2) (at 1.27 -21.59 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l101f1.pdf" (id 3) (at 0 38.1 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Value Line Low Power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1.5K RAM, 2K EEPROM, USART,  I²C, SPI, ADC, UFQFPN-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "ST?UFQFPN*3x3mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8L101F2P" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8L101F2P" (id 1) (at 1.27 20.32 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" (id 2) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00220591.pdf" (id 3) (at 0 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Value Line Low Power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 4K Flash, 1.5K RAM, 2K EEPROM, USART,  I²C, SPI, ADC, TSSOP-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8L101F2P_0_1"
      (rectangle (start -11.43 19.05) (end 11.43 -19.05)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8L101F2P_1_1"
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 2.54 0) (length 3.81)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 3.81)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 3.81)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 3.81)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 3.81)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 3.81)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 3.81)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -15.24 15.24 0) (length 3.81)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -22.86 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 22.86 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8L101F3P" (extends "STM8L101F2P")
    (property "Reference" "U" (id 0) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8L101F3P" (id 1) (at 1.27 20.32 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" (id 2) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/CD00220591.pdf" (id 3) (at 0 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Value Line Low Power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1.5K RAM, 2K EEPROM, USART, I²C, SPI, ADC, TSSOP-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8L151C2T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -10.16 38.735 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Value" "STM8L151C2T" (id 1) (at -10.16 36.83 0)
      (effects (font (size 1.27 1.27)) (justify right))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 3.81 -39.37 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l151c3.pdf" (id 3) (at 0 58.42 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "8-bit ultra-low-power MCU, 4 KB Flash, 256 bytes data EEPROM, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8L151C2T_0_0"
      (pin bidirectional line (at -17.78 30.48 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 38.1 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 38.1 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 38.1 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin no_connect line (at 15.24 -20.32 180) (length 2.54) hide
        (name "NC" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 7.62 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 5.08 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 2.54 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 0 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -2.54 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -5.08 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 27.94 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 30.48 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 27.94 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 25.4 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 22.86 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 7.62 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 5.08 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 2.54 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 0 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -2.54 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -5.08 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 25.4 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -7.62 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -10.16 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -15.24 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 20.32 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 17.78 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 15.24 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 12.7 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -15.24 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -17.78 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 38.1 270) (length 2.54)
        (name "VDDIO" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 22.86 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -40.64 90) (length 2.54)
        (name "VSSIO" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -20.32 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -22.86 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -25.4 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -27.94 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -30.48 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -33.02 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -7.62 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -10.16 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 20.32 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 17.78 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 15.24 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 12.7 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -40.64 90) (length 2.54)
        (name "VSS1/VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8L151C2T_0_1"
      (rectangle (start -15.24 35.56) (end 15.24 -38.1)
        (stroke (width 0) (type default) (color 0 0 0 0))
        (fill (type background))
      )
      (rectangle (start -10.16 -53.34) (end -10.16 -53.34)
        (stroke (width 0.1524) (type default) (color 0 0 0 0))
        (fill (type none))
      )
    )
  )
  (symbol "STM8L151C3T" (extends "STM8L151C2T")
    (property "Reference" "U" (id 0) (at 0 0 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8L151C3T" (id 1) (at 13.97 38.1 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 21.59 -39.37 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l151c3.pdf" (id 3) (at 0 11.43 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 ultra-low-power" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "8-bit ultra-low-power MCU, 8 KB Flash, 256 bytes data EEPROM, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8L152R8T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at -15.24 46.99 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8L152R8T" (id 1) (at 8.89 46.99 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at -7.62 -46.99 0)
      (effects (font (size 1.27 1.27)) (justify right) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l152r8.pdf" (id 3) (at 1.27 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Low Power LCD" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 64K Flash, 2K EEPROM, LCD, USART, I²C, SPI, ADC, DAC, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8L152R8T_0_0"
      (pin passive line (at -2.54 -48.26 90) (length 2.54) hide
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 12.7 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 10.16 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 7.62 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 5.08 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 40.64 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 38.1 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 35.56 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 33.02 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 48.26 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -48.26 90) (length 2.54)
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 15.24 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 12.7 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 10.16 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 7.62 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 5.08 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 2.54 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 0 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -2.54 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -5.08 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -7.62 180) (length 2.54)
        (name "PF1" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -10.16 180) (length 2.54)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -12.7 180) (length 2.54)
        (name "PF5" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -15.24 180) (length 2.54)
        (name "PF6" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -17.78 180) (length 2.54)
        (name "PF7" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 30.48 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 27.94 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 25.4 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 22.86 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -33.02 180) (length 2.54)
        (name "PG4" (effects (font (size 1.27 1.27))))
        (number "49" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -35.56 180) (length 2.54)
        (name "PG5" (effects (font (size 1.27 1.27))))
        (number "50" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -38.1 180) (length 2.54)
        (name "PG6" (effects (font (size 1.27 1.27))))
        (number "51" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -40.64 180) (length 2.54)
        (name "PG7" (effects (font (size 1.27 1.27))))
        (number "52" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -7.62 0) (length 2.54)
        (name "PC0" (effects (font (size 1.27 1.27))))
        (number "53" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -10.16 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "54" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -7.62 48.26 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "55" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -2.54 -48.26 90) (length 2.54) hide
        (name "GND" (effects (font (size 1.27 1.27))))
        (number "56" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -12.7 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "57" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -15.24 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "58" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -17.78 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "59" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -20.32 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "60" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -22.86 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "61" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 -25.4 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "62" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 2.54 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "63" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 0 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "64" (effects (font (size 1.27 1.27))))
      )
    )
    (symbol "STM8L152R8T_0_1"
      (rectangle (start -15.24 45.72) (end 15.24 -45.72)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8L152R8T_1_1"
      (pin bidirectional line (at -17.78 38.1 0) (length 2.54)
        (name "PA0" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -10.16 48.26 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 48.26 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 48.26 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -22.86 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -25.4 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -27.94 180) (length 2.54)
        (name "PG2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 -30.48 180) (length 2.54)
        (name "PG3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 7.62 48.26 270) (length 2.54)
        (name "VLCD" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 17.78 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 35.56 0) (length 2.54)
        (name "NRST/PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 17.78 15.24 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 33.02 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 30.48 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 27.94 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 25.4 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 22.86 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -17.78 20.32 0) (length 2.54)
        (name "PA7" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -48.26 90) (length 2.54)
        (name "VSSA/VREF-" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8L152R6T" (extends "STM8L152R8T")
    (property "Reference" "U" (id 0) (at -15.24 46.99 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8L152R6T" (id 1) (at 8.89 46.99 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at -7.62 -46.99 0)
      (effects (font (size 1.27 1.27)) (justify right) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8l152r6.pdf" (id 3) (at 1.27 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8L Microcontroller Low Power LCD" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 32K Flash, 2K EEPROM, LCD, USART, I²C, SPI, ADC, DAC, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S001J3M" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 11.43 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8S001J3M" (id 1) (at 1.27 8.89 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:SO-8_3.9x4.9mm_P1.27mm" (id 2) (at 1.27 13.97 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s001j3.pdf" (id 3) (at -2.54 2.54 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Value Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 128 EEPROM, SO-8" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "SO*3.9x4.9mm*P1.27mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8S001J3M_0_1"
      (rectangle (start -7.62 7.62) (end 7.62 -7.62)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8S001J3M_1_1"
      (pin bidirectional line (at 10.16 2.54 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -10.16 90) (length 2.54)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -10.16 -5.08 0) (length 2.54)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 10.16 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -10.16 0 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -10.16 2.54 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 10.16 -2.54 180) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 10.16 0 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8S003F3P" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8S003F3P" (id 1) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm" (id 2) (at 1.27 27.94 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf" (id 3) (at -1.27 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8S Mainstream Value line 8-bit, 16MHz, 1k RAM, 128 EEPROM" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 128 EEPROM, USART, I²C, SPI, TSSOP-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "TSSOP*4.4x6.5mm*P0.65mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8S003F3P_0_1"
      (rectangle (start -11.43 21.59) (end 11.43 -21.59)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8S003F3P_1_1"
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 3.81)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 3.81)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 3.81)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 3.81)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 3.81)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -15.24 0) (length 3.81)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -25.4 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -15.24 -17.78 0) (length 3.81)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 25.4 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8S003F3U" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 25.4 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8S003F3U" (id 1) (at 1.27 22.86 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_DFN_QFN:ST_UFQFPN-20_3x3mm_P0.5mm" (id 2) (at 1.27 27.94 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf" (id 3) (at -1.27 -10.16 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8S Mainstream Value line 8-bit, 16MHz, 1k RAM, 128 EEPROM" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 128 EEPROM, USART, I²C, SPI, UFQFPN-20" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "ST?UFQFPN*3x3mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8S003F3U_0_1"
      (rectangle (start -11.43 21.59) (end 11.43 -21.59)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8S003F3U_1_1"
      (pin input line (at -15.24 -15.24 0) (length 3.81)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 3.81)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 3.81)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 3.81)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 3.81)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -25.4 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin passive line (at -15.24 -17.78 0) (length 3.81)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 25.4 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 3.81)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8S003K3T" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 1.27 35.56 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Value" "STM8S003K3T" (id 1) (at 1.27 33.02 0)
      (effects (font (size 1.27 1.27)) (justify left))
    )
    (property "Footprint" "Package_QFP:LQFP-32_7x7mm_P0.8mm" (id 2) (at 1.27 38.1 0)
      (effects (font (size 1.27 1.27)) (justify left) hide)
    )
    (property "Datasheet" "http://www.st.com/st-web-ui/static/active/en/resource/technical/document/datasheet/DM00024550.pdf" (id 3) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Value Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "16MHz, 8K Flash, 1K RAM, 128 EEPROM, LQFP-32" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.8mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8S003K3T_0_1"
      (rectangle (start -11.43 31.75) (end 11.43 -31.75)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8S003K3T_1_1"
      (pin input line (at -15.24 -25.4 0) (length 3.81)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 2.54 0) (length 3.81)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 3.81)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 3.81)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 3.81)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 3.81)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 3.81)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 3.81)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -7.62 180) (length 3.81)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 3.81)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 3.81)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 27.94 0) (length 3.81)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 3.81)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 3.81)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 3.81)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -17.78 0) (length 3.81)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -20.32 0) (length 3.81)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 3.81)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 3.81)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 3.81)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 3.81)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 3.81)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 25.4 0) (length 3.81)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 3.81)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 3.81)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 3.81)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -35.56 90) (length 3.81)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -27.94 0) (length 3.81)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 35.56 270) (length 3.81)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 22.86 0) (length 3.81)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -12.7 180) (length 3.81)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 3.81)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8S208CB" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 12.7 35.56 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S208CB" (id 1) (at 12.7 33.02 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 0 -43.18 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208cb.pdf" (id 3) (at 21.59 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 128K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, CAN, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8S208CB_0_1"
      (rectangle (start -12.7 -30.48) (end 12.7 30.48)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8S208CB_1_1"
      (pin input line (at 15.24 -22.86 180) (length 2.54)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 20.32 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 33.02 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -33.02 90) (length 2.54)
        (name "VSSA" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 2.54 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 27.94 0) (length 2.54)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -10.16 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -7.62 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -17.78 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -20.32 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 25.4 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -22.86 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -33.02 90) (length 2.54)
        (name "VSSIO_2" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 33.02 270) (length 2.54)
        (name "VDDIO_2" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -25.4 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -27.94 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -15.24 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -17.78 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -2.54 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -33.02 90) (length 2.54)
        (name "VSSIO_1" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 27.94 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 25.4 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 22.86 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 20.32 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 17.78 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 -33.02 90) (length 2.54)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at 15.24 -25.4 180) (length 2.54)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 33.02 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 33.02 270) (length 2.54)
        (name "VDDIO_1" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 22.86 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8S207C6" (extends "STM8S208CB")
    (property "Reference" "U" (id 0) (at 12.7 35.56 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S207C6" (id 1) (at 12.7 33.02 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 0 -43.18 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208cb.pdf" (id 3) (at 21.59 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 32K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S207C8" (extends "STM8S208CB")
    (property "Reference" "U" (id 0) (at 12.7 35.56 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S207C8" (id 1) (at 12.7 33.02 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 0 -43.18 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208cb.pdf" (id 3) (at 21.59 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 64K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S207CB" (extends "STM8S208CB")
    (property "Reference" "U" (id 0) (at 12.7 35.56 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S207CB" (id 1) (at 12.7 33.02 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 0 -43.18 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208cb.pdf" (id 3) (at 21.59 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 128K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S208C6" (extends "STM8S208CB")
    (property "Reference" "U" (id 0) (at 12.7 35.56 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S208C6" (id 1) (at 12.7 33.02 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 0 -43.18 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208cb.pdf" (id 3) (at 21.59 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 32K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, CAN, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S208C8" (extends "STM8S208CB")
    (property "Reference" "U" (id 0) (at 12.7 35.56 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S208C8" (id 1) (at 12.7 33.02 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-48_7x7mm_P0.5mm" (id 2) (at 0 -43.18 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208cb.pdf" (id 3) (at 21.59 33.02 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 64K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, CAN, LQFP-48" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*7x7mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S208RB" (in_bom yes) (on_board yes)
    (property "Reference" "U" (id 0) (at 13.97 48.26 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S208RB" (id 1) (at 13.97 45.72 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 1.27 -55.88 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208rb.pdf" (id 3) (at -2.54 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 128K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, CAN, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (symbol "STM8S208RB_0_1"
      (rectangle (start 12.7 43.18) (end -12.7 -43.18)
        (stroke (width 0.254) (type default) (color 0 0 0 0))
        (fill (type background))
      )
    )
    (symbol "STM8S208RB_1_1"
      (pin input line (at -15.24 -38.1 0) (length 2.54)
        (name "NRST" (effects (font (size 1.27 1.27))))
        (number "1" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 33.02 0) (length 2.54)
        (name "PA4" (effects (font (size 1.27 1.27))))
        (number "10" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 30.48 0) (length 2.54)
        (name "PA5" (effects (font (size 1.27 1.27))))
        (number "11" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 27.94 0) (length 2.54)
        (name "PA6" (effects (font (size 1.27 1.27))))
        (number "12" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -17.78 180) (length 2.54)
        (name "PF7" (effects (font (size 1.27 1.27))))
        (number "13" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -15.24 180) (length 2.54)
        (name "PF6" (effects (font (size 1.27 1.27))))
        (number "14" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -12.7 180) (length 2.54)
        (name "PF5" (effects (font (size 1.27 1.27))))
        (number "15" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -10.16 180) (length 2.54)
        (name "PF4" (effects (font (size 1.27 1.27))))
        (number "16" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -7.62 180) (length 2.54)
        (name "PF3" (effects (font (size 1.27 1.27))))
        (number "17" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 45.72 270) (length 2.54)
        (name "VREF+" (effects (font (size 1.27 1.27))))
        (number "18" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 45.72 270) (length 2.54)
        (name "VDDA" (effects (font (size 1.27 1.27))))
        (number "19" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 40.64 0) (length 2.54)
        (name "PA1" (effects (font (size 1.27 1.27))))
        (number "2" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -2.54 -45.72 90) (length 2.54)
        (name "VSSA" (effects (font (size 1.27 1.27))))
        (number "20" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 5.08 -45.72 90) (length 2.54)
        (name "VREF-" (effects (font (size 1.27 1.27))))
        (number "21" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -5.08 180) (length 2.54)
        (name "PF0" (effects (font (size 1.27 1.27))))
        (number "22" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 5.08 0) (length 2.54)
        (name "PB7" (effects (font (size 1.27 1.27))))
        (number "23" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 7.62 0) (length 2.54)
        (name "PB6" (effects (font (size 1.27 1.27))))
        (number "24" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 10.16 0) (length 2.54)
        (name "PB5" (effects (font (size 1.27 1.27))))
        (number "25" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 12.7 0) (length 2.54)
        (name "PB4" (effects (font (size 1.27 1.27))))
        (number "26" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 15.24 0) (length 2.54)
        (name "PB3" (effects (font (size 1.27 1.27))))
        (number "27" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 17.78 0) (length 2.54)
        (name "PB2" (effects (font (size 1.27 1.27))))
        (number "28" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 20.32 0) (length 2.54)
        (name "PB1" (effects (font (size 1.27 1.27))))
        (number "29" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 38.1 0) (length 2.54)
        (name "PA2" (effects (font (size 1.27 1.27))))
        (number "3" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 22.86 0) (length 2.54)
        (name "PB0" (effects (font (size 1.27 1.27))))
        (number "30" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 0 180) (length 2.54)
        (name "PE7" (effects (font (size 1.27 1.27))))
        (number "31" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 2.54 180) (length 2.54)
        (name "PE6" (effects (font (size 1.27 1.27))))
        (number "32" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 5.08 180) (length 2.54)
        (name "PE5" (effects (font (size 1.27 1.27))))
        (number "33" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 0 0) (length 2.54)
        (name "PC1" (effects (font (size 1.27 1.27))))
        (number "34" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -2.54 0) (length 2.54)
        (name "PC2" (effects (font (size 1.27 1.27))))
        (number "35" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -5.08 0) (length 2.54)
        (name "PC3" (effects (font (size 1.27 1.27))))
        (number "36" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -7.62 0) (length 2.54)
        (name "PC4" (effects (font (size 1.27 1.27))))
        (number "37" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -10.16 0) (length 2.54)
        (name "PC5" (effects (font (size 1.27 1.27))))
        (number "38" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 -45.72 90) (length 2.54)
        (name "VSSIO_2" (effects (font (size 1.27 1.27))))
        (number "39" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 -45.72 90) (length 2.54)
        (name "VSSIO_1" (effects (font (size 1.27 1.27))))
        (number "4" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 2.54 45.72 270) (length 2.54)
        (name "VDDIO_2" (effects (font (size 1.27 1.27))))
        (number "40" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -12.7 0) (length 2.54)
        (name "PC6" (effects (font (size 1.27 1.27))))
        (number "41" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -15.24 0) (length 2.54)
        (name "PC7" (effects (font (size 1.27 1.27))))
        (number "42" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -22.86 180) (length 2.54)
        (name "PG0" (effects (font (size 1.27 1.27))))
        (number "43" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -25.4 180) (length 2.54)
        (name "PG1" (effects (font (size 1.27 1.27))))
        (number "44" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -27.94 180) (length 2.54)
        (name "PG2" (effects (font (size 1.27 1.27))))
        (number "45" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -30.48 180) (length 2.54)
        (name "PG3" (effects (font (size 1.27 1.27))))
        (number "46" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -33.02 180) (length 2.54)
        (name "PG4" (effects (font (size 1.27 1.27))))
        (number "47" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 -33.02 0) (length 2.54)
        (name "PI0" (effects (font (size 1.27 1.27))))
        (number "48" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -35.56 180) (length 2.54)
        (name "PG5" (effects (font (size 1.27 1.27))))
        (number "49" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 -45.72 90) (length 2.54)
        (name "VSS" (effects (font (size 1.27 1.27))))
        (number "5" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -38.1 180) (length 2.54)
        (name "PG6" (effects (font (size 1.27 1.27))))
        (number "50" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 -40.64 180) (length 2.54)
        (name "PG7" (effects (font (size 1.27 1.27))))
        (number "51" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 7.62 180) (length 2.54)
        (name "PE4" (effects (font (size 1.27 1.27))))
        (number "52" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 10.16 180) (length 2.54)
        (name "PE3" (effects (font (size 1.27 1.27))))
        (number "53" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 12.7 180) (length 2.54)
        (name "PE2" (effects (font (size 1.27 1.27))))
        (number "54" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 15.24 180) (length 2.54)
        (name "PE1" (effects (font (size 1.27 1.27))))
        (number "55" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 17.78 180) (length 2.54)
        (name "PE0" (effects (font (size 1.27 1.27))))
        (number "56" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 40.64 180) (length 2.54)
        (name "PD0" (effects (font (size 1.27 1.27))))
        (number "57" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 38.1 180) (length 2.54)
        (name "PD1" (effects (font (size 1.27 1.27))))
        (number "58" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 35.56 180) (length 2.54)
        (name "PD2" (effects (font (size 1.27 1.27))))
        (number "59" (effects (font (size 1.27 1.27))))
      )
      (pin input line (at -15.24 -40.64 0) (length 2.54)
        (name "VCAP" (effects (font (size 1.27 1.27))))
        (number "6" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 33.02 180) (length 2.54)
        (name "PD3" (effects (font (size 1.27 1.27))))
        (number "60" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 30.48 180) (length 2.54)
        (name "PD4" (effects (font (size 1.27 1.27))))
        (number "61" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 27.94 180) (length 2.54)
        (name "PD5" (effects (font (size 1.27 1.27))))
        (number "62" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 25.4 180) (length 2.54)
        (name "PD6" (effects (font (size 1.27 1.27))))
        (number "63" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at 15.24 22.86 180) (length 2.54)
        (name "PD7" (effects (font (size 1.27 1.27))))
        (number "64" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at -5.08 45.72 270) (length 2.54)
        (name "VDD" (effects (font (size 1.27 1.27))))
        (number "7" (effects (font (size 1.27 1.27))))
      )
      (pin power_in line (at 0 45.72 270) (length 2.54)
        (name "VDDIO_1" (effects (font (size 1.27 1.27))))
        (number "8" (effects (font (size 1.27 1.27))))
      )
      (pin bidirectional line (at -15.24 35.56 0) (length 2.54)
        (name "PA3" (effects (font (size 1.27 1.27))))
        (number "9" (effects (font (size 1.27 1.27))))
      )
    )
  )
  (symbol "STM8S207R6" (extends "STM8S208RB")
    (property "Reference" "U" (id 0) (at 13.97 48.26 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S207R6" (id 1) (at 13.97 45.72 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 1.27 -55.88 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208rb.pdf" (id 3) (at -2.54 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 32K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S207R8" (extends "STM8S208RB")
    (property "Reference" "U" (id 0) (at 13.97 48.26 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S207R8" (id 1) (at 13.97 45.72 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 1.27 -55.88 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208rb.pdf" (id 3) (at -2.54 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 64K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S207RB" (extends "STM8S208RB")
    (property "Reference" "U" (id 0) (at 13.97 48.26 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S207RB" (id 1) (at 13.97 45.72 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 1.27 -55.88 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208rb.pdf" (id 3) (at -2.54 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 128K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S208R6" (extends "STM8S208RB")
    (property "Reference" "U" (id 0) (at 13.97 48.26 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S208R6" (id 1) (at 13.97 45.72 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 1.27 -55.88 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208rb.pdf" (id 3) (at -2.54 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 32K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, CAN, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
  (symbol "STM8S208R8" (extends "STM8S208RB")
    (property "Reference" "U" (id 0) (at 13.97 48.26 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Value" "STM8S208R8" (id 1) (at 13.97 45.72 0)
      (effects (font (size 1.27 1.27)))
    )
    (property "Footprint" "Package_QFP:LQFP-64_10x10mm_P0.5mm" (id 2) (at 1.27 -55.88 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "Datasheet" "https://www.st.com/resource/en/datasheet/stm8s208rb.pdf" (id 3) (at -2.54 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_keywords" "STM8 Microcontroller Performance Line" (id 4) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_description" "24MHz, 64K Flash, 2K EEPROM, 10-bit ADC, 2 UARTs, SPI, I²C, CAN, LQFP-64" (id 5) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
    (property "ki_fp_filters" "LQFP*10x10mm*P0.5mm*" (id 6) (at 0 0 0)
      (effects (font (size 1.27 1.27)) hide)
    )
  )
)
