Spice Library
* MAX6817 MACROMODEL
* ------------------------------
* Revision 0, 5/2005
* ------------------------------
* The MAX6817 is a dual switch debouncer that provide clean interfacing of
* meachanical switches to digital systems. It accepts bouncing inputs from
* mechanical switches and produce a clean digital output after a preset
* qualification delay.
* * ------------------------------
* Connections
* 1 = IN1
* 2 = GND
* 3 = IN2
* 4 = OUT2
* 5 = VCC
* 6 = OUT1
***************************************
***************************************
.SUBCKT MAX6817 1 2 3 4 5 6
XDEB1 2 1 6 5 MAX6817_S
XDEB2 2 3 4 5 MAX6817_S
.ENDS
***************************************
.SUBCKT MAX6817_S 1 2 3 4
* 1 = GND
* 2 = IN
* 3 = OUT
* 4 = VCC
***************************************
*UVLO VDD(2.6V and 100mV hyst)
VUV 11 1 2.7V
GUV 1 12 POLY(2) 4 11 12 1 0 1M 100U
DUV2 1 12 DA
CUV 12 1 1P
DUV1 12 13 DA
VUV1 13 1 1V
**************
*SUPPLY CURRENT
RSUP 4 1 833K
**************
*INPUT (1.75V AND 300mV hyst)
RPU 4 2 63K
RIN 2 14 15K
DIN1 1 14 DB
DIN2 14 4 DB
VINTH 15 1 1.75V
GINTH 1 16 POLY(2) 14 15 16 1 0 1M 300U
DINTH1 1 16 DA
CINTH 16 1 1P
DINTH2 16 13 DA
**************
EDL1 17 1 16 1 1
RDL1 17 18 1
DDL1 18 19 DA
RDL2 18 19 1MEG
CDL1 19 1 31.1N
**************
RDL3 17 20 1
DDL2 21 20 DA
RDL4 20 21 1MEG
CDL2 21 1 31.1N
**************
VDL1 22 1 0.8
VDL2 23 1 0.2
GDL1 1 24 21 22 10M
DDL3 1 24 DA
DDL4 24 13 DA
CDL3 24 1 10P
******
GDL2 1 25 19 23 10M
DDL5 1 25 DA
DDL6 25 13 DA
CDL4 25 1 10P
EDL2 26 1 24 1 1
EDL3 27 1 25 1 1
DDL7 26 28 DA
DDL8 28 27 DA
RDL5 28 29 1
CDL 29 1 1U
EDL4 30 1 POLY(2) 13 29 4 1 0 0 0 0 1
**************
*OUTPUT
MOUT1 3 30 4 4 MP1 L=0.5U W=11U
MOUT2 3 30 1 1 MN1 L=0.5U W=50U
***************************************
.MODEL DA D(N=0.1M)
.MODEL DB D(IS=100E-14)
.MODEL MP1 PMOS(VTO=-0.7 KP=5E-6)
.MODEL MN1 NMOS(VTO=0.7 KP=10E-6)
***************************************
.ENDS
* Copyright (c) 2003-2012 Maxim Integrated Products. All Rights Reserved.