智能车制作
标题:
k60 dma sources 在哪里查看呢?
[打印本页]
作者:
461536135
时间:
2012-12-28 20:40
标题:
k60 dma sources 在哪里查看呢?
求教
作者:
洋葱圈
时间:
2012-12-28 22:05
K60技术文档里的定义不全,你可以参考官方例程的dma source文件,在我们的K60底层库中也有DMA源的定义:
下载地址:
http://www.znczz.com/thread-112632-1-1.html
DMA源定义在HAL_eDMA.h中
//=====================================
// DMA request sources Number
// 外设的DMA请求号
//=====================================
#define UART0_REV_DMAREQ 2
#define UART0_TRAN_DMAREQ 3
#define UART1_REV_DMAREQ 4
#define UART1_TRAN_DMAREQ 5
#define UART2_REV_DMAREQ 6
#define UART2_TRAN_DMAREQ 7
#define UART3_REV_DMAREQ 8
#define UART3_TRAN_DMAREQ 9
#define UART4_REV_DMAREQ 10
#define UART4_TRAN_DMAREQ 11
#define UART5_REV_DMAREQ 12
#define UART5_TRAN_DMAREQ 13
#define I2S0_REV_DMAREQ 14
#define I2S0_TRAN_DMAREQ 15
#define SPI0_REV_DMAREQ 16
#define SPI0_TRAN_DMAREQ 17
#define SPI1_REV_DMAREQ 18
#define SPI1_TRAN_DMAREQ 19
#define I2C0_DMAREQ 22
#define I2C1_DMAREQ 23
#define FTM0_CH0_DMAREQ 24
#define FTM0_CH1_DMAREQ 25
#define FTM0_CH2_DMAREQ 26
#define FTM0_CH3_DMAREQ 27
#define FTM0_CH4_DMAREQ 28
#define FTM0_CH5_DMAREQ 29
#define FTM0_CH6_DMAREQ 30
#define FTM0_CH7_DMAREQ 31
#define FTM1_CH0_DMAREQ 32
#define FTM1_CH1_DMAREQ 33
#define FTM2_CH0_DMAREQ 34
#define FTM2_CH1_DMAREQ 35
#define FTM3_CH0_DMAREQ 36
#define FTM3_CH1_DMAREQ 37
#define FTM3_CH2_DMAREQ 38
#define FTM1_CH3_DMAREQ 39
#define ADC0_DMAREQ 40
#define ADC1_DMAREQ 41
#define CMP0_DMAREQ 42
#define CMP1_DMAREQ 43
#define CMP2_DMAREQ 44
#define DAC0_DMAREQ 45
#define DAC1_DMAREQ 46
#define CMT_DMAREQ 47
#define PDB_DMAREQ 48
#define PORTA_DMAREQ 49
#define PORTB_DMAREQ 50
#define PORTC_DMAREQ 51
#define PORTD_DMAREQ 52
#define PORTE_DMAREQ 53
#define FTM3_CH4_DMAREQ 54
#define FTM3_CH5_DMAREQ 55
#define FTM3_CH6_DMAREQ 56
#define FTM3_CH7_DMAREQ 57
复制代码
作者:
461536135
时间:
2012-12-29 17:37
洋葱圈 发表于 2012-12-28 22:05
K60技术文档里的定义不全,你可以参考官方例程的dma source文件,在我们的K60底层库中也有DMA源的定义:
下 ...
下载了,谢谢啦。
欢迎光临 智能车制作 (http://dns.znczz.com/)
Powered by Discuz! X3.2