English
Language : 

MC68HC901 Datasheet, PDF (34/73 Pages) Motorola, Inc – Multi-Function Peripheral
Interrupt Structure
ISRB REGISTER
BIT
7
FIELD
GPIP5
RESET
0
ADDR
6
GPIP4
0
5
TIMER C
0
4
3
TIMER D GPIP3
0
0
$11
2
GPIP2
0
1
GPIP1
0
0
GPIP0
0
GPIP5-GPIP4 — General Purpose Interrupt Servicing
1 = In-service.
0 = No service in progress.
Timer C — Timer C Interrupt Servicing
1 = In-service.
0 = No service in progress.
Timer D — Timer D Interrupt Servicing
1 = In-service.
0 = No service in progress.
GPIP3-GPIP0 — General Purpose Interrupt Servicing
1 = In-service.
0 = No service in progress.
4.4 NESTING MFP INTERRUPTS
In an M68000 vectored interrupt system, the MFP is assigned to one of seven possible
interrupt levels. When an interrupt is received from the MFP, an interrupt acknowledge for
that level is initiated. Once an interrupt is recognized at a particular level, interrupts at the
same level or below are masked by the processor. As long as the processor's interrupt mask
is unchanged, the M68000 interrupt structure will prohibit nesting the interrupts at the same
interrupt level. However, additional interrupt requests from the MFP can be recognized
before a previous channel's interrupt service routine is finished by lowering the processor's
interrupt mask to the next lower interrupt level within the interrupt handler.
When nesting MFP interrupts, it may be desirable to permit interrupts on any MFP channel
regardless of its priority, to pre-empt or delay interrupt processing of an earlier channel's
interrupt service request. Or, it may be desirable to only allow subsequent higher priority
channel interrupt requests to supercede previously recognized lower priority interrupt
requests. The MFP interrupt structure provides the flexibility by offering two end-of-interrupt
options for vectored interrupt schemes. The end-of-interrupt modes are not active in a polled
interrupt scheme.
4.4.1 Selecting the End-Of-Interrupt Mode
In a vectored interrupt scheme, the MFP may be programmed to operate in either the
automatic end-of-interrupt mode or the software end-of-interrupt mode. The mode is
selected by writing the S bit of the vector register. When the S bit is programmed to a one,
4-11
MC68HC901 USER’S MANUAL
MOTOROLA