1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-19 23:22:16 +03:00

Document USTX in USS/UxS not working as expected (#7265)

Documentation that bit USTX in UART status register USS(u) / U0S / U1S is not mirroring TX level as expected but always reads 0, see issue #7256

Co-authored-by: Develo <deveyes@gmail.com>
This commit is contained in:
xsrf 2020-05-03 22:00:18 +02:00 committed by GitHub
parent bf718c39af
commit 9845deb283
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -250,7 +250,7 @@ extern volatile uint32_t* const esp8266_gpioToFn[16];
#define UIFF 0 //RX FIFO Full #define UIFF 0 //RX FIFO Full
//UART STATUS Registers Bits //UART STATUS Registers Bits
#define USTX 31 //TX PIN Level #define USTX 31 //TX PIN Level (Doesn't seem to work, always reads as 0 for both uarts. HW bug? Possible workaround: Enable loopback UxC0 |= 1<<UCLBE and read USRXD, see https://github.com/esp8266/Arduino/issues/7256 for discussion.)
#define USRTS 30 //RTS PIN Level #define USRTS 30 //RTS PIN Level
#define USDTR 39 //DTR PIN Level #define USDTR 39 //DTR PIN Level
#define USTXC 16 //TX FIFO COUNT (8bit) #define USTXC 16 //TX FIFO COUNT (8bit)