English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (182/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
Figure 6-32. Example of Software Processing in Clear & Start Mode Entered by TI000 Pin Valid Edge Input
TM00 register
0000H
Operable bits
00
(TMC003, TMC002)
Count clear input
(TI000 pin input)
Compare register
(CR000)
Compare match interrupt
(INTTM000)
Compare register
(CR010)
Compare match interrupt
(INTTM010)
M
N
M
N
10
M
N
M
N
M
N
00
TO00 output
<1>
<2>
<2> <2>
<2>
<3>
<1> Count operation start flow
<3> Count operation stop flow
START
Register initial setting
PRM00 register,
CRC00 register,
TOC00 registerNote,
CR000, CR010 registers,
TMC00.TMC001 bit,
port setting
Initial setting of these
registers is performed
before setting the
TMC003 and TMC002
bits to 10.
TMC003, TMC002 bits = 00
The counter is initialized
and counting is stopped
by clearing the TMC003
and TMC002 bits to 00.
STOP
TMC003, TMC002 bits = 10 Starts count operation
<2> TM00 register clear & start flow
Edge input to TI000 pin
When the valid edge is input to the TI000 pin,
the value of the TM00 register is cleared.
Note Care must be exercised when setting TOC00. For details, see 6.3 (3) 16-bit timer output control register
00 (TOC00).
180
User’s Manual U18698EJ1V0UD