Coolquest, Inc. | Home | Products | Support | About | Contact | |||
|
<< File View >> | Class View | Parts Library | Examples Home |
// This File Generated by: pt_to_h.exe // Source File: diodes.pt // Destination File: diodes.h #ifndef _diodes_h_ #define _diodes_h_ // AR_OFF -- auto registration is not needed // THIS FILE IS IN THE PUBLIC DOMAIN. // IT IS PROVIDED AS IS WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT // NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. class CP_MBRB2515L : public TPart { // Schottky diode public: port ANODE; // 2 pins port CATHODE; CP_MBRB2515L() { SetPackage( "D2PAK", 3 ); SetReferencePrefix( "D" ); } virtual void Register() { reg( ANODE ); ANODE.AddPin( "1" ); ANODE.AddPin( "3" ); reg( CATHODE ); CATHODE.SetPin( "4" ); } }; class CP_MBRS130LT3 : public TPart { // Schottky diode public: port ANODE; port CATHODE; // pin 1 has cathode polarity band marking CP_MBRS130LT3() { SetPackage( "SMB", 2 ); SetReferencePrefix( "D" ); } virtual void Register() { reg( ANODE ); ANODE.SetPin( "2" ); reg( CATHODE ); CATHODE.SetPin( "1" ); } }; class CP_MCR12DSNT4 : public TPart { // SCR public: port CATHODE; port GATE; port ANODE; CP_MCR12DSNT4() { SetPackage( "DPAK", 3 ); SetReferencePrefix( "Q" ); } virtual void Register() { reg( CATHODE ); CATHODE.SetPin( "1" ); reg( GATE ); GATE.SetPin( "3" ); reg( ANODE ); ANODE.SetPin( "4" ); } }; #endif
<< File View >> | Class View | Parts Library | Examples Home |
Legal | Copyright © 2007 by Coolquest, Inc. | Contact |