This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

UART CC2530

Other Parts Discussed in Thread: CC2530

Hello

For the code given below

 

#if defined MT_TASK

#define HAL_UART_ISR_TX_MAX        MT_UART_DEFAULT_MAX_TX_BUFF

#define HAL_UART_ISR_RX_MAX        MT_UART_DEFAULT_MAX_RX_BUFF

#define HAL_UART_ISR_HIGH          MT_UART_DEFAULT_THRESHOLD

#define HAL_UART_ISR_IDLE         (MT_UART_DEFAULT_IDLE_TIMEOUT * HAL_UART_MSECS_TO_TICKS)

#else

#if !defined HAL_UART_ISR_RX_MAX

#define HAL_UART_ISR_RX_MAX        128

#endif

#if !defined HAL_UART_ISR_TX_MAX

#define HAL_UART_ISR_TX_MAX        HAL_UART_ISR_RX_MAX

#endif

#if !defined HAL_UART_ISR_HIGH

#define HAL_UART_ISR_HIGH         (HAL_UART_ISR_RX_MAX / 2 - 16)

#endif

#if !defined HAL_UART_ISR_IDLE

#define HAL_UART_ISR_IDLE         (6 * HAL_UART_MSECS_TO_TICKS)

#endif

#endif

May I know the exact meaning and its usage in UART -  CC2530