BSP430
20141115
Board Support Package for MSP430 microcontrollers
|
#include <bsp430/utility/cli.h>
Data Fields | |
void(* | callback )(struct sBSP430cliMatchCallback *self, const sBSP430cliCommand *cmd) |
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.
void(* sBSP430cliMatchCallback::callback) (struct sBSP430cliMatchCallback *self, const sBSP430cliCommand *cmd) |
The function that does something with a matching command structure.
self | a pointer to the callback structure |
cmd | the command definition of interest |