Everything

ena_dsp

Outline
Enable dispatching.
C format
 ER      ena_dsp ( void );

Assembly format
 CALL    !!_ena_dsp

Parameter(s)
None.
Explanation
This service call changes the system status to the dispatching enabled state.
As a result, dispatch processing (task scheduling) that has been disabled by issuing dis_dsp is enabled.
If a service call (chg_pri, sig_sem, etc.) accompanying dispatch processing is issued during the interval from when dis_dsp is issued until this service call is issued, the RI78V4 executes only processing such as queue manipulation, counter manipulation, etc., and the actual dispatch processing is delayed until this service call is issued, upon which the actual dispatch processing is performed in batch.
Note This service call does not perform queuing of enable requests. If the system is in the dispatching enabled state, therefore, no processing is performed but it is not handled as an error.
Return value
Macro
Value
Description
E_OK
0
Normal completion.