6 INTERRUPTS
The
-15. The interrupt level is selected through jumper blocks J5 and J6 ( see JUMPER BLOCK CONFIGURATIONS on page 11). The interrupt source is selected by bits D4 and D5 of the configuration register. The
When using interrupts with the
1.Do a software interrupt acknowledge to the SCC. This is accom- plished by reading the interrupt vector register, status register 2, in channel B of the SCC. The value supplied by this read can also be used to vector to the appropriate part of the ISR.
2.Service the interrupt by reading the receiver buffer, writing to the transmit buffer, etc.
3.Write a Reset Highest Interrupt Under Service (IUS) to the SCC. This is done by writing a 0x38 to the SCC command register.
4.Check for any additional interrupts pending in the SCC and service them.
5.For applications running under DOS, a nonspecific End of Interrupt must be submitted to the interrupt controller. For Interrupts
For further information on these subjects or any others involving the SCC contact the manufacturer of the SCC being used for a complete technical manual.
17 | Quatech Inc., |