我想用DMA传输浮点数据但是总是传输不了啊
volatile Uint16 DMABuf1[BUF_SIZE];
volatile Uint16 *DMADest;
volatile Uint16 *DMASource;
改成
volatile float DMABuf1[BUF_SIZE];
volatile Uint16 *DMADest;
volatile Uint16 *DMASource;
之后
DMADest = &DMABuf1[0];
DMASource = &AdcMirror.ADCRESULT0;
DMACH1AddrConfig(DMADest,DMASource);
这儿总是报错
说是a value of type "volatile float *" cannot be assigned to an entity of type "volatile Uint16 *
我知道是指针类型有问题 但是如果想用DMA传浮点型数据的话该怎么改啊?
是不是哪儿还要设置啊