#ifndef __M_S_COMM_H
#define __M_S_COMM_H
#include "stm32f10x.h"

#define M_S_RECV_LEN		128												//最大接收缓存字节数
#define M_S_SEND_LEN		128												//最大发送缓存字节数

extern uint8_t M_S_RX_BUF[M_S_RECV_LEN];     			//接收缓冲
extern uint8_t M_S_TX_BUF[M_S_SEND_LEN];					//发送缓冲

void M_S_CommandSend(uint8_t comNum);							//主从机数据发送
void M_S_DataDecodeTask(void);										//主从机数据解析

#endif

/******************** (C) COPYRIGHT 2017 CXHY *****END OF FILE*******************/ 
