English
Language : 

UPD78F0411GA-GAM-AX Datasheet, PDF (165/564 Pages) Renesas Technology Corp – Old Company Name in Catalogs and Other Documents
CHAPTER 6 16-BIT TIMER/EVENT COUNTERS 00
Figure 6-19. Example of Software Processing for Square Wave Output Function
TM00 register
N
N
N
0000H
Operable bits
(TMC003, TMC002)
00
CR000 register
11
00
N
TO00 output
INTTM000 signal
TO00 output control bit
(TOC001, TOE00)
<1>
<2>
<1> Count operation start flow
START
Register initial setting
PRM00 register,
CRC00 register,
TOC00 registerNote,
CR000 register,
port setting
Initial setting of these registers is performed before
setting the TMC003 and TMC002 bits to 11.
TMC003, TMC002 bits = 11
Starts count operation
<2> Count operation stop flow
TMC003, TMC002 bits = 00
STOP
The counter is initialized and counting is stopped
by clearing the TMC003 and TMC002 bits to 00.
Note Care must be exercised when setting TOC00. For details, see 6.3 (3) 16-bit timer output control
register 00 (TOC00).
User’s Manual U18698EJ1V0UD
163