LingYun Studio embeded system framwork software, such as thirdparty build shell and lingyun library
guowenxue
2022-04-14 c4207b25c7e2c90a3cb25af524c17d961face86c
booster/comport.h
@@ -3,12 +3,12 @@
 *                  All rights reserved.
 *
 *       Filename:  comport.h
 *    Description:  This head file is for the common TTY/Serial port operator library
 *
 *    Description:  This head file is for the common TTY/Serial port operator library
 *
 *        Version:  1.0.0(10/17/2018~)
 *         Author:  Guo Wenxue <guowenxue@gmail.com>
 *      ChangeLog:  1, Release initial version on "10/17/2018 03:33:25 PM"
 *
 *
 ********************************************************************************/
#ifndef  __COMPORT_H_
#define  __COMPORT_H_
@@ -50,10 +50,10 @@
} comport_t;
/*
/*
 *  description: Open the comport specified by $comport
 *
 *   input args: $comport:  corresponding comport point
 *   input args: $comport:  corresponding comport point
 *               $devname:  The comport device name path, such as '/dev/ttyS3'
 *               $baudrate:  The baudrate, such as 115200
 *               $settings:  The databit,parity,stopbit,flowctrl settings, such as '8N1N'
@@ -63,8 +63,8 @@
extern int  comport_open(comport_t *comport, const char *devname, long baudrate, const char *settings);
/*
 *  description: close comport
 *   input args: $comport:  corresponding comport point
 *  description: close comport
 *   input args: $comport:  corresponding comport point
 */
extern void comport_close(comport_t *comport);