Changeset 619 for trunk/hal/generic/hal_special.h
- Timestamp:
- Feb 12, 2019, 1:15:47 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/generic/hal_special.h
r480 r619 84 84 * This function returns the current value of stack pointer from core register. 85 85 ****************************************************************************************/ 86 uint32_t hal_get_stack( void ); 86 uint32_t hal_get_sp( void ); 87 88 /***************************************************************************************** 89 * This function returns the current value of the return adddress from core register. 90 ****************************************************************************************/ 91 uint32_t hal_get_ra( void ); 87 92 88 93 /***************************************************************************************** 89 94 * This function registers a new value in the core stack pointer and returns previous one. 90 95 ****************************************************************************************/ 91 inline uint32_t hal_set_s tack( void * new_val );96 inline uint32_t hal_set_sp( void * new_val ); 92 97 93 98 /*****************************************************************************************
Note: See TracChangeset
for help on using the changeset viewer.