Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mcp2515 mbed-dev-f303
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