| Kinetis SDK Demo Applications User Guide 1.0.0-beta Freescale Semiconductor, Inc.

- Main Page
- Related Pages
- Demos

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Enumerations | Functions
shell.h File Reference
`#include <stdint.h>`
`#include <string.h>`
`#include <ctype.h>`
`#include "shell_config.h"`

Go to the source code of this file.

## Data Structures
struct | shell_io_install_t
struct | cmd_tbl_t
| Access command structure. More...

## Enumerations
enum | command_ret_t { CMD_RET_SUCCESS, CMD_RET_FAILURE, CMD_RET_USAGE }

## Functions
uint8_t | shell_register_function (const cmd_tbl_t *pAddress)
| register a user function More...
void | shell_register_function_array (const cmd_tbl_t *pAddress, uint8_t num)
| register function array More...
uint8_t | shell_unregister_function (char *name)
| unregister function More...
int | shell_printf (const char *format,...)
| use vsprintf for format. More...
void | shell_beep (void)
| beep consult More...
const cmd_tbl_t * | shell_find_command (const char *cmd)
| find command form command struct's name More...
uint8_t | shell_io_install (shell_io_install_t *IOInstallStruct)
| install shell io function. More...
const cmd_tbl_t ** | shell_get_cmd_tbl (void)
| get global cmdstruct table address More...
char ** | shell_get_hist_data_list (uint8_t *num, uint8_t *cur_index)
void | shell_main_loop (char *prompt)