GPIB_AVR
defs.h
Go to the documentation of this file.
00001 /*************************************************************************
00002 Author:         $Author: dennis $
00003 File:           $HeadURL: file://localhost/home/dennis/svn-store/avr-source/gpib_004/defs.h $
00004 Date:           $Date: 2012-03-25 18:14:48 +0200 (So, 25 Mrz 2012) $ 
00005 Revision:       $Revision: 685 $ 
00006 Id:             $Id: defs.h 685 2012-03-25 16:14:48Z dennis $ 
00007 Licence:        GNU General Public License
00008 
00009 DESCRIPTION:
00010           standard definitions used in all .h and .c files of project
00011  *************************************************************************/
00012 #ifndef DEFS_H_
00013 #define DEFS_H_
00014 
00015 typedef unsigned char uchar;
00016 typedef unsigned int uint;
00017 typedef unsigned long ulong;
00018 
00019 #ifndef F_CPU
00020 #error "You must define F_CPU value (CPU frequency in Hz)"
00021 /*#define F_CPU 1000000*/
00022 #endif
00023 
00024 #define UART_BAUD_RATE      38400     
00025 #define DI() uart_init( UART_BAUD_SELECT(UART_BAUD_RATE,F_CPU) )
00026 
00027 #endif /*DEFS_H_*/