BRISCITS  0.1
RISC "Real-Time" Scheduler
Data Fields
brisc_scheduler Struct Reference

#include <brisc_sched.h>

Data Fields

uint8_t thread_id
 
int8_t lock
 
int8_t prio
 
brisc_systick_t systick
 
void(* systick_fn )(void)
 
void(* yield_fn )(void)
 
brisc_thread_t threads [BRISC_THREAD_MAX]
 

Detailed Description

Definition at line 99 of file brisc_sched.h.

Field Documentation

int8_t lock

Scheduler lock, prevents other threads from being scheduled

Definition at line 102 of file brisc_sched.h.

int8_t prio

Remaining prio remaining in current thread

Definition at line 103 of file brisc_sched.h.

brisc_systick_t systick

Systick counter, typical 1 millisecond

Definition at line 104 of file brisc_sched.h.

void(* systick_fn) (void)

Optional callback from systick ISR

Definition at line 105 of file brisc_sched.h.

uint8_t thread_id

Definition at line 101 of file brisc_sched.h.

brisc_thread_t threads[BRISC_THREAD_MAX]

Thread queue, threads which have a valid prio may be scheduled to run

Definition at line 110 of file brisc_sched.h.

void(* yield_fn) (void)

Optional callback from yield ISR

Definition at line 106 of file brisc_sched.h.


The documentation for this struct was generated from the following file: