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?
Solved! Go to Solution.
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
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