Code Search for Developers
 
 
  

FCPipe.h from Make Controller at Krugle


Show FCPipe.h syntax highlighted

/******************************************************************************
*
*      Company                   :  CIRIEL for ATMEL
*      Service Line              :  Product Devlopment
*      Project                   :  FingerChip
*      Task                      :  
*
*      Soft name                 :  FCPipe.h
*      Soft version              :  1.00 
*
*      Description               :  interface of the CFCPipe class
*                  
*      Authors                   :  Pascal E
*
*      Platform                  :  PC
*      System                    :  Win 9X, 2K
*
*      Programming language      :  C ++
*      Operating System          :  Windows
*      Date of creation          :  08/30/2002
*
*      Prefix                    :
*      Code size (.o) (KB)       :
*
*      References                :
*
*      History                   :
*
*     Copyright (c) 
*     All rights reserved
*
******************************************************************************/

#ifndef _INCLUDE_FINGERCHIP_PIPE_HEADER_
#define _INCLUDE_FINGERCHIP_PIPE_HEADER_

#include "WTypes.h"


class CFCPipe
{
    ULONG m_WriteCount;
    ULONG m_ReadCount;

  public :

    ULONG GetWriteCount();
    void ResetWriteCount();

    ULONG GetReadCount();
    void ResetReadCount();

    short Read(LPVOID pBuffer, ULONG ulBufferSize);
    short Write(LPVOID pBuffer, ULONG ulBufferSize);

    virtual short ReadPipe(LPVOID pBuffer, ULONG ulBufferSize) = 0;
    virtual short WritePipe(LPVOID pBuffer, ULONG ulBufferSize) = 0;

    virtual short FlushOut() = 0;
};

#endif




See more files for this project here

Make Controller

The Make Controller is an open microcontroller platform for Makers of all kinds, by MakingThings. This project maintains the official firmware for the board and source for the software tools used with the board.

Project homepage: http://sourceforge.net/projects/makingthings
Programming language(s): C,C#,C++
License: other

  FCPipe.cpp
  FCPipe.h
  FCPipeUSB.cpp
  FCPipeUSB.h
  FC_Error.h
  SAM-BA.dll
  SAMBADLL.cpp
  SAMBADLL.h
  timer.cpp
  timer.h
  xmodem.cpp
  xmodem.h