ena_tex

Outline

Enable task exception.

C format

 ER      ena_tex (void);
Parameter(s)

None.

Explanation

This service call enables task exception handling for the invoking task.

Return value

Macro

Value

Description

E_OK

0

Normal completion.

E_CTX

-25

Context error.

- This service call was issued from a non-task.

- This service call was issued in the CPU locked state.

- This service call was issued in the status "PSW.IPL > kernel interrupt mask level".

E_MACV

-26

Memory access violation.

- Stack pointer points out of user stack for invoking task.

E_OBJ

-41

Object state error.

- A task exception handling routine is not defined for the invoking task.