Hallo helmut_w,
hast du auch manchmal das Gefühl eines "deja vu"?
Zum TXC-Flag wird auch noch auf Seite 139, im Kapietel "Transmitter Flags and
Interrupts", geschrieben:
Und da wird davon geredet, dass NACH dem letzen Transmit dieses Flag gecleard (also 1 reinschreiben) werden soll. So wie Arexx-Henk es macht.The Transmit Complete (TXC) Flag bit is set one when the entire frame in the transmit
Shift Register has been shifted out and there are no new data currently present in the
transmit buffer. The TXC Flag bit is automatically cleared when a transmit complete
interrupt is executed, or it can be cleared by writing a one to its bit location. The TXC
Flag is useful in half-duplex communication interfaces (like the RS485 standard), where
a transmitting application must enter Receive mode and free the communication bus
immediately after completing the transmission.
Lesezeichen