home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix Heaven Sunny 2
/
APPARE2.BIN
/
oh_towns
/
his
/
source
/
hisl6.c
< prev
next >
Wrap
C/C++ Source or Header
|
1995-06-20
|
874b
|
26 lines
/***********************************************************************
* *
* ハードウェア割り込み支援ライブラリ *
* *
* 1995.6.12 by ちょもらんま *
* *
***********************************************************************/
#include <hisinner.h>
/************************* 割り込み番号チェック ************************/
/* 戻り値 : HIS_NoError(正常) or HIS_IllegalIntNumber(不正) */
int HIS_checkIntNumber( int intnum )
{
if( ( 0 <= intnum ) && ( intnum < HardwareIntTypes ) )
{
return HIS_NoError;
}
else
{
return HIS_IllegalIntNumber;
}
}