UART TX: Difference between revisions
From SpecNext Wiki
mNo edit summary |
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 | PortNumber::$133B |
|---|---|
| Decimal | NumberDec::4923 |
| Short desc. | ShortDesc::Sends byte to serial port. If read, tells if data in RX buffer |
| Bit Mask | [[PortMask::%0001 0011 0011 1011]] |
| Readable | Readable::Yes |
| Writable | Writable::Yes |
| Subsystem | 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