28.2.122 __builtin_set_isr_state

Architecture

dsPIC33A, dsPIC33C/E/F, dsPIC30

Description

Set the current CPU interrupt state.

Prototype

void __builtin_get_isr_state(unsigned int state);

For dsPIC33A, unsigned int is uint32_t. For dsPIC33C/E/F and dsPIC30, unsigned int is uint16_t.

Argument

state – Integer value specifying the current CPU interrupt state.

Return Value

None

Machine Instruction

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

Error Messages

None