00001 /*! \file d2a.h \brief Digital-to-Analog Converter Driver for ADuC7000. */ 00002 //***************************************************************************** 00003 // 00004 // File Name : 'd2a.h' 00005 // Title : Digital-to-Analog 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 D2A_H 00019 #define D2A_H 00020 00021 #include "global.h" 00022 #include "aduc7026.h" 00023 00024 // defines 00025 00026 // functions 00027 00028 //! initializes DACs 00029 void d2aInit(void); 00030 00031 //! set DAC output level 00032 void d2aSet(int channel, int level); 00033 00034 #endif