add simplified API to set UART threshold values for RX FIFO full and TX FIFO empty

This commit is contained in:
kewal shah
2019-11-18 19:06:40 +05:30
committed by bot
parent f7b51c164d
commit eec8212237
5 changed files with 102 additions and 6 deletions

View File

@@ -76,6 +76,15 @@ typedef struct {
*/
#define uart_hal_get_intsts_mask(hal) uart_ll_get_intsts_mask((hal)->dev)
/**
* @brief Get status of enabled interrupt
*
* @param hal Context of the HAL layer
*
* @return UART Interrupt enabled value
*/
#define uart_hal_get_intr_ena_status(hal) uart_ll_get_intr_ena_status((hal)->dev)
/**
* @brief Get the UART pattern char configuration
*