Chapter 3 Interrupts

Timer 7 Compare Register 2-match Interrupt Control Register (TOC2ICR)

The timer 7 compare register 2-match interrupt control register (TOC2ICR) controls interrupt level of timer 7 compare register 2-match interrupt , interrupt enable flag and interrupt request. Interrupt control register should be operated when the maskable interrupt enable flag (MIE) of PSW is "0".

T7OC2ICR

7

6

5

4

3

2

1

0

 

T7OC2

T7OC2

-

-

-

-

T7OC2

T7OC2

 

LV1

LV0

 

 

 

 

IE

IR

 

 

 

 

 

 

 

 

 

 

 

(At reset : 0 0 - - - - 0 0)

T7OC2IR

Interrupt request flag

 

 

0No interrupt request

1Interrupt request generated

T7OC2IE

Interrupt enable flag

0Disable interrupt

1Enable interrupt

T7OC2 T7OC2

LV1 LV0

Interrupt level flag

The CPU has interrupt levels from 0 to 3. These flags set the interrupt level for interrupt requests.

Figure 3-2-17 Timer 7 Compare Register 2-match Interrupt Control Register

(TMOC2ICR : x'03FF2', R/W)

Control Registers

III - 29

Page 123
Image 123
Panasonic F77G, MN101C77C user manual T7OC2IR, T7OC2IE