DSC MC56F8037  LEARNING

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

DSC MC56F8037  LEARNING

ソリューションへジャンプ
2,499件の閲覧回数
fish7fish
Contributor I

你好,我用TimerA0写了一个定时器溢出中断程序。具体:在工程中添加了(isrTimerOver.c),并在MC56F803x_vector.asm中添加中断函数名,在编译时出现:Link Error:Undefined:"isrTimerOver" Referenced from "interrupt_vector.text" in MC56F803x.asm.  Link Failed

ラベル(1)
0 件の賞賛
返信
1 解決策
2,289件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Please add the ‘F’ prefix before the ISR function name when call it in assembly file, like below:

                jsr > FisrTimerOver; TimerA Channel 0                                45($5A)

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,290件の閲覧回数
TICS_Fiona
NXP Employee
NXP Employee

Please add the ‘F’ prefix before the ISR function name when call it in assembly file, like below:

                jsr > FisrTimerOver; TimerA Channel 0                                45($5A)

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛
返信
2,289件の閲覧回数
fish7fish
Contributor I

Thank you for the help!

0 件の賞賛
返信