sns_ctx

Outline

Reference contexts.

C format

 BOOL    sns_ctx ( void );


Assembly format

 CALL    !!_sns_ctx


Parameter(s)

None.

Explanation

This service call acquires the context type of the processing program that issued this service call (non-task context or task context).

When this service call is terminated normally, the acquired context type (TRUE: non-task context, FALSE: task context) is returned.

Non-task contexts: cyclic handler, interrupt handler

Task contexts: task

Return value

Macro

Value

Description

TRUE

1

Normal completion (Non-task contexts).

FALSE

0

Normal completion (Task contexts).