| nRF5 SDK v12.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
HardFault_stack Struct Reference
HardFault exception

Contents of the stack. More...

`#include <hardfault.h>`

## Data Fields
uint32_t | r0
| R0 register.
uint32_t | r1
| R1 register.
uint32_t | r2
| R2 register.
uint32_t | r3
| R3 register.
uint32_t | r12
| R12 register.
uint32_t | lr
| Link register.
uint32_t | pc
| Program counter.
uint32_t | psr
| Program status register.

## Detailed Description

Contents of the stack.

This structure is used to re-create the stack layout after a HardFault exception was raised.