Main Content

ssSetAsyncTimerDataType

sets the data type of the asynchronous task

Syntax

ssSetAsyncTimerDataType(rtM *S, int clockTickDataType)

Arguments

S

SimStruct that represents an S-Function block.

clockTickDataType

The data type enumerations. Allowed values are SS_TIMER_UINT32_PAIR, SS_UINT32, SS_UINT16 and SS_UINT8.

Returns

None

Description

When creating S-functions, set the data type of the asynchronous task using the ssSetAsyncTimerDataType to when create an asynchronous function initiator block.

Examples

ssSetAsyncTimerDataType(S, SS_UINT32);

Languages

C, C++

Version History

Introduced before R2006a