1

Dependencies:   mbed-dev_spine

Committer:
panzhan
Date:
Tue Nov 17 11:32:58 2020 +0000
Revision:
1:a71791b81b8a
Parent:
0:d80c66cb1b3a
dadsada

Who changed what in which revision?

UserRevisionLine numberNew contents of line
panzhan 0:d80c66cb1b3a 1 #ifndef _DATA_PC_H
panzhan 0:d80c66cb1b3a 2 #define _DATA_PC_H
panzhan 0:d80c66cb1b3a 3
panzhan 0:d80c66cb1b3a 4 #include "mbed.h"
panzhan 0:d80c66cb1b3a 5
panzhan 0:d80c66cb1b3a 6 extern Serial pc; // tx, rx U2 min
panzhan 0:d80c66cb1b3a 7
panzhan 0:d80c66cb1b3a 8 extern int pc_control; // 命令帧标志位
panzhan 0:d80c66cb1b3a 9 //extern unsigned int flag_A, flag_B;
panzhan 0:d80c66cb1b3a 10 //extern unsigned int pc_num;
panzhan 0:d80c66cb1b3a 11
panzhan 0:d80c66cb1b3a 12 //extern uint16_t phase_flag_get[1];
panzhan 0:d80c66cb1b3a 13 extern uint16_t phase_flag_use[1];
panzhan 0:d80c66cb1b3a 14 extern unsigned int phase_flag;
panzhan 0:d80c66cb1b3a 15
panzhan 0:d80c66cb1b3a 16 void pc_decode();
panzhan 0:d80c66cb1b3a 17 void pc_clear();
panzhan 0:d80c66cb1b3a 18 void serial_pc_isr();
panzhan 0:d80c66cb1b3a 19
panzhan 0:d80c66cb1b3a 20 #endif