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

softdevice_handler.h File Reference

softdevice_handler.h File Reference

Go to the source code of this file.


typedef uint32_t(* softdevice_evt_schedule_func_t )(void)
 Type of function for passing events from the stack handler module to the scheduler.
typedef void(* sys_evt_handler_t )(uint32_t evt_id)
 Application System (SOC) event handler type.


bool softdevice_handler_isEnabled (void)
 Function for retrieving the information about SD state.
uint32_t softdevice_handler_init (nrf_clock_lfclksrc_t clock_source, void *p_ble_evt_buffer, uint16_t ble_evt_buffer_size, softdevice_evt_schedule_func_t evt_schedule_func)
 Function for initializing the stack handler module.
uint32_t softdevice_handler_sd_disable (void)
 Function for disabling the SoftDevice.
uint32_t softdevice_sys_evt_handler_set (sys_evt_handler_t sys_evt_handler)
 Function for registering for System (SOC) events.

Detailed Description

Definition in file softdevice_handler.h.