TIMER A
7.2 Block description
7.2.5 Timer Ai interrupt control register
Figure 7.2.6 shows the structure of the timer Ai interrupt control register. For details about interrupts, refer
to
“CHAPTER 6. INTERRUPTS.”
Timer Ai interrupt control register (i = 0 to 4) (Addresses 75
16
to 79
16
)
(i = 5 to 9) (Addresses F5
16
to F9
16
)
Bit
0
1
2
3
7 to 4
Interrupt request bit
Nothing is assigned.
Bit name
Interrupt priority level select bits
b2 b1 b0
b7 b6 b5 b4 b3 b2 b1 b0
Function
0 0 0 : Level 0 (Interrupt disabled)
0 0 1 : Level 1
0 1 0 : Level 2
0 1 1 : Level 3
1 0 0 : Level 4
1 0 1 : Level 5
1 1 0 : Level 6
1 1 1 : Level 7
0 : No interrupt requested
1 : Interrupt requested
At reset
0
0
0
0
Undefined
R/W
RW
RW
RW
RW
(Note)
—
Note:
When writing to this bit, use the
MOVM (MOVMB)
instruction or
STA (STAB, STAD)
instruction.
Fig. 7.2.6 Structure of timer Ai interrupt control register
(1) Interrupt priority level select bits (bits 2 to 0)
These bits are used to select a timer Ai interrupt’s priority level. When using timer Ai interrupts,
select the priority level from levels 1 through 7. When a timer Ai interrupt request occurs, its priority
level is compared with the processor interrupt priority level (IPL), so that the requested interrupt is
enabled only when its priority level is higher than the IPL. (However, this applies when the interrupt
disable flag (I) = “0.”) To disable timer Ai interrupts, set these bits to “000
2
” (level 0).
(2) Interrupt request bit (bit 3)
This bit is set to “1” when a timer Ai interrupt request occurs. This bit is automatically cleared to “0”
when the timer Ai interrupt request is accepted. This bit can be set to “1” or cleared to “0” by
software.
7906 Group User’s Manual Rev.2.0
7-9