BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
#include <bsp430/utility/cli.h>
Data Fields | |
struct sBSP430cliCommandLink * | link |
const struct sBSP430cliCommand * | command_set |
const struct sBSP430cliCommand * | cmd |
Link in a command chain.
When a command is executed from a string representation, each initial token that can be uniquely identified as a command is extracted. If the identified command definition has child commands and the command string has additional tokens, the interpreter creates a link structure on the stack referencing the command definition and recurses on the remainder of the command string. These link structures create a chain that can be used by the final operation to extract information from higher layers of the command.
const struct sBSP430cliCommand* sBSP430cliCommandLink::cmd |
The command definition to be applied at this level. This will be one of the commands in command_set.
const struct sBSP430cliCommand* sBSP430cliCommandLink::command_set |
The set of potential comands at the level of this node
struct sBSP430cliCommandLink* sBSP430cliCommandLink::link |
A link to the parent command definition for layered commands. It will be a null pointer if this link is at the top level of the command hierarchy