HAL_DMA_Start_IT(&hdma, (uint32_t)&GPIOA->IDR, (uint32_t)&data_array[i], 1);什么意思
时间: 2024-05-29 10:11:12 浏览: 131
hal_dma_int.rar_HAL_HAL DMA_dma_hal int_lawrxc
void HAL_DMA_Start_IT(
DMA_HandleTypeDef *hdma,
uint32_t SrcAddress,
uint32_t DstAddress,
uint32_t DataLength
);
This function starts a DMA transfer with interrupt enabled. The source address, destination address, and data length are passed as parameters, along with a pointer to the DMA handle. The DMA transfer will transfer DataLength bytes from the source to the destination address. Once the transfer is complete, an interrupt will be generated and the corresponding function in the DMA handle will be called.
阅读全文