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: w170_01.pt // Destination File: w170_01.h #ifndef _w170_01_h_ #define _w170_01_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_W170_01 : public TPart { public: port FBIN; //feedback input port IN; //reference input port GND; port FS; // AR_BUS(1,0) //fuction select input port OUT1; port OUT2; port AVCC; //VCC ("AVCC" because ferrite noise filter is recommended) CP_W170_01() { SetPackage( "SOIC8", 8 ); SetReferencePrefix( "U" ); } virtual void Register() { reg( FBIN ); FBIN.SetPin( "1" ); reg( IN ); IN.SetPin( "2" ); reg( GND ); GND.SetPin( "3" ); regb( FS, 1, 0 ); FS.AddPin( 1, "5" ); FS.AddPin( 0, "4" ); reg( OUT1 ); OUT1.SetPin( "6" ); reg( OUT2 ); OUT2.SetPin( "8" ); reg( AVCC ); AVCC.SetPin( "7" ); } }; #endif
<< File View >> | Class View | Parts Library | Examples Home |
Legal | Copyright © 2007 by Coolquest, Inc. | Contact |