38 #include "MicroSpecific.h" 39 #include "sys/int-master.h" 46 MICRO_ENABLE_INTERRUPTS();
54 MICRO_DISABLE_AND_SAVE_INTERRUPTS(status);
62 MICRO_RESTORE_INTERRUPTS(status);
70 asm volatile (
"bw.mfspr %0, r0, 17;" :
"=r"(status) : );
bool int_master_is_enabled(void)
Retrieve the status of the master interrupt.
void int_master_enable(void)
Enable the master interrupt.
INT_MASTER_STATUS_DATATYPE int_master_status_t
Master interrupt state representation data type.
void int_master_status_set(int_master_status_t status)
Set the status of the master interrupt.
int_master_status_t int_master_read_and_disable(void)
Disable the master interrupt.