Project

General

Profile

Download (439 Bytes) Statistics
| Branch: | Tag: | Revision:
1
#ifndef CMD_H_
2
#define CMD_H_
3

    
4
#include <queue.h>
5

    
6
#define MAX_CMD_LEN 32
7

    
8
typedef struct {
9
	enum { SRC_USB, SRC_RF } source;
10
	portCHAR command[ MAX_CMD_LEN ];
11
} cmd_type;
12

    
13
portBASE_TYPE vCmdInit(void);
14
extern void DumpUIntToUSB(unsigned int data);
15
extern void DumpStringToUSB(const char *string);
16
extern void DumpBufferToUSB(char* buffer, int len);
17
extern void DumpTimeToUSB(long ticks);
18
extern xQueueHandle xCmdQueue;
19

    
20
#endif /*CMD_H_*/
(6-6/59)
Add picture from clipboard (Maximum size: 48.8 MB)