UART TX

From SpecNext official Wiki
Revision as of 12:13, 4 May 2020 by Ped7g (talk | contribs) (fixing the port function description by text from current "ports.txt")
Jump to: navigation, search
Number $133B
Decimal 4923
Short desc. Sends byte to serial port. If read, tells if data in RX buffer
Bit Mask %0001 0011 0011 1011
Readable Yes
Writable Yes
Subsystem UART

Write:

send a byte to the connected device. There is no Tx buffer so the program must make sure the last transmission is completed before sending another byte.

Read:

bit 2 = 1 if the read buffer is full
bit 1 = 1 if the transmitter is busy sending a byte
bit 0 = 1 if the read buffer contains received bytes