CPU_INT16U OSVersion (OS_ERR *p_err);
File | Called from | Code enabled by |
---|---|---|
| Task or ISR | N/A |
OSVersion()
obtains the current version of µC/OS-III.
Arguments
p_err
is a pointer to a variable that contains an error code returned by this function. Currently, OSVersion()
always return:
OS_ERR_NONE
Returned Value
The version is returned as x.yy.zz
multiplied by 10,000
. For example, V3.00.00 is returned as 30000
.
Notes/Warnings
None