Lazuli
Data Fields
Lz_TaskConfiguration Struct Reference

Represents the configuration of a task. More...

#include <lazuli.h>

Data Fields

char const * name
 A pointer to an allocated const string containing the name to give to the task. More...
 
size_t stackSize
 The size of the stack needed by the task.
 
enum Lz_SchedulingPolicy schedulingPolicy
 The scheduling policy of the task.
 
lz_task_priority_t priority
 The priority of task. More...
 
lz_u_resolution_unit_t period
 The period (T) of the task. More...
 
lz_u_resolution_unit_t completion
 The completion time (C) of the task (worst case execution time). More...
 

Detailed Description

Represents the configuration of a task.

Definition at line 88 of file lazuli.h.

Field Documentation

◆ name

char const* Lz_TaskConfiguration::name

A pointer to an allocated const string containing the name to give to the task.

That string must NOT be deallocated after registering the task.

Definition at line 94 of file lazuli.h.

◆ priority

lz_task_priority_t Lz_TaskConfiguration::priority

The priority of task.

Only used for non-cyclic tasks. The lower this number is, the higher the priority will be.

Definition at line 110 of file lazuli.h.

◆ period

lz_u_resolution_unit_t Lz_TaskConfiguration::period

The period (T) of the task.

Used only for cyclic tasks.

The period is expressed as an integer number of time units.

Definition at line 117 of file lazuli.h.

◆ completion

lz_u_resolution_unit_t Lz_TaskConfiguration::completion

The completion time (C) of the task (worst case execution time).

Used only for cyclic tasks.

The completion time is expressed as an integer number of time units.

Definition at line 125 of file lazuli.h.


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