HARMcksL: ARM HAL toolbox (yet STM32 oriented) 1.6
SMFSW collection of HAL hacks for STM32
|
Stack utilities. More...
#include "sarmfsw.h"
Functions | |
uint32_t | get_MSP (void) |
Get Main Stack Pointer value. | |
uint32_t | get_SP (void) |
Get Current Stack Pointer value. | |
uint32_t * | get_pSP (void) |
Get pointer to the current stack. | |
uint32_t * | get_pMSP (void) |
Get pointer to the main stack. | |
uint32_t | get_R0 (void) |
Get content of R0 register. | |
uint32_t | get_R1 (void) |
Get content of R1 register. | |
uint32_t | get_R2 (void) |
Get content of R2 register. | |
uint32_t | get_R3 (void) |
Get content of R3 register. | |
uint32_t | get_R4 (void) |
Get content of R4 register. | |
uint32_t | get_R5 (void) |
Get content of R5 register. | |
uint32_t | get_R6 (void) |
Get content of R6 register. | |
uint32_t | get_R7 (void) |
Get content of R7 register. | |
uint32_t | get_R8 (void) |
Get content of R8 register. | |
uint32_t | get_R9 (void) |
Get content of R9 register. | |
uint32_t | get_R10 (void) |
Get content of R10 register. | |
uint32_t | get_R11 (void) |
Get content of R11 register. | |
uint32_t | get_R12 (void) |
Get content of R12 register. | |
uint32_t | get_LR (void) |
Get content of link register. | |
uint32_t | get_PSR (void) |
Get content of xPSR. | |
void | print_stack_address (void) |
Prints main stack address. | |
void | print_global_regs (void) |
Print contents of ARM registers. | |
void | stack_dump (void) |
prints contents of global registers & stack address | |
Stack utilities.
|
inline |
Get content of link register.
|
inline |
Get Main Stack Pointer value.
|
inline |
Get pointer to the main stack.
|
inline |
Get pointer to the current stack.
|
inline |
Get content of xPSR.
|
inline |
Get content of R0 register.
|
inline |
Get content of R1 register.
|
inline |
Get content of R10 register.
|
inline |
Get content of R11 register.
|
inline |
Get content of R12 register.
|
inline |
Get content of R2 register.
|
inline |
Get content of R3 register.
|
inline |
Get content of R4 register.
|
inline |
Get content of R5 register.
|
inline |
Get content of R6 register.
|
inline |
Get content of R7 register.
|
inline |
Get content of R8 register.
|
inline |
Get content of R9 register.
|
inline |
Get Current Stack Pointer value.
void print_global_regs | ( | void | ) |
Print contents of ARM registers.
void print_stack_address | ( | void | ) |
Prints main stack address.
|
inline |
prints contents of global registers & stack address