OS_EnableIrq

Syntax

#include <nitro/os.h>

BOOL OS_EnableIrq( void );

Arguments

None.

Return Values

The IRQ interrupt enable state before calling this function.

Enabled if TRUE; disabled if FALSE.

Description

This function enables IRQ interrupts.

This function manipulates the master enable flag for all IRQ interrupts. Even if IRQ interrupt factors are individually enabled, no IRQ interrupts will occur if the master enable flag is not enabled.

The returned value is the IRQ interrupt enable state before calling this function. Returns TRUE if enable; FALSE if disabled.

Internal Operation

Operates the I/O Register's IME (Interrupt Master Enable).

See Also

OS_GetIrq, OS_DisableIrq, OS_RestoreIrq

Revision History

2005/03/08 Standardized the Japanese term for "interrupt."
2003/12/01 Initial version.


CONFIDENTIAL