1

Dependencies:   mbed-dev_spine

DATA_PC/data_pc.h

Committer:
panzhan
Date:
2020-11-10
Revision:
0:d80c66cb1b3a

File content as of revision 0:d80c66cb1b3a:

#ifndef _DATA_PC_H
#define _DATA_PC_H

#include "mbed.h"

extern Serial pc;              // tx, rx U2 min

extern int pc_control;                                                              // 命令帧标志位
//extern unsigned int flag_A, flag_B;
//extern unsigned int pc_num;

//extern uint16_t phase_flag_get[1];
extern uint16_t phase_flag_use[1];
extern unsigned int phase_flag;

void pc_decode();
void pc_clear();
void serial_pc_isr();

#endif