12

Dependencies:   mbed-dev_spine

DATA_PC/data_pc.h

Committer:
panzhan
Date:
2021-06-09
Revision:
0:dd5d4837292c

File content as of revision 0:dd5d4837292c:

#ifndef _DATA_PC_H
#define _DATA_PC_H

#include "mbed.h"
#include "data_command.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 mode_flag_get[1];
//extern uint16_t mode_flag_use[1];
extern unsigned int mode_flag;

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

#endif