Add baud rate setting and some minor changes
This commit is contained in:
parent
7e8ba61b04
commit
13ffe0c2c7
10 changed files with 52 additions and 18 deletions
|
|
@ -12,7 +12,7 @@
|
|||
Specification of GC10 Data I/O Interface: http://netiodev.com/GC10/GC10_UART_SPEC.pdf
|
||||
*/
|
||||
|
||||
int diy_open(const char *device);
|
||||
int diy_open(const char *device, speed_t baud);
|
||||
void diy_close(int device);
|
||||
int diy_get_cpm(int device);
|
||||
int diy_read(int device, char *buf, unsigned int len);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue