28.2.36 __builtin_get_isr_state

Description

Determine the current CPU interrupt state.

Prototype

uint16_t __builtin_get_isr_state(void);

Argument

None

Return Value

Returns an integer value specifying the current CPU interrupt state.

Machine Instruction

Device dependent. Some devices have an enable or disable bit but other require a code solution.

Error Messages

None