This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
(void)memset(dmaCfg.rxBuf, (DMA_PAD ^ 0xFF), HAL_UART_DMA_RX_MAX*2);
这段话到底是什么意思呢?我看到前面有一段说明,但并不清楚他讲的是什么。。。请大家帮忙解释下。。谢谢了
很明显是初始化BUF
我知道是初始化,但是不知道为什么这样初始化?