English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (184/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Figure 6-34. Timing Example of Free-Running Timer Mode
(CR000: Compare Register, CR010: Compare Register)
• TOC00 = 13H, PRM00 = 00H, CRC00 = 00H, TMC00 = 04H
FFFFH
TM00 register
M
N
M
N
M
N
M
N
0000H
Operable bits 00
01
00
(TMC003, TMC002)
Compare register
(CR000)
M
Compare match interrupt
(INTTM000)
Compare register
(CR010)
N
Compare match interrupt
(INTTM010)
TO00 output
OVF00 bit
0 write clear 0 write clear
0 write clear
0 write clear
This is an application example where two compare registers are used in the free-running timer mode.
The TO00 output level is reversed each time the count value of TM00 matches the set value of CR000 or CR010.
When the count value matches the register value, the INTTM000 or INTTM010 signal is generated.
(2) Free-running timer mode operation
(CR000: compare register, CR010: capture register)
Figure 6-35. Block Diagram of Free-Running Timer Mode
(CR000: Compare Register, CR010: Capture Register)
Count clock
Operable bits
TMC003, TMC002
Timer counter
(TM00)
Match signal
Compare register
(CR000)
Output
controller
Interrupt signal
(INTTM000)
TO00
output
TO00 pin
TI000 pin
Edge
detection Capture signal
Capture register
(CR010)
Interrupt signal
(INTTM010)
182
User’s Manual U18698EJ1V0UD