mirror of
https://github.com/espressif/esp-idf.git
synced 2026-10-02 03:00:34 +03:00
fix(uart): fix uart sw flow ctrl XOFF char write to wrong reg on ESP32C6
Add software flow control test case
Introduced in e6ef4d1791
Closes https://github.com/espressif/esp-idf/issues/18779
This commit is contained in:
@@ -741,10 +741,10 @@ typedef union {
|
||||
* This register stores the Xon flow control char.
|
||||
*/
|
||||
uint32_t xon_character:8;
|
||||
/** xoff_threshold : R/W; bitpos: [15:8]; default: 19;
|
||||
/** xoff_character : R/W; bitpos: [15:8]; default: 19;
|
||||
* This register stores the Xoff flow control char.
|
||||
*/
|
||||
uint32_t xoff_threshold:8;
|
||||
uint32_t xoff_character:8;
|
||||
/** xon_xoff_still_send : R/W; bitpos: [16]; default: 0;
|
||||
* In software flow control mode, UART Tx is disabled once UART Rx receives XOFF. In
|
||||
* this status, UART Tx can not transmit XOFF even the received data number is larger
|
||||
|
||||
Reference in New Issue
Block a user