CHAPTER 8 8-BIT TIMERS H0 AND H1
Preliminary User’s Manual U16846EJ1V0UD
158
(1) 8-bit timer H compare register 0n (CMP0n)
This register can be read/written by an 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Figure 8-3. Format of 8-Bit Timer H Compare Register 0n (CMP0n)
Symbol
CMP0n
(n = 0, 1)
Address: FF18H (CMP00), FF1AH (CMP01) After reset: 00H R/W
7
6
5
4
3
2
1
0
Caution CMP0n cannot be rewritten during timer count operation.
(2) 8-bit timer H compare register 1n (CMP1n)
This register can be read/written by an 8-bit memory manipulation instruction.
RESET input clears this register to 00H.
Figure 8-4. Format of 8-Bit Timer H Compare Register 1n (CMP1n)
Symbol
CMP1n
(n = 0, 1)
Address: FF19H (CMP10), FF1BH (CMP11) After reset: 00H R/W
7
6
5
4
3
2
1
0
CMP1n can be rewritten during timer count operation.
If the CMP1n value is rewritten during timer operation, transfer is performed at the timing at which the count value
and CMP1n value match. If the transfer timing and writing from CPU to CMP1n conflict, transfer is not performed.
Caution In the PWM output mode be sure to set CMP1n when starting the timer count operation (TMHEn =
1) after the timer count operation was stopped (TMHEn = 0) (be sure to set again even if setting
the same value to CMP1n).
Remark n = 0, 1