12
DATA_PC/data_pc.h@0:dd5d4837292c, 2021-06-09 (annotated)
- Committer:
- panzhan
- Date:
- Wed Jun 09 01:41:45 2021 +0000
- Revision:
- 0:dd5d4837292c
continuous motion
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
panzhan | 0:dd5d4837292c | 1 | #ifndef _DATA_PC_H |
panzhan | 0:dd5d4837292c | 2 | #define _DATA_PC_H |
panzhan | 0:dd5d4837292c | 3 | |
panzhan | 0:dd5d4837292c | 4 | #include "mbed.h" |
panzhan | 0:dd5d4837292c | 5 | #include "data_command.h" |
panzhan | 0:dd5d4837292c | 6 | |
panzhan | 0:dd5d4837292c | 7 | extern Serial pc; // tx, rx U2 min |
panzhan | 0:dd5d4837292c | 8 | |
panzhan | 0:dd5d4837292c | 9 | extern int pc_control; // 命令帧标志位 |
panzhan | 0:dd5d4837292c | 10 | //extern unsigned int flag_A, flag_B; |
panzhan | 0:dd5d4837292c | 11 | //extern unsigned int pc_num; |
panzhan | 0:dd5d4837292c | 12 | |
panzhan | 0:dd5d4837292c | 13 | //extern uint16_t mode_flag_get[1]; |
panzhan | 0:dd5d4837292c | 14 | //extern uint16_t mode_flag_use[1]; |
panzhan | 0:dd5d4837292c | 15 | extern unsigned int mode_flag; |
panzhan | 0:dd5d4837292c | 16 | |
panzhan | 0:dd5d4837292c | 17 | void pc_decode(); |
panzhan | 0:dd5d4837292c | 18 | void pc_clear(); |
panzhan | 0:dd5d4837292c | 19 | void serial_pc_isr(); |
panzhan | 0:dd5d4837292c | 20 | |
panzhan | 0:dd5d4837292c | 21 | #endif |