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

app_scheduler.h File Reference

app_scheduler.h File Reference

Go to the source code of this file.


typedef void(* app_sched_event_handler_t )(void *p_event_data, uint16_t event_size)
 Scheduler event handler type.


uint32_t app_sched_init (uint16_t max_event_size, uint16_t queue_size, void *p_evt_buffer)
 Function for initializing the Scheduler.
void app_sched_execute (void)
 Function for executing all scheduled events.
uint32_t app_sched_event_put (void *p_event_data, uint16_t event_size, app_sched_event_handler_t handler)
 Function for scheduling an event.
void app_sched_pause (void)
 A function to pause the scheduler.
void app_sched_resume (void)
 A function to resume a scheduler.

Detailed Description

Definition in file app_scheduler.h.