from collections import defaultdict from skidl import Pin, Part, Alias, SchLib, SKIDL, TEMPLATE from skidl.pin import pin_types SKIDL_lib_version = '0.0.1' rtc = SchLib(tool=SKIDL).add_parts(*[ Part(**{ 'name':'RV-8803-C7', 'dest':TEMPLATE, 'tool':SKIDL, 'aliases':Alias({'RV-8803-C7'}), 'ref_prefix':'U', 'fplist':None, 'footprint':'RTC_MicroCrystal:RV-8803-C7', 'keywords':None, 'description':'', 'datasheet':None, 'pins':[ Pin(num='1',name='SDA',func=pin_types.BIDIR), Pin(num='2',name='CLKOUT',func=pin_types.OUTPUT), Pin(num='3',name='VDD',func=pin_types.PWRIN), Pin(num='4',name='CLKOE',func=pin_types.INPUT), Pin(num='5',name='VSS',func=pin_types.PWRIN), Pin(num='6',name='INT',func=pin_types.OPENCOLL), Pin(num='7',name='EVI',func=pin_types.INPUT), Pin(num='8',name='SCL',func=pin_types.INPUT)] }), Part(**{ 'name':'D_Schottky', 'dest':TEMPLATE, 'tool':SKIDL, 'aliases':Alias({'D_Schottky'}), 'ref_prefix':'D', 'fplist':[''], 'footprint':'Diode_SMD:D_SOD-323', 'keywords':'diode Schottky', 'description':'Schottky diode', 'datasheet':'~', 'pins':[ Pin(num='1',name='K',func=pin_types.PASSIVE,unit=1), Pin(num='2',name='A',func=pin_types.PASSIVE,unit=1)], 'unit_defs':[] }), Part(**{ 'name':'Battery_Cell', 'dest':TEMPLATE, 'tool':SKIDL, 'aliases':Alias({'Battery_Cell'}), 'ref_prefix':'BT', 'fplist':[''], 'footprint':'Battery:BatteryHolder_Keystone_1066_1x2032', 'keywords':'battery cell', 'description':'Single-cell battery', 'datasheet':'~', 'pins':[ Pin(num='1',name='+',func=pin_types.PASSIVE,unit=1), Pin(num='2',name='-',func=pin_types.PASSIVE,unit=1)], 'unit_defs':[] }), Part(**{ 'name':'C', 'dest':TEMPLATE, 'tool':SKIDL, 'aliases':Alias({'C'}), 'ref_prefix':'C', 'fplist':[''], 'footprint':'Capacitor_SMD:C_0402_1005Metric', 'keywords':'cap capacitor', 'description':'Unpolarized capacitor', 'datasheet':'~', 'pins':[ Pin(num='1',name='~',func=pin_types.PASSIVE,unit=1), Pin(num='2',name='~',func=pin_types.PASSIVE,unit=1)], 'unit_defs':[] }), Part(**{ 'name':'R', 'dest':TEMPLATE, 'tool':SKIDL, 'aliases':Alias({'R'}), 'ref_prefix':'R', 'fplist':[''], 'footprint':'Resistor_SMD:R_0402_1005Metric', 'keywords':'R res resistor', 'description':'Resistor', 'datasheet':'~', 'pins':[ Pin(num='1',name='~',func=pin_types.PASSIVE,unit=1), Pin(num='2',name='~',func=pin_types.PASSIVE,unit=1)], 'unit_defs':[] })])