Difference between revisions of "HANcoder/STM32/Blocks/Get Free Heap"
From OpenMBD
m (Jasonvankolfschoten moved page HANcoder/Get Free Heap to HANcoder/STM32/Blocks/Get Free Heap without leaving a redirect) |
|||
Line 27: | Line 27: | ||
{{HANcoder/BlockFooter| | {{HANcoder/BlockFooter| | ||
− | |SeeAlso = [[HANcoder/Get_CPU_Load| Get CPU load]] {{!}} [[HANcoder/Get_Free_Stack|Get Free Stack]] | + | |SeeAlso = [[HANcoder/STM32/Blocks/Get_CPU_Load| Get CPU load]] {{!}} [[HANcoder/STM32/Blocks/Get_Free_Stack|Get Free Stack]] |
}} | }} |
Latest revision as of 11:33, 5 May 2017
Supported Targets: Olimexino, E407, P405
Contents
General information about Get Free Heap
A 'Get free Heap' block reads the number of bytes that are still available on the heap. The heap is a part of RAM that is used for dynamic memory allocation. For example, each CAN receive block allocates some heap memory for storing the message related data.
Block
Mask
Block outputs (outports)
The amount of free bytes available in the heap.[uint16]
Block parameters
Parameter | Description |
---|---|
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. |