MicroC Code Generator : OS Definition Tool : APIs : Customizable Timeouts using OSDT

Customizable Timeouts using OSDT

Allows the user to customize the generated code supporting Timeouts (tm()/dly()) using the OS Definition Tool with the following APIs:

Timeout Install Define(nameid, tmMaskName, tmMaskVal, tmVariableName, tmMaskVarName, tmVariableType, tmCurrentTickName, tmCounterVarName, tmCounterName)

The definition of the Timeout installation, in the file: “macro_def.h”.
Timeout Install Call(nameid, time, counterIndex, tmCounterName, tmCurrentTickName)

The definition of the call to the install of a Timeout, in file: <module>.c
Timeout Test on Expiration Call(nameid, tmCurrentTickName, tmCounterName, tmEventBuffer, tmCounterIndex, genContextVar)

The definition of the call to the Timeouts Dispatch function, in the file: <module>.c.
Timeout Test on Expiration Define(nameid, tmCurrentTickType, tmCurrentTickName, tmEventBuffType, tmEventBuffName, tmCounterIndexType, tmCounterIndex, genContextVar, timeoutList)

The definition of the Timeouts Dispatch function, in the file: <module>.c.
Timeout Test on Expiration Declare(nameid, tmCurrentTickType, tmCurrentTickName, tmEventBuffType, tmEventBuffName, tmCounterIndexType, tmCounterIndex, genContextVar)

The forward declaration of the Timeouts Dispatch function, in the file: type_def.h.
Timeout verflow Code Per Task(tmMasks, tmDispatchFunc, counterMaxAllowdVal, tmEventBuffName, counterIndex, genContextVar, timeoutList, timeoutVarType, counterValueType)

The overflow code related to a specific Task with Timeouts, put in the Overflow-Task, in the file: glob_func.c.

These APIs are available for update from the DEFAULT OSI.