Chris O'Byrne - YAVRTOS

yavrtos_system_struct Struct Reference

For internal use only.

Structure used by the system to hold the system stack, and a flag indicating whether an ISR is currently being executed.

More...


Data Fields

uint8_t interrupted_task
 non-zero if we are executing an ISR. Also, bit 1 is set if a task switch is required.
uint8_t * stack_top
 The top of the system stack.
task_tfirst_task
 Pointer to the first task in our linked list.
semaphore_t task_stopping_semaphore
 A semaphore we use to not return from stop_task() until the task in question has actually stopped.


Detailed Description

For internal use only.

Structure used by the system to hold the system stack, and a flag indicating whether an ISR is currently being executed.


Field Documentation

non-zero if we are executing an ISR. Also, bit 1 is set if a task switch is required.

The top of the system stack.

Pointer to the first task in our linked list.

A semaphore we use to not return from stop_task() until the task in question has actually stopped.


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

YAVRTOS and YAVRTOS documentation Copyright © 2007-2009 Chris O'Byrne. Email - chris <at> obyrne <dot> com