ChibiOS/RT Logo ChibiOS/RT

Architecture - Reference Manual - Guides

Functions | Variables

shell.c File Reference

Simple CLI shell code. More...

#include <stdio.h>
#include <string.h>
#include "ch.h"
#include "hal.h"
#include "shell.h"

Go to the source code of this file.

Functions

void shellInit (void)
 Shell manager initialization.
ThreadshellCreate (const ShellConfig *scp, size_t size, tprio_t prio)
 Spawns a new shell.
void shellPrint (BaseChannel *chp, const char *msg)
 Prints a string.
void shellPrintLine (BaseChannel *chp, const char *msg)
 Prints a string with a final newline.
bool_t shellGetLine (BaseChannel *chp, char *line, unsigned size)
 Reads a whole line from the input channel.

Variables

EventSource shell_terminated
 Shell termination event source.

Detailed Description

Simple CLI shell code.

Definition in file shell.c.


Generated on Sun Oct 24 2010 09:40:38 for ChibiOS/RT by doxygen 1.7.1