C55_disableIER0, C55_disableIER1
Application Program Interface
2-27
C Interface
Syntax
oldmask = C55_disableIER0(mask);
oldmask = C55_disableIER1(mask);
Parameters
Uns
mask;
/* disable mask */
Return Value
Uns
oldmask; /* actual bits cleared by disable mask */
Description
C55_disableIER0 and C55_disableIER1 disable interrupts by clearing
the bits specified by mask in the Interrupt Enable Register (IER0/IER1).
C55_disableIER0 and C55_disableIER1 return a mask of bits actually
cleared. This return value should be passed to C55_enableIER0 or
C55_enableIER1 to re-enable interrupts.
See C55_enableIER0, C55_enableIER1 for a description and code
examples for safely protecting a critical section of code from interrupts.
See Also
C55_enableIER0, C55_enableIER1
C55_disableIER0,
C55_disableIER1
Disable certain maskable interrupts