@CHIP-RTOS C Library V2.06 - Helper Functions
helper_alloc_rtos_fast_mem
Allocate memory from @CHIP-RTOS fast memory pool (BIOSIntA0h function 57h) unsigned int helper_alloc_rtos_fast_mem(unsigned long size); Parameters
size
- Requested memory size in bytes
Return Value
- If 0, memory allocation failed.
Else segment of the allocated memory area
Comments
- The returned segment can be used to build a normalized pointer to the allocated memory area e.g.
seg=helper_alloc_rtos_fast_mem(1024);
ptr = MK_FP(seg,0);
RTOS API
- This library function invokes a RTOS software interrupt.
Refer to this RTOS API function's
documentation
for more details.
Supported since or modified in @CHIP-RTOS version-
SC12 | SC13 | SC11 | SC1x3 |
-
n/a | n/a | n/a | V0.90 |
This API List
List of C Libraries
@CHIP-RTOS Main Index
End of document
|