28.2.149 __builtin_write_DISICTL

Architecture

dsPIC33A

Description

Disable interrupts at or below the threshold given by the argument (an argument of zero will enable all interrupts). The current interrupt priority threshold is returned; the return result may be omitted by casting the expression to void .

Prototype

uint32_t __builtin_write_DISICTL(uint32_t threshold);

Argument

threshold - new interrupt priority threshold

Return Value

Return the previous interrupt priority threshold.

Machine Instruction

disictl

Error Messages

If a literal value is provided, it must within the range of 0 to 7; a compile time error message will be reported the threshold argument is outside of these bounds.