Interfaces RTOS
Each product has a number of interfaces, see the image below:

We focus on the interface to the RTOS - please refer to the description on all interfaces
on details for non-RTOS interfaces. All RXF source files always
include WSTRTOS.h
Example:
#include "RxfConstants.h"
#include "WSTProduct.h"
#include "WSTProlog.h"
#include "WSTCompiler.h"
#include "WSTTarget.h"
#include "WSTRTOS.h"
#include "WSTPMF.h"
#include
"RxfDimensions.h"
.. (include
files for ANSI-C like stddef.h, include files for RXF)
#include "WSTEpilog.h"
Interface RTOS
| Files |
Description |
| WSTRTOS.h |
This file may set the constant WSTRTOS_INIT_AND_CLEANUP_AS_EMPTY_MACROS to disable true implementations of WSTRTOS_Init() and WSTRTOS_Cleanup().
This
file defines the following functions:
|
|
Its prototype is:
void
WSTRTOS_Init( void );
|
|
|
Its
prototype is:
void
WSTRTOS_Cleanup( void );
|
- WSTRTOS_incrementRxfTicks
|
Its
prototype is:
void
WSTRTOS_incrementRxfTicks( void );
|
|
|
Its prototype is:
timeUnit WSTRTOS_getRxfTicks(
void );
|
|
|
Its prototype is:
void
WSTRTOS_sleep( timeUnit aTime
);
|
|
| WSTRTOS.c |
This file is used in the GettingStarted example.
It implements the following functions:
|
|
This
function is left empty. |
|
|
This
function is left empty. |
- WSTRTOS_incrementRxfTicks
|
This function increments the local static rxfTicks
|
|
|
This function returns the local static rxfTicks |
|
|
This function is left empty. |
|
Copyright (c) Willert
Software Tools GmbH. All rights reserved.