Project

General

Profile

Download (439 Bytes) Statistics
| Branch: | Tag: | Revision:
1 633c646a henryk
#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 c63871ac henryk
extern void DumpUIntToUSB(unsigned int data);
15 9cde1dd0 henryk
extern void DumpStringToUSB(const char *string);
16 633c646a henryk
extern void DumpBufferToUSB(char* buffer, int len);
17 619b96eb henryk
extern void DumpTimeToUSB(long ticks);
18 633c646a henryk
extern xQueueHandle xCmdQueue;
19
20
#endif /*CMD_H_*/
Add picture from clipboard (Maximum size: 48.8 MB)