Serial custom speed deprecated?
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 4 lines · Alan Cox
Ar Iau, 2006-08-24 am 20:51 +0200, ysgrifennodd Krzysztof Halasa:
Quoted 1 line
Not sure if we want int, uint, or long long for speed values :-)
You want
speed_taccording to POSIX.
To get non-integral baud rates (of which there are a few but no longer in common use) you'd probably want to supply a two integers which you then divide.
This matches most hardware quite well, and for most cases you'd just supply the divisor as 1.
Signature · 1 line
Nick Craig-Wood <[email protected]> -- http://www.craig-wood.com/nick