ssSetAsyncTimerDataType

Syntax

ssSetAsyncTimerDataType(rtM *S, int clockTickDataType)

Arguments

S

SimStruct representing 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.

Example

ssSetAsyncTimerDataType(S, SS_UINT32);

Languages

C, C++

Introduced before R2006a