Difference between revisions of "HANcoder/STM32/Blocks/Get Free Stack"

From OpenMBD
< HANcoder‎ | STM32‎ | Blocks
Jump to: navigation, search
(Created page with "{{HANcoder/block| info= A 'Get free Stack' block reads the number of bytes that are still available on the stack of a specific task. Each stack has its own dedicated stack fo...")
 
 
(3 intermediate revisions by the same user not shown)
Line 13: Line 13:
 
|SeeAlso = [[HANcoder/Get_Free_Heap|Get Free Heap]]
 
|SeeAlso = [[HANcoder/Get_Free_Heap|Get Free Heap]]
  
 +
}}
 +
 +
== Block outputs (outports) ==
 +
The amount of free bytes available on the stack.[uint16]<br/>
 +
 +
== Block parameters ==
 +
{| class="wikitable"
 +
|-
 +
! style="width:150px" | Parameter
 +
! Description
 +
|-
 +
| Task Name
 +
| Select the task to check the number of free bytes on the stack.
 +
|-
 +
| Sample time
 +
| Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.
 +
|}
 +
 +
{{HANcoder/BlockFooter|
 +
|SeeAlso = [[HANcoder/STM32/Blocks/Get_CPU_Load| Get CPU load]] {{!}} [[HANcoder/STM32/Blocks/Get_Free_Heap|Get Free Heap]]
 
}}
 
}}

Latest revision as of 11:36, 5 May 2017

Supported Targets: Olimexino, E407, P405

General information about Get Free Stack

A 'Get free Stack' block reads the number of bytes that are still available on the stack of a specific task. Each stack has its own dedicated stack for storage of temporary data, including local variables.

Block

GetFreeStack.png

Mask

GetFreeStackMask.png

Block outputs (outports)

The amount of free bytes available on the stack.[uint16]

Block parameters

Parameter Description
Task Name Select the task to check the number of free bytes on the stack.
Sample time Sample time of the block. The Sample time (in seconds) defines the rate at which the block is visited by the real-time scheduler of the target. The value of the Sample time has to be an integer multiple of the base sample time of the model.

See Also

Get CPU load | Get Free Heap