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:             drivers.pt
// Destination File:        drivers.h
 
#ifndef _drivers_h_
#define _drivers_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_CTX259ND : public TPart {     //50-100Mhz oscillator
 
public:
  port   OUTPUT;     
  port   OE;         //output enable
  port   VCC;        
  port   GND;        
 
  CP_CTX259ND() {
    SetPackage( "MXO45HST80", 4 );
    SetReferencePrefix( "U" );
  }
 
  virtual void Register() {
    reg(  OUTPUT );
          OUTPUT.SetPin( "5" );
    reg(  OE );
          OE.SetPin( "1" );
    reg(  VCC );
          VCC.SetPin( "8" );
    reg(  GND );
          GND.SetPin( "4" );
  }
};
 
 
#endif

 

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

Legal Copyright © 2007 by Coolquest, Inc. Contact