2023-07-22 12:05 AM - last edited on 2024-07-04 05:08 AM by Lina DABASINSKAITE
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)
2023-07-22 12:29 AM - last edited on 2024-07-04 05:59 AM by Lina DABASINSKAITE
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.