R1 code for micro:bit based train controller code, requires second micro:bit running rx code to operate - see https://meanderingpi.wordpress.com/ for more information

Fork of nrf51-sdk by Lancaster University

Embed: (wiki syntax)

« Back to documentation index



typedef uint32_t nrf_clock_lfclksrc_t
 Type representing lfclk oscillator source.
typedef void(* softdevice_assertion_handler_t )(uint32_t pc, uint16_t line_number, const uint8_t *p_file_name)
 SoftDevice Assertion Handler type.

Typedef Documentation

typedef uint32_t nrf_clock_lfclksrc_t

Type representing lfclk oscillator source.

Definition at line 127 of file nrf_sdm.h.

typedef void(* softdevice_assertion_handler_t)(uint32_t pc, uint16_t line_number, const uint8_t *p_file_name)

SoftDevice Assertion Handler type.

When an unexpected error occurs within the SoftDevice it will call the SoftDevice assertion handler callback. 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().

This callback is executed in HardFault context, thus SVC functions cannot be called from the SoftDevice assert callback.
[in]pcThe program counter of the failed assert.
[in]line_numberLine number where the assert failed.
[in]file_nameFile name where the assert failed.

Definition at line 142 of file nrf_sdm.h.