English
Language : 

UPD78F9500MA-CAC-A Datasheet, PDF (139/342 Pages) Renesas Technology Corp – 8-Bit Single-Chip Microcontrollers
CHAPTER 7 8-BIT TIMER H1
(1) Usage
Generates the INTTMH1 signal repeatedly at the same interval.
<1> Set each register.
Figure 7-7. Register Setting During Interval Timer/Square-Wave Output Operation
(i) Setting timer H mode register 1 (TMHMD1)
TMHE1
TMHMD1
0
CKS12 CKS11
0/1
0/1
CKS10 TMMD11 TMMD10 TOLEV1 TOEN1
0/1
0
0
0/1
0/1
Timer output setting
Timer output level inversion setting
Interval timer mode setting
Count clock (fCNT) selection
Count operation stopped
(ii) CMP01 register setting
• Compare value (N)
<2> Count operation starts when TMHE1 = 1.
<3> When the values of 8-bit timer counter H1 and the CMP01 register match, the INTTMH1 signal is generated
and 8-bit timer counter H1 is cleared to 00H.
Interval time = (N +1)/fCNT
<4> Subsequently, the INTTMH1 signal is generated at the same interval. To stop the count operation, clear
TMHE1 to 0.
(2) Timing chart
The timing of the interval timer/square-wave output operation is shown below.
User’s Manual U18172EJ3V0UD
137