2815| 1
|
STM32CUBE配置AD的DMA请求,怎么配置数据寄存器地址和存储器地址? |
5金钱
最佳答案HAL_ADC_Start_DMA(&hadc1, (uint32_t*)&ADC_Buffer, 30);这句函数里面有句话是
HAL_DMA_Start_IT(hadc->DMA_Handle, (uint32_t)&hadc->Instance->DR, (uint32_t)pData, Length);
而HAL_DMA_Start_IT的参数是
@param hdma: pointer to a DMA_HandleTypeDef structure that contains
* the configuration information for the specified DMA Channel.
* @param SrcAddress: The source memory Buffer ad ...
| ||
| ||
|手机版|OpenEdv-开源电子网
( 粤ICP备12000418号-1 )
GMT+8, 2025-6-24 12:33
Powered by OpenEdv-开源电子网
© 2001-2030 OpenEdv-开源电子网