Add extended baud rates to posix/termios (#8322)
115200 is really common. I'd like to get support in nimserial, but I'm guessing it would help to have support in the stdlib first.
This commit is contained in:
parent
2ac22b4cf0
commit
f8723cd1e3
1 changed files with 15 additions and 0 deletions
|
|
@ -122,6 +122,21 @@ var
|
||||||
B9600* {.importc, header: "<termios.h>".}: Speed
|
B9600* {.importc, header: "<termios.h>".}: Speed
|
||||||
B19200* {.importc, header: "<termios.h>".}: Speed
|
B19200* {.importc, header: "<termios.h>".}: Speed
|
||||||
B38400* {.importc, header: "<termios.h>".}: Speed
|
B38400* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B57600* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B115200* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B230400* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B460800* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B500000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B576000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B921600* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B1000000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B1152000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B1500000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B2000000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B2500000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B3000000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B3500000* {.importc, header: "<termios.h>".}: Speed
|
||||||
|
B4000000* {.importc, header: "<termios.h>".}: Speed
|
||||||
EXTA* {.importc, header: "<termios.h>".}: Speed
|
EXTA* {.importc, header: "<termios.h>".}: Speed
|
||||||
EXTB* {.importc, header: "<termios.h>".}: Speed
|
EXTB* {.importc, header: "<termios.h>".}: Speed
|
||||||
CSIZE* {.importc, header: "<termios.h>".}: Cflag
|
CSIZE* {.importc, header: "<termios.h>".}: Cflag
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue