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

cmdlineconf.h

Go to the documentation of this file.
00001 /*! \file cmdlineconf.h \brief Command-Line Interface Library Configuration. */
00002 //*****************************************************************************
00003 //
00004 // File Name    : 'cmdlineconf.h'
00005 // Title        : Command-Line Interface Library Configuration
00006 // Author       : Pascal Stang - Copyright (C) 2003
00007 // Created      : 2003.07.16
00008 // Revised      : 2003.07.21
00009 // Version      : 0.1
00010 // Target MCU   : Atmel AVR Series
00011 // Editor Tabs  : 4
00012 //
00013 // NOTE: This code is currently below version 1.0, and therefore is considered
00014 // to be lacking in some functionality or documentation, or may not be fully
00015 // tested.  Nonetheless, you can expect most functions to work.
00016 //
00017 // This code is distributed under the GNU Public License
00018 //      which can be found at http://www.gnu.org/licenses/gpl.txt
00019 //
00020 //*****************************************************************************
00021 
00022 #ifndef CMDLINECONF_H
00023 #define CMDLINECONF_H
00024 
00025 #include "global.h"
00026 
00027 // constants/macros/typdefs
00028 
00029 // size of command database
00030 // (maximum number of commands the cmdline system can handle)
00031 #define CMDLINE_MAX_COMMANDS    10
00032 
00033 // maximum length (number of characters) of each command string
00034 // (quantity must include one additional byte for a null terminator)
00035 #define CMDLINE_MAX_CMD_LENGTH  15
00036 
00037 // allotted buffer size for command entry
00038 // (must be enough chars for typed commands and the arguments that follow)
00039 #define CMDLINE_BUFFERSIZE      80
00040 
00041 // number of lines of command history to keep
00042 // (each history buffer is CMDLINE_BUFFERSIZE in size)
00043 // ***** ONLY ONE LINE OF COMMAND HISTORY IS CURRENTLY SUPPORTED
00044 #define CMDLINE_HISTORYSIZE     1
00045 
00046 #endif

Generated on Sun Oct 29 03:41:06 2006 for Procyon AVRlib by  doxygen 1.4.2