BSP_IPSBAR v.s. _PSP_GET_IPSBAR()

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

BSP_IPSBAR v.s. _PSP_GET_IPSBAR()

ソリューションへジャンプ
1,415件の閲覧回数
MikeMarynowski
Contributor III

As the title suggets, what's the difference? I've seen Freescale code examples that use both.

 

Which one is more "correct" to use? Wouldn't using the constant (BSP_IPSBAR) be better than the function call?

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

hi mike,

 

they are same in a meaning but you probably should use PSP_GET_IPSBAR().

BSP_IPSBAR is define or constant from linker command file.

PSP_GET_IPSBAR gets the value which is set by the assembly function _psp_set_mbar.

 

Regards,

MartinK

元の投稿で解決策を見る

0 件の賞賛
返信
1 返信
1,282件の閲覧回数
c0170
Senior Contributor III

hi mike,

 

they are same in a meaning but you probably should use PSP_GET_IPSBAR().

BSP_IPSBAR is define or constant from linker command file.

PSP_GET_IPSBAR gets the value which is set by the assembly function _psp_set_mbar.

 

Regards,

MartinK

0 件の賞賛
返信