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#
Memory needed by the Task for internal states. Pointer to buffer.
Pointer to a statically allocated stack-buffer-array for the task. Pointer to buffer.
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.
37
of file /mnt/raid/workspaces/ws.5ZeoF8fvV/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.
38
of file /mnt/raid/workspaces/ws.5ZeoF8fvV/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.
39
of file /mnt/raid/workspaces/ws.5ZeoF8fvV/overlay/gsdk/protocol/z-wave/ZWave/API/ZW_UserTask.h