Nios® V Processor Software Developer Handbook

ID 743810
Date 4/01/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

15.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.