Nios® V Processor Software Developer Handbook

ID 743810
Date 7/08/2024
Public
Document Table of Contents

16.1.1.79. alt_niosv_is_msw_interrupt_enabled()

Prototype

int alt_niosv_is_msw_interrupt_enabled()

Commonly Called By

C/C++ programs

Thread-safe

Yes.

Available from ISR

Yes.

Include

<sys/msw_interrupt.h>

Description

The int alt_niosv_is_msw_interrupt_enabled() function determines whether the machine software interrupt is enabled.

Return

Returns zero if the machine software interrupt is disabled, and nonzero otherwise.