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: ad9501.pt // Destination File: ad9501.h #ifndef _ad9501_h_ #define _ad9501_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_AD9501 : public TPart { public: port D; // AR_BUS(7,0) port LATCH; port TRIGGER; port RESET; port DAC_OUTPUT; port C; port R; port OUT; port OFFSET_ADJUST; port VCC; // 2 pins port GND; // 2 pins CP_AD9501() { SetPackage( "JP20A", 20 ); SetReferencePrefix( "U" ); } virtual void Register() { regb( D, 7, 0 ); D.AddPin( 7, "19" ); D.AddPin( 6, "18" ); D.AddPin( 5, "17" ); D.AddPin( 4, "16" ); D.AddPin( 3, "15" ); D.AddPin( 2, "14" ); D.AddPin( 1, "13" ); D.AddPin( 0, "12" ); reg( LATCH ); LATCH.SetPin( "2" ); reg( TRIGGER ); TRIGGER.SetPin( "3" ); reg( RESET ); RESET.SetPin( "4" ); reg( DAC_OUTPUT ); DAC_OUTPUT.SetPin( "5" ); reg( C ); C.SetPin( "6" ); reg( R ); R.SetPin( "7" ); reg( OUT ); OUT.SetPin( "10" ); reg( OFFSET_ADJUST ); OFFSET_ADJUST.SetPin( "8" ); reg( VCC ); VCC.AddPin( "1" ); VCC.AddPin( "11" ); reg( GND ); GND.AddPin( "9" ); GND.AddPin( "20" ); } }; #endif
<< File View >> | Class View | Parts Library | Examples Home |
Legal | Copyright © 2007 by Coolquest, Inc. | Contact |