Fault Handler type.
When certain unrecoverable errors occur within the application or SoftDevice the fault handler will be called back. The protocol stack will be in an undefined state when this happens and the only way to recover will be to perform a reset, using e.g. CMSIS NVIC_SystemReset().
- Note
- This callback is executed in HardFault context, thus SVC functions cannot be called from the fault callback.
- Parameters
-
[in] | id | Fault identifier. See Fault ID types. |
[in] | pc | The program counter of the instruction that triggered the fault. |
[in] | info | Optional additional information regarding the fault. Refer to each Fault identifier for details. |