JZsdk_Uart_UartDeal.h 1.2 KB
/**
 ********************************************************************
 * @file   JZsdk_Uart_UartDeal.h
 *         JZsdk_Uart_UartDeal的头文件
 *
 *********************************************************************
 */

/* Define to prevent recursive inclusion 避免重定义 -------------------------------------*/
#ifndef JZSDK_UART_UARTDEAL_H
#define JZSDK_UART_UARTDEAL_H

/* Includes ------------------------------------------------------------------*/

#ifdef __cplusplus
extern "C" {
#endif

/* Exported constants --------------------------------------------------------*/
/* 常亮定义*/
#include "JZsdk_Base/JZsdk_Code/JZsdk_Code.h"

/* Exported types ------------------------------------------------------------*/

/* Exported functions --------------------------------------------------------*/
T_JZsdkReturnCode JZsdk_Uart_UartSend(int UartPort ,unsigned char *send, int num);
int JZsdk_Uart_UartDeal_Receive(int Uart_fd, int Uart_Dev_name);
T_JZsdkReturnCode JZsdk_Uart_CloseUartThead(int UartPort);
T_JZsdkReturnCode JZsdk_Uart_UartSend_NotTask(int Uart_Name, unsigned char *str, int str_lenth);
int UartDeal_Recv_interface(int type, int Uart_fd , unsigned char *getbuf, int getbufLen);



#ifdef __cplusplus
}
#endif

#endif