Difference between revisions of "UART TX"
From SpecNext official Wiki
m |
(fixing the port function description by text from current "ports.txt") |
||
Line 8: | Line 8: | ||
|Subsystem=UART | |Subsystem=UART | ||
}} | }} | ||
− | Write to | + | Write: |
− | Read | + | : 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 |
Revision as of 11:13, 4 May 2020
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