Coolquest, Inc. Home Products Support About Contact
cbold_logo_gif C++BOLD Example Parts Library cbold_logo_gif

<<  File View  >> Class View Parts Library Examples Home

 

// This File Generated by:  pt_to_h.exe
// Source File:             osc8.pt
// Destination File:        osc8.h
 
#ifndef _osc8_h_
#define _osc8_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_OSC8 : public TPart {
 
public:
  port   OUTPUT;     
  port   OE;         // output enable
  port   VCC5;       // 5V VCC
  port   GND;        
 
  CP_OSC8() {
    SetPackage( "DIP8", 4 );
    SetReferencePrefix( "X" );
  }
 
  virtual void Register() {
    reg(  OUTPUT );
          OUTPUT.SetPin( "5" );
    reg(  OE );
          OE.SetPin( "1" );
    reg(  VCC5 );
          VCC5.SetPin( "8" );
    reg(  GND );
          GND.SetPin( "4" );
  }
};
 
 
#endif

 

<<  File View  >> Class View Parts Library Examples Home

Legal Copyright © 2007 by Coolquest, Inc. Contact