29.1.11 __builtin_set_isr_state Built-in Function

Description

Set the Interrupt Priority Level and Interrupt Enable bits using a value obtained from __builtin_get_isr_state().

Prototype

void __builtin_set_isr_state(unsigned int);

Argument

An unsigned integer value obtained from __builtin_get_isr_state().

Return Value

None.

Assembler Operator/ Machine Instruction

di
ehb
mfc0   $2, $12, 0
ins    $2,$3,10,3
srl    $3,$3,3
ins    $2,$3,0,1
mtc0   $2, $12, 0 
ehb

Error Messages

None.