DMAX驱动程序
添加:
UIT8表〔1000〕;
变化
35 CydMatdSt地址(DMAY1TD TD〔0〕,Lo16((UIT32)AdcSARA WRK0YPPTR),Lo16((UIT32)CyDeVeSrMaBASE);
到:
35 CydMatDSET地址(DMAY1TD TD〔0〕,Lo16((UIT32)AdcSARA WRK0YPPTR),Lo16((UIT32)表));
你会看到ISRYDMAYODE中断。
以上来自于百度翻译
以下为原文
dma_driver.c
add:
uint8 table[1000];
and change
35 CyDmaTdSetAddress(DMA_1_TD[0], LO16((uint32)ADC_SAR_WRK0_PTR), LO16((uint32)CYDEV_SRAM_BASE));
to:
35 CyDmaTdSetAddress(DMA_1_TD[0], LO16((uint32)ADC_SAR_WRK0_PTR), LO16((uint32)table));
you will see isr_DMA_Done interrupt.
DMAX驱动程序
添加:
UIT8表〔1000〕;
变化
35 CydMatdSt地址(DMAY1TD TD〔0〕,Lo16((UIT32)AdcSARA WRK0YPPTR),Lo16((UIT32)CyDeVeSrMaBASE);
到:
35 CydMatDSET地址(DMAY1TD TD〔0〕,Lo16((UIT32)AdcSARA WRK0YPPTR),Lo16((UIT32)表));
你会看到ISRYDMAYODE中断。
以上来自于百度翻译
以下为原文
dma_driver.c
add:
uint8 table[1000];
and change
35 CyDmaTdSetAddress(DMA_1_TD[0], LO16((uint32)ADC_SAR_WRK0_PTR), LO16((uint32)CYDEV_SRAM_BASE));
to:
35 CyDmaTdSetAddress(DMA_1_TD[0], LO16((uint32)ADC_SAR_WRK0_PTR), LO16((uint32)table));
you will see isr_DMA_Done interrupt.
举报