|
//
|
|
// Created by hongg on 2020/3/30.
|
|
//
|
|
|
|
#ifndef _HGL_SERIAL_PORT_H
|
|
#define _HGL_SERIAL_PORT_H
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
int serial_set(int fd, int speed, int bits, char event, int stop, int vtime, int vmin);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif //MCUBRIDGE_SERIAL_PORT_H
|