Skip to contentSkip to conversation

synchronous serial port communication (16550A)

DISCUSSION Christof 1 participant 2 messages Mar 23, 2004 3 messages not in the archive

lore
Share & tools
lore

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]

Christof

author
#2 lore raw
Quoted 4 lines · Miquel van Smoorenburg

Why don't you simply turn on hardware flow control (i.e. enable CRTSCTS with tcsetattr() or even stty) ?

Mike.

RTS has a special meaning with this lcd-controller, so I don't want that it is set without my implicit will.

A message that is not in the archive (sent off-list or not yet received): [email protected]

author
#4 lore raw
Quoted 2 lines · Russell King

You could write a byte, wait for it to complete by calling ioctl(TCSETSW) without changing any parameters, and then read the CTS status.

I'm away for 2 days now, so I will try it when I will be back home. Thank you!

--
Regards,
Christof Krueger