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

cmdline.h File Reference

Detailed Description

Definition in file cmdline.h.

#include "global.h"

Go to the source code of this file.


typedef void(* CmdlineFuncPtrType )(void)


void cmdlineInit (void)
 initalize the command line system
void cmdlineAddCommand (u08 *newCmdString, CmdlineFuncPtrType newCmdFuncPtr)
 add a new command to the database of known commands
void cmdlineSetOutputFunc (void(*output_func)(unsigned char c))
 sets the function used for sending characters to the user terminal
void cmdlineInputFunc (unsigned char c)
 call this function to pass input charaters from the user terminal
void cmdlineMainLoop (void)
 call this function in your program's main loop
void cmdlineRepaint (void)
void cmdlineDoHistory (u08 action)
void cmdlineProcessInputString (void)
void cmdlinePrintPrompt (void)
void cmdlinePrintError (void)
u08 * cmdlineGetArgStr (u08 argnum)
 returns a string pointer to argument number [argnum] on the command line
long cmdlineGetArgInt (u08 argnum)
 returns the decimal integer interpretation of argument number [argnum]
long cmdlineGetArgHex (u08 argnum)
 returns the hex integer interpretation of argument number [argnum]

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