CHAPTER 8 8-BIT TIMER H1
User’s Manual U17446EJ3V1UD
135
(1) 8-bit timer H compare register 01 (CMP01)
This register can be read or written by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 8-2. Format of 8-bit Timer H Compare Register 01 (CMP01)
Symbol
CMP01
Address: FF0EH After reset: 00H R/W
7
6
5
4
3
2
1
0
Caution CMP01 cannot be rewritten during timer count operation.
(2) 8-bit timer H compare register 11 (CMP11)
This register can be read or written by an 8-bit memory manipulation instruction.
Reset signal generation clears this register to 00H.
Figure 8-3. Format of 8-bit Timer H Compare Register 11 (CMP11)
Symbol
CMP11
Address: FF0FH After reset: 00H R/W
7
6
5
4
3
2
1
0
CMP11 can be rewritten during timer count operation.
If the CMP11 value is rewritten during timer operation, the compare value after the rewrite takes effect at the timing
at which the count value and the compare value before the rewrite match. If the timing at which the count value and
compare value match conflicts with the timing of the writing from the CPU to CMP11, the compare value after the
rewrite takes effect at the timing at which the next count value and the compare value before the rewrite match.
Caution In the PWM output mode, be sure to set CMP11 when starting the timer count operation (TMHE1
= 1) after the timer count operation was stopped (TMHE1 = 0) (be sure to set again even if setting
the same value to CMP11).