Nios® V Processor Software Developer Handbook

ID 743810
Date 9/26/2022
Public

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

Document Table of Contents

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