UART TX: Difference between revisions

From SpecNext Wiki
Jump to: navigation, search
Ped7g (talk | contribs)
mNo edit summary
Em00k (talk | contribs)
No edit summary
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Port
{{Port
|Number=$133B
|Number=$133B
|NumberDec=4923
|PortMask=%0001 0011 0011 1011
|ShortDesc=Sends byte to serial port. If read, tells if data in RX buffer
|ShortDesc=Sends byte to serial port. If read, tells if data in RX buffer
|Readable=Yes
|Readable=Yes
|Writable=Yes
|Writable=Yes
|Subsystem=UART
|Subsystem=UART
|PortMask=%0001 0011 0011 1011
}}
}}
Write to this port sends the byte to serial port (routed to WiFi module connector).
0x133B UART Tx
Read from this port returns 0 if there are bytes to read in RX FIFO buffer, or 1 if no RX data.
 
(R)
:bit 7 = 1 if the Rx is in a break condition      ; external device has held Tx=0 for at least 20 bit periods
:bit 6 = 1 if the Rx experienced a framing error  ; (clears on read, includes parity and stop bit errors)
:bit 5 = 1 if the next Rx byte was received after an error condition was detected (framing, overflow)
:bit 4 = 1 if the Tx buffer is empty
:bit 3 = 1 if the Rx buffer is near full (3/4)
:bit 2 = 1 if the Rx buffer overflowed            ; (clears on read)
:bit 1 = 1 if the Tx buffer is full
:bit 0 = 1 if the Rx buffer contains bytes
 
(W)
:Send a byte to the connected device.

Latest revision as of 22:05, 1 July 2022

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

0x133B UART Tx

(R)

bit 7 = 1 if the Rx is in a break condition  ; external device has held Tx=0 for at least 20 bit periods
bit 6 = 1 if the Rx experienced a framing error  ; (clears on read, includes parity and stop bit errors)
bit 5 = 1 if the next Rx byte was received after an error condition was detected (framing, overflow)
bit 4 = 1 if the Tx buffer is empty
bit 3 = 1 if the Rx buffer is near full (3/4)
bit 2 = 1 if the Rx buffer overflowed  ; (clears on read)
bit 1 = 1 if the Tx buffer is full
bit 0 = 1 if the Rx buffer contains bytes

(W)

Send a byte to the connected device.