A2D.h

Go to the documentation of this file.
00001 /********************************************************************************
00002 /
00003 /   File:       A2D.h
00004 /
00005 /   Description:    Analog-to-Digital converter class header.
00006 /
00007 /   Copyright 1996-98, Be Incorporated, All Rights Reserved.
00008 /
00009 ********************************************************************************/
00010 
00011 
00012 #ifndef _A2D_H
00013 #define _A2D_H
00014 
00015 #include <BeBuild.h>
00016 #include <stddef.h>
00017 #include <SupportDefs.h>
00018 
00019 /* -----------------------------------------------------------------------*/
00020 class BA2D {
00021 
00022 public:
00023                     BA2D();
00024 virtual             ~BA2D();
00025 
00026         status_t    Open(const char *portName);
00027         void        Close(void);
00028         bool        IsOpen(void);
00029 
00030         ssize_t     Read(ushort *buf);
00031 
00032 /* -----------------------------------------------------------------------*/
00033 
00034 private:
00035 virtual void        _ReservedA2D1();
00036 virtual void        _ReservedA2D2();
00037 virtual void        _ReservedA2D3();
00038 
00039         int         ffd;
00040         uint32      _fReserved[3];
00041 };
00042 
00043 #endif

Copyright 2005 by yellowTAB GmbH, Be Inc., Palm Source Inc. and their respective legal successors
All rights reserved.