P.E. Syntax error in Cpu_SETBASEPRI

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

P.E. Syntax error in Cpu_SETBASEPRI

ソリューションへジャンプ
1,626件の閲覧回数
crezyoz
Contributor IV

I am having a lot of difficulty getting the Flexbus to work without Bus Faults. I noticed a routine in CPU.C that has a syntax error in it, though it builds. I don't know what this routine does.. can anyone explain it to me?

 

I have attached an image from the cpu.c file. Please help.

0 件の賞賛
返信
1 解決策
1,402件の閲覧回数
ProcessorExpert
Senior Contributor III

Hi,

 

the syntax errors repoted by the editor are shown because the editor does not understand inline assembler in C module.

The method Cpu_SetBASEPRI initialiyed the priority register BASEPRI during the initialization. The initialization influences what interrupts may occur (according to their priority level).

 

best regards
Petr Hradsky
Processor Expert Support Team

 

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,403件の閲覧回数
ProcessorExpert
Senior Contributor III

Hi,

 

the syntax errors repoted by the editor are shown because the editor does not understand inline assembler in C module.

The method Cpu_SetBASEPRI initialiyed the priority register BASEPRI during the initialization. The initialization influences what interrupts may occur (according to their priority level).

 

best regards
Petr Hradsky
Processor Expert Support Team

 

0 件の賞賛
返信
1,402件の閲覧回数
crezyoz
Contributor IV

OK.. thank you. Good to know.

0 件の賞賛
返信