td_struct Struct Reference

All the data needed to describe the task, including its context. More...

#include <kernel.h>


Data Fields

uint8_t stack [WORKSPACE]
uint8_t *volatile sp
uint8_t name
task_state_t state
int arg
uint8_t level
task_descriptor_tnext


Detailed Description

All the data needed to describe the task, including its context.

Definition at line 96 of file kernel.h.


Field Documentation

uint8_t td_struct::stack[WORKSPACE]

The stack used by the task. SP points in here when task is RUNNING.

Definition at line 99 of file kernel.h.

uint8_t* volatile td_struct::sp

A variable to save the hardware SP into when the task is suspended.

Definition at line 101 of file kernel.h.

uint8_t td_struct::name

PERIODIC tasks need a name in the PPP array.

Definition at line 103 of file kernel.h.

task_state_t td_struct::state

The state of the task in this descriptor.

Definition at line 105 of file kernel.h.

int td_struct::arg

The argument passed to Task_Create for this task.

Definition at line 107 of file kernel.h.

uint8_t td_struct::level

The priority (type) of this task.

Definition at line 109 of file kernel.h.

task_descriptor_t* td_struct::next

A link to the next task descriptor in the queue holding this task.

Definition at line 111 of file kernel.h.


The documentation for this struct was generated from the following file:
Generated on Tue Oct 23 21:49:51 2007 for RTOS by  doxygen 1.5.1