# Symbol definition of MAX232/232A/220 (DIP16 and SO16 footprint) for gschem/gEDA
# S. Salewski, 30-OCT-2007
# File: MAX232-1.txt
# The Python script "tragesym" is used to convert this textual symbol definition to a symbol
# usage: tragesym MAX232-1.txt MAX232-1.sym

# tragesym options

[options]
# wordswap swaps labels if the pin is on the right side and looks like this:
#   "PB1 (CLK)". That's useful for micro controller port labels
# rotate_labels rotates the pintext of top and bottom pins
#   this is useful for large symbols like FPGAs with more than 100 pins
# sort_labels will sort the pins by it's labels
#   useful for address ports, busses, ...
wordswap=no
rotate_labels=no
sort_labels=no
generate_pinseq=yes
sym_width=1600
pinwidthvertical=300
pinwidthhorizontal=300

[geda_attr]
# name will be printed in the top of the symbol
# if you have a device with slots, you'll have to use slot= and slotdef=
# use comment= if there are special information you want to add
version=20060113 1
name=MAX232
device=MAX232
refdes=U?
footprint=SO16
description=MAX232 RS-232 Drivers/Receivers
documentation=http://datasheets.maxim-ic.com/en/ds/MAX220-MAX249.pdf
author=Stefan Salewski
dist-license=GPL
use-license=unlimited
numslots=0
#slot=1
#slotdef=1:
#slotdef=2:
#slotdef=3:
#slotdef=4:
comment=generated with Python script tragesym

[pins]
# tabseparated list of pin descriptions
# ----------------------------------------
# pinnr is the physical number of the pin
# seq is the pinseq= attribute, leave it blank if it doesn't matter
# type can be (in, out, io, oc, oe, pas, tp, tri, clk, pwr)
# style can be (line,dot,clk,dotclk,none). none if only want to add a net
# posit. can be (l,r,t,b) or empty for nets
# net specifies the name of the net. Vcc or GND for example.
# label represents the pinlabel.
#	negation lines can be added with "\_" example: \_enable\_ 
#	if you want to write a "\" use "\\" as escape sequence
#-----------------------------------------------------
#pinnr	seq	type	style	posit.	net	label	
#-----------------------------------------------------
1		pwr	line	l		C1+
2		pwr	line	l		V+
3		pwr	line	l		C1-
4		pwr	line	l		C2+
5		pwr	line	l		C2-
6		pwr	line	l		V-
7		out	line	l		T2OUT		
8		in	line	l		R2IN
16		pwr	line	r		VCC
15		pwr	line	r		GND
14		out	line	r		T1OUT
13		in	line	r		R1IN
12		out	line	r		R1OUT
11		in	line	r		T1IN
10		in	line	r		T2IN
9		out	line	r		R2OUT

