Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

# a2d.h

    00001 /*! \file a2d.h \brief Analog-to-digital Converter Driver for ADuC7000. */
    00002 //*****************************************************************************
    00003 //
    00004 // File Name    : 'a2d.h'
    00005 // Title        : Analog-to-digital Converter Driver for ADuC7000
    00006 // Author       : Pascal Stang - Copyright (C) 2005
    00007 // Created      : 2/5/2005
    00008 // Revised      : 2/5/2005
    00009 // Version      : 0.1
    00010 // Target MCU   : Analog Devices ADuC7000 ARM Series
    00011 // Editor Tabs  : 4
    00012 //
    00013 // This code is distributed under the GNU Public License
    00014 //      which can be found at http://www.gnu.org/licenses/gpl.txt
    00015 //
    00016 //*****************************************************************************
    00017
    00018 #ifndef A2D_H
    00019 #define A2D_H
    00020
    00021 #include "global.h"
    00022 #include "aduc7026.h"
    00023
    00024 // defines
    00025
    00026 // functions
    00027
    00028 //! initializes uart
    00029 void a2dInit(void);
    00030
    00031 //! start conversion on [channel] and return result
    00032 int a2dConvert(int channel);
    00033
    00034 #endif