1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
7 //-----------------------------------------------------------------------------
8 // Main command parser entry point
9 //-----------------------------------------------------------------------------
15 #include "cmdparser.h"
16 void UsbCommandReceived(UsbCommand
*UC
);
17 void CommandReceived(char *Cmd
);
18 bool WaitForResponseTimeout(uint32_t cmd
, UsbCommand
* response
, size_t ms_timeout
);
19 bool WaitForResponse(uint32_t cmd
, UsbCommand
* response
);
20 void clearCommandBuffer();
21 command_t
* getTopLevelCommandTable();