|
| << Previous | Next >> |
OS_MEM *OSMemCreate (void *addr, INT32U nblks, INT32U blksize, INT8U *err);
Description
- Creates a fixed-sized memory partition that will be managed by µC/OS-II.
Parameters
- addr
- Pointer to starting address of the partition.
- nblks
- Number of memory blocks to create in the partition.
- blksize
- The size (in bytes) of the memory blocks.
- err
- Pointer to variable containing an error message.
Return value
- Pointer to the created memory partition control block if one is available,
NULLpointer otherwise.Library
- OS_MEM.C
See also
- OSMemGet, OSMemPut, OSMemQuery
| 020-0059 Rev. D | << Previous | Next >> | µC/OS-II |