HAL_UART_Receive timer
时间: 2023-09-10 20:08:55 浏览: 210
ZE_HAL_UART.zip
在HAL_UART_Receive函数中,定时器的启动和设置并没有直接的代码。根据引用,在HAL_UART_Receive_IT函数中,通过调用UART_Start_Receive_IT函数来设置huart->RxState。在引用中,__HAL_UART_ENABLE_IT函数被调用来启动接收中断。因此,在HAL_UART_Receive函数中并没有直接涉及定时器的操作。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [两个单片机串口通信HAL库代码&&为何HAL_UART_Receive_IT函数只能触发一次接收中断及对应解决办法](https://blog.csdn.net/weixin_48830688/article/details/132449071)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
- *2* [Stm32 HAL_UART_Receive读取不到数据的问题](https://blog.csdn.net/bjbz_cxy/article/details/128184896)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文