A(rduino) OS
Simple Task Scheduler for Arduino Development Board
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
aos_sys Struct Reference

system state descriptor More...

#include <aos_sys_types.h>

Data Fields

volatile struct aos_ctx ctx
 holds global stack pointer and system context maybe useful for doing a task fork implementation More...
 
aos_hook_cb_t hooks [AOS_HOOK_LAST]
 hook dispatching table More...
 
aos_systime_t ticks
 system time More...
 
struct task_cbcurrent
 task currently scheduled More...
 
struct aos_run_list rl
 system run-list More...
 
struct aos_timertimers
 list of timers if there are any More...
 
uint8_t status
 system status register More...
 

Detailed Description

system state descriptor

Definition at line 92 of file aos_sys_types.h.

Field Documentation

volatile struct aos_ctx ctx

holds global stack pointer and system context maybe useful for doing a task fork implementation

Definition at line 98 of file aos_sys_types.h.

struct task_cb* current

task currently scheduled

Definition at line 107 of file aos_sys_types.h.

hook dispatching table

Definition at line 101 of file aos_sys_types.h.

struct aos_run_list rl

system run-list

Definition at line 110 of file aos_sys_types.h.

uint8_t status

system status register

* 
*            | B |  A
* - - - - - | - | - -
* 7 6 5 4 3 | 2 | 1 0
* -------------------
*
* A - System Status
* B - ISR interrupted flag
* 
* 

Definition at line 129 of file aos_sys_types.h.

system time

Definition at line 104 of file aos_sys_types.h.

struct aos_timer* timers

list of timers if there are any

Definition at line 113 of file aos_sys_types.h.


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