CHAPTER 7 8-BIT TIMER 80
User’s Manual U16898EJ3V0UD
124
(1) 8-bit compare register 80 (CR80)
This 8-bit register always compares its set value with the count value of 8-bit timer/counter 80 (TM80). It
generates an interrupt request signal (INTTM80) if the two values match.
CR80 is set by using an 8-bit memory manipulation instruction. A value of 00H to FFH can be set to this
register.
Reset signal generation makes the contents of this register undefined.
Figure 7-2. Format of 8-Bit Compare Register 80 (CR80)
Symbol
CR80
Address: FFCDH After reset: Undefined W
7
6
5
4
3
2
1
0
Caution When changing the value of CR80, be sure to stop the timer operation. If the value of CR80
is changed with the timer operation enabled, a match interrupt request signal is generated
immediately and the timer may be cleared.
(2) 8-bit timer/counter 80 (TM80)
This 8-bit register counts the count pulses.
The value of TM80 can be read by using an 8-bit memory manipulation instruction.
Reset signal generation clears TM80 to 00H.
Figure 7-3. Format of 8-Bit Timer Counter 80 (TM80)
Symbol
TM80
Address: FFCEH After reset: 00H R
7
6
5
4
3
2
1
0