S132 SoftDevice v2.0.0
Data Structures | Typedefs

Data Structures

struct  nrf_clock_lf_cfg_t
 Type representing lfclk oscillator source. More...
 

Typedefs

typedef void(* nrf_fault_handler_t )(uint32_t id, uint32_t pc, uint32_t info)
 Fault Handler type. More...
 

Detailed Description

Typedef Documentation

typedef void(* nrf_fault_handler_t)(uint32_t id, uint32_t pc, uint32_t info)

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]idFault identifier. See Fault ID types.
[in]pcThe program counter of the instruction that triggered the fault.
[in]infoOptional additional information regarding the fault. Refer to each Fault identifier for details.

Documentation feedback | Developer Zone | Updated