参考资料:
[Serial Programming Guide for POSIX Operating Systems] https://digilander.libero.it/robang/rubrica/serial.htm
[Linux串口编程] https://www.cnblogs.com/feisky/archive/2010/05/21/1740893.html
[Linux串口—struct termios结构体]
https://blog.csdn.net/yemingzhu163/article/details/5897156
https://www.cnblogs.com/sky-heaven/p/9675253.html