name: CH340
# not variations are defined here
variations: E
description: transceiver, USB to serial
datasheet: http://www.wch-ic.com/downloads/file/79.html
distributors: LCSC C99652

pinout@E:
  USB:
    UD+: 1
    UD-: 2
  TNOW: 6
  CTRL:
    RTS: 4
    CTS: 5
  UART:
    TXD: 8
    RXD: 9
  POWER:
    VCC: 7
    V3: 10
  GND: 3

properties:
  bidir: USB
  in: RXD, CTS
  out: TXD, RTS, TNOW
  power: POWER
  ground: GND

schematic@E:
  symbol: ic
  left: USB, TNOW
  right: UART, CTRL
  top: POWER
  bottom: GND

housing@E: # MSOP-10, dimensions from diodes MSOP-10 datasheet
  suffix: E
  pattern: SOP
  bodyWidth: 3.0 # E1
  bodyLength: 3.0 # D
  height: 1.1 # A
  leadSpan: 4.9 # E
  leadWidth: 0.2 # b
  leadLength: 0.6 # L
  leadCount: 10
  pitch: 0.5 # e
