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

1,120件の閲覧回数
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 返信

1,042件の閲覧回数
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 件の賞賛
返信