The OP
Published on 2019-2-26 12:08
Only look at the author
This post is from stm32/stm8
Latest reply
1. The HAL library communication transceiver has two interfaces. For example, the receiving interface is HAL_XXXX_Receive, which is a polling blocking interface. The parameter input Timeout is the polling blocking time. The other is HAL_XXXX_Receive_IT or _DMA, which is not an interrupt interface and needs to be completed with handle. 2. The HAL_UART_Receive(&huart3, (uint8_t *)in, 8, 0); posted by the original poster has Timeout of 0, which means that each tick only checks once whether the receiving completion flag is set.
Details
Published on 2019-2-26 13:38
| ||
|
||
2
Published on 2019-2-26 13:38
Only look at the author
This post is from stm32/stm8
| ||
Personal signature
1084534438 欢迎交流 [加油,一切皆有可能] |
||
|
EEWorld Datasheet Technical Support
EEWorld
subscription
account
EEWorld
service
account
Automotive
development
circle
About Us Customer Service Contact Information Datasheet Sitemap LatestNews
Room 1530, Zhongguancun MOOC Times Building, Block B, 18 Zhongguancun Street, Haidian District, Beijing 100190, China Tel:(010)82350740 Postcode:100190