UART TX: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Ped7g (talk | contribs)
mNo edit summary
Ped7g (talk | contribs)
fixing the port function description by text from current "ports.txt"
Line 8: Line 8:
|Subsystem=UART
|Subsystem=UART
}}
}}
Write to this port sends the byte to serial port (routed to WiFi module connector).
Write:
Read from this port returns 0 if there are bytes to read in RX FIFO buffer, or 1 if no RX data.
: 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