Netcruzer Library API
V2.03
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Macros
Groups
Pages
nz_command.h
Go to the documentation of this file.
1
49
#ifndef NZ_COMMAND_H
50
#define NZ_COMMAND_H
51
52
//Check if the application handles commands
53
#if !defined(APP_HANDLES_COMMANDS)
54
//Check if the application handles commands via any of the known methods
55
#if defined(APP_HANDLES_USB_COMMANDS)
56
#define APP_HANDLES_COMMANDS
57
#endif
58
#endif
59
60
//If USB module is to handle commands, these callback functions have to be implemented by the application
61
#if defined(APP_HANDLES_COMMANDS)
62
extern
BOOL nz_cmdReadyToExec(
void
);
63
extern
BOOL nz_cmdCommandReplyReady(
void
);
64
extern
WORD_VAL nz_cmdParseCirbuf(
CIRBUF
* pBuf, BYTE size,
CIRBUF
* cbufReply, BYTE replyCmd);
65
#endif
66
67
68
#endif //#ifndef NZ_COMMAND_H
netcruzer
lib
nz_command.h
Generated on Tue Dec 9 2014 15:08:19 for Netcruzer Library API by
1.8.4