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: opamps.pt // Destination File: opamps.h #ifndef _opamps_h_ #define _opamps_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_OPAMP_DUAL_SOIC8 : public TPart { // generic dual op-amp, e.g., LT1366 public: port A_IN_P; port A_IN_N; port A_OUT; port B_IN_P; port B_IN_N; port B_OUT; port VPP; // positive supply port VNN; // negative supply CP_OPAMP_DUAL_SOIC8() { SetPackage( "SOIC8", 8 ); SetReferencePrefix( "U" ); } virtual void Register() { reg( A_IN_P ); A_IN_P.SetPin( "3" ); reg( A_IN_N ); A_IN_N.SetPin( "2" ); reg( A_OUT ); A_OUT.SetPin( "1" ); reg( B_IN_P ); B_IN_P.SetPin( "5" ); reg( B_IN_N ); B_IN_N.SetPin( "6" ); reg( B_OUT ); B_OUT.SetPin( "7" ); reg( VPP ); VPP.SetPin( "8" ); reg( VNN ); VNN.SetPin( "4" ); } }; #endif
<< File View >> | Class View | Parts Library | Examples Home |
Legal | Copyright © 2007 by Coolquest, Inc. | Contact |