mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-01-19 12:53:30 +08:00
Update drv_usart.c
添加函数说明
This commit is contained in:
parent
18d24cfd8d
commit
77daf413be
@ -631,6 +631,14 @@ void HAL_UART_RxCpltCallback(UART_HandleTypeDef *huart)
|
||||
uart = (struct stm32_uart *)huart;
|
||||
dma_isr(&uart->serial);
|
||||
}
|
||||
|
||||
/**
|
||||
* @brief Rx Half transfer completed callback
|
||||
* @param huart: UART handle
|
||||
* @note This example shows a simple way to report end of DMA Rx Half transfer,
|
||||
* and you can add your own implementation.
|
||||
* @retval None
|
||||
*/
|
||||
void HAL_UART_RxHalfCpltCallback(UART_HandleTypeDef *huart)
|
||||
{
|
||||
struct stm32_uart *uart;
|
||||
|
Loading…
x
Reference in New Issue
Block a user