Difference between revisions of "UART TX"
From SpecNext official Wiki
(5 intermediate revisions by 3 users 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 | ||
}} | }} | ||
− | + | 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. |
Latest revision as of 22:05, 1 July 2022
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 |
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.