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

#include <bsp430/utility/cli.h>

Data Fields

void(* callback )(struct sBSP430cliMatchCallback *self, const sBSP430cliCommand *cmd)
 

Detailed Description

Callback support for iBSP430cliMatchCommand(). In addition to providing a place to store the function that is called, this structure may be followed in memory by application-specific memory, using the techniques in Providing Extended Information to the Callback.

Field Documentation

void(* sBSP430cliMatchCallback::callback) (struct sBSP430cliMatchCallback *self, const sBSP430cliCommand *cmd)

The function that does something with a matching command structure.

Parameters
selfa pointer to the callback structure
cmdthe command definition of interest

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