Vax 613 0S Instruction Manual Page 296

  • Download
  • Add to my manuals
  • Print
  • Page
    / 344
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 295
SET_TERM_INTR
SET_TERM_INTR
Set the state of the console terminal interrupts.
Format
DISPATCH(SET_TERM_INTR,
UNIT,
int_mask);
Arguments
SET_TERM_INTR
SET_TERM_INTR function code (04
16
).
UNIT
Unit number to set interrupts on. Section 16.5.3 gives unit number information.
int_mask
Bit-encoded interrupt mask, where:
<1:0> = 01 Keep current transmit interrupt setting
<1:0> = 1X Enable transmit interrupts
<1:0> = 00 Disable transmit interrupts
<9:8> = 01 Keep current receive interrupt setting
<9:8> = 1X Enable receive interrupts
<9:8> = 00 Disable receive interrupts
Description
This routine reads, enables, or disables either receive or transmit interrupts.
This routine must be called in kernel mode and above the device IPL of the
console device; otherwise, its exception causes UNDEFINED operation.
Returns:
R0<63> = 0 Success
R0<63> = 1 Failure, operation not supported
R0<62:2> Should be zero
R0<1> = 1 Receive interrupts are enabled
R0<1> = 0 Receive interrupts are disabled
R0<0> = 1 Transmit interrupts are enabled
R0<0> = 0 Transmit interrupts are disabled
16–72 Console
Page view 295
1 2 ... 291 292 293 294 295 296 297 298 299 300 301 ... 343 344

Comments to this Manuals

No comments