This intrinsic returns the value of the stack pointer at the current point in your program.
To use this intrinsic, your source file must contain
#include <arm_compat.h>. This is only available for
unsigned int __current_sp(void)
__current_sp intrinsic returns the current value of the stack pointer
at the point in the program where the intrinsic is used.