mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-21 10:26:06 +03:00
Fix DTR offset value (#8586)
Correct value from uart_registers.h mask > #define UART_DTRN (BIT(29))
This commit is contained in:
parent
c1144c5740
commit
8dee8000ee
@ -255,7 +255,7 @@ extern volatile uint32_t* const esp8266_gpioToFn[16];
|
|||||||
//UART STATUS Registers Bits
|
//UART STATUS Registers Bits
|
||||||
#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 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 29 //DTR PIN Level
|
||||||
#define USTXC 16 //TX FIFO COUNT (8bit)
|
#define USTXC 16 //TX FIFO COUNT (8bit)
|
||||||
#define USRXD 15 //RX PIN Level
|
#define USRXD 15 //RX PIN Level
|
||||||
#define USCTS 14 //CTS PIN Level
|
#define USCTS 14 //CTS PIN Level
|
||||||
|
Loading…
x
Reference in New Issue
Block a user