A buffer structure to allocate the needed memory for a task in user space.

The stack size is not fixed, but limited to between TASK_STACK_SIZE_MAX and TASK_STACK_SIZE_MIN. The actual size chosen must be set in stackBufferLength The buffers must be allocated elsewhere, since this structure does not allocate any space, but holds the pointers to the buffers

Public Attributes#

StaticTask_t *

Memory needed by the Task for internal states. Pointer to buffer.

uint8_t *

Pointer to a statically allocated stack-buffer-array for the task. Pointer to buffer.

uint16_t

This is measured in bytes and is preferably a multiple of 4, or it will be rounded down.

Public Attribute Documentation#

taskBuffer#

StaticTask_t* ZW_UserTask_Buffer_t::taskBuffer

Memory needed by the Task for internal states. Pointer to buffer.


Definition at line 37 of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_UserTask.h

stackBuffer#

uint8_t* ZW_UserTask_Buffer_t::stackBuffer

Pointer to a statically allocated stack-buffer-array for the task. Pointer to buffer.


Definition at line 38 of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_UserTask.h

stackBufferLength#

uint16_t ZW_UserTask_Buffer_t::stackBufferLength

This is measured in bytes and is preferably a multiple of 4, or it will be rounded down.


Definition at line 39 of file /mnt/raid/workspaces/ws.T7KR5OZRo/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_UserTask.h