Skip to main content
Associate II
July 22, 2023
Question

UART Timeout

  • July 22, 2023
  • 1 reply
  • 1620 views

I have been using the HAL_UART_Transmit() method to transmit data . In this transmit method I should give the timeout parameter since it is a blocking function. My doubt is what is the unit of timeout parameter?(i.e. milli seconds or micro seconds or nana seconds)

This topic has been closed for replies.

1 reply

Associate
July 22, 2023

The answer is: ticks which correspond to a milisecond. In a normal system

Open the datasheet and search with CTRL-F for timeout is really not difficult.