mirror of
https://github.com/espressif/esp-idf.git
synced 2025-09-30 19:19:21 +00:00
Merge branch 'bugfix/uart_8_16_bit_access' into 'master'
fix(uart): fix 8/16-bit uart register access Closes IDF-10256 See merge request espressif/esp-idf!34846
This commit is contained in:
@@ -243,8 +243,8 @@ typedef volatile struct uart_dev_s {
|
||||
struct {
|
||||
uint32_t xon_threshold: 8; /*when the data amount in receiver's fifo is more than this register value, it will send a xoff char with uart_sw_flow_con_en set to 1.*/
|
||||
uint32_t xoff_threshold: 8; /*When the data amount in receiver's fifo is less than this register value, it will send a xon char with uart_sw_flow_con_en set to 1.*/
|
||||
uint32_t xon_char: 8; /*This register stores the xon flow control char.*/
|
||||
uint32_t xoff_char: 8; /*This register stores the xoff flow control char.*/
|
||||
uint32_t xon_character: 8; /*This register stores the xon flow control char.*/
|
||||
uint32_t xoff_character: 8; /*This register stores the xoff flow control char.*/
|
||||
};
|
||||
uint32_t val;
|
||||
} swfc_conf;
|
||||
@@ -294,7 +294,7 @@ typedef volatile struct uart_dev_s {
|
||||
union {
|
||||
struct {
|
||||
uint32_t data: 8; /*This register is used to configure the content of at_cmd char.*/
|
||||
uint32_t char_num: 8; /*This register is used to configure the number of continuous at_cmd chars received by receiver.*/
|
||||
uint32_t at_char_num: 8; /*This register is used to configure the number of continuous at_cmd chars received by receiver.*/
|
||||
uint32_t reserved16: 16;
|
||||
};
|
||||
uint32_t val;
|
||||
|
Reference in New Issue
Block a user