BSP430  20141115
Board Support Package for MSP430 microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Data Fields
sBSP430cliCompletionHelper Struct Reference

#include <bsp430/utility/cli.h>

Data Fields

vBSP430cliCompletionHelper helper
 

Detailed Description

Structure encoding information to identify candidate completions.

When configBSP430_CLI_COMMAND_COMPLETION_HELPER is true sBSP430cliCommand::completion_helper is present in every command definition to support customized completion for commands that do not have subcommands.

This base structure contains only the pointer to the function that implements the completion. A pointer to the structure instance is passed to the function, and the techniques of Providing Extended Information to the Callback may be used to provide additional information. See sBSP430cliCompletionHelperStrings.

Field Documentation

vBSP430cliCompletionHelper sBSP430cliCompletionHelper::helper

The function that implements the completion operation.

Examples:
utility/cli/main.c.

The documentation for this struct was generated from the following file: