DMA_Init() in fsl_dma.c of SDK 2.7.0 for LPC845BREAKOUT

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

DMA_Init() in fsl_dma.c of SDK 2.7.0 for LPC845BREAKOUT

947 次查看
1234567890
Contributor IV

This is the function:

pastedImage_1.png

First action is to get the instance and store it in the variable 'instance'.

Why is this variable not used in line 127 and 132, like it is in line 138?

标签 (1)
0 项奖励
回复
1 回复

869 次查看
diego_charles
NXP TechSupport
NXP TechSupport

Hi 1234567890

I´ve found   no special reason. You are right pointing out this,   the variable instance could be used again in those lines since the base won't change. 

Best regards, Diego. 

0 项奖励
回复