IPC@CHIP® RTOS-PPC – API Documentation

Header image

Main page


RTOS Legacy Task Status API


Detailed Description

This set of API exists for compatibility with older Beck 16 bit computers (SC1x, SC2x and SC1x3) C-libraries. For new programs which do not require source code compatiblity with older systems, there exists newer more efficient functions. These newer replacement functions are cited here for each of these legacy function.

Data Structures

struct  Task_StateData
 Task state data. More...

Defines

#define RTX_TS_TIMER_WAIT   (0x1)
 Timer wait bit in Task_StateData::taskState.
#define RTX_TS_TRIGGER_WAIT   (0x2)
 Trigger wait bit in Task_StateData::taskState.
#define RTX_TS_SEMAPHORE_WAIT   (0x4)
 Semaphore wait bit in Task_StateData::taskState.
#define RTX_TS_EVENT_WAIT   (0x8)
 Event wait bit in Task_StateData::taskState.
#define RTX_TS_MSG_XCHG_WAIT   (0x10)
 Message Exchange wait bit in Task_StateData::taskState.
#define RTX_TS_SUSPEND_WAIT   (0x40)
 Task suspended bit in Task_StateData::taskState.
#define RTX_TS_WAITING_FOR_WAKE   (0x80)
 Task sleep bit in Task_StateData::taskState.

Functions

int RTX_Get_Task_State (const char *taskname, Task_StateData *taskdata, int *error)
 Get task state.
int RTX_Get_Task_State_Ext (const char *taskname, unsigned int *taskstate, int *error)
 Get task state.





Top of page | Main page

Copyright © 2017 Beck IPC GmbH
Generated on Thu Jan 26 16:21:37 2017 by Doxygen 1.6.1