Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

CPU_INT16U OSVersion (OS_ERR  *p_err);

File

Called from

Code enabled by

os_core.c

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

Example

  • No labels