User`s manual

External Routines
C-2 Single Board Computers SCSI Software UserÕs Manual
C
splhi
NAME
splhi ÑMask interrupts
SYNOPSIS
UINT splhi()
DESCRIPTION
The splhi routine masks interrupts from the NCR 53C710 SCSI chip. This
routine is normally used in conjunction with splx.
Example:
level = splhi(); /* mask interrupts */
/* code that cannot be interrupted goes here */
splx(level); /* go to previous priority level */
RETURN VALUE
splhi is always successful and returns the previous interrupt priority level.
This value is hardware specific and it is not guaranteed to be in the range 0
through 7.
ERROR CONDITIONS
none