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.”
b7 b6 b5 b4 b3 b2 b1 b0
Timer Ai interrupt control register (i = 0 to 4) (Addresses 7516 to 7916)
(i = 5 to 9) (Addresses F516 to F916)
Function
Bit
0
Bit name
At reset R/W
b2 b1b0
Interrupt priority level select bits
0
0
0
RW
RW
RW
0 0 0 : Level 0 (Interrupt disabled)
0 0 1 : Level 1
0 1 0 : Level 2
1
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
Interrupt request bit
Nothing is assigned.
RW
(Note)
0
0 : No interrupt requested
1 : Interrupt requested
3
7 to 4
Undefined
—
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 ” (level 0).
2
(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