B-6
K
A
DAK
AMX 68000 Target Guide
cjcfdi cjcfdicjcfei cjcfeiPurpose Disable or Enable Interrupts
Used by n Task n ISP n Timer Procedure n Restart Procedure n Exit Procedure
(cjcfdi only)
Setup Prototype in file
CJZZZTF.H or macro in file
CJZZZCC.H.
#include "CJZZZ.H"
void CJ_CCPP cjcfdi(void);
void CJ_CCPP cjcfei(void);
Description Tasks can use cjcfdi to briefly disable all sources of interrupt.
Immediately thereafter the task can use cjcfei to enable all sources of
interrupt again.
Interrupts n Disabled by cjcfdi n Enabled by cjcfei
Returns Nothing
The interrupt priority in the status register (SR) is set to 6 to disable
interrupts or reset to 0 to enable interrupts.
Restrictions ISPs must not use cjcfei. If nested interrupts are supported in your
application, ISPs must always use cjcfflagwr to restore interrupts to the
state determined by an earlier call to cjcfflagrd.
Interrupts should be enabled within a short time after they are disabled or
system performance will be degraded.
See Also cjcfflagrd, cjcfflagwr