home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix Heaven Sunny 2
/
APPARE2.BIN
/
oh_towns
/
his
/
source
/
hisl9.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-20
|
791b
|
24 lines
/***********************************************************************
* *
* ハードウェア割り込み支援ライブラリ *
* *
* 1995.6.12 by ちょもらんま *
* *
***********************************************************************/
#include <hisinner.h>
/********************** 割り込みマスク状態を調べる *********************/
int HIS_checkMask( int intnum )
{
if( ( HIS_readIMR() & ( 0x0001 << intnum ) ) == 0 )
{
return HIS_intUnmasked;
}
else
{
return HIS_intMasked;
}
}