Merge branch 'bugfix/fix_uart_tx_done_hardware_concurrency_v5.0' into 'release/v5.0'

uart: Fix TX side concurrency issues (v5.0)

See merge request espressif/esp-idf!22595
This commit is contained in:
Michael (XIAO Xufeng)
2023-03-23 15:29:33 +08:00
8 changed files with 106 additions and 3 deletions

View File

@@ -209,6 +209,18 @@ static inline void uart_ll_disable_intr_mask(uart_dev_t *hw, uint32_t mask)
hw->int_ena.val &= (~mask);
}
/**
* @brief Get the UART raw interrupt status.
*
* @param hw Beginning address of the peripheral registers.
*
* @return The UART interrupt status.
*/
static inline uint32_t uart_ll_get_intraw_mask(uart_dev_t *hw)
{
return hw->int_raw.val;
}
/**
* @brief Get the UART interrupt status.
*