NEC 78K0 Series User Manual page 219

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0 Series:
Table of Contents

Advertisement

CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Figure 7-43. Example of Register Settings in Free-Running Timer Mode (1/2)
(a) 16-bit timer mode control register 0n (TMC0n)
0
0
0
(b) Capture/compare control register 0n (CRC0n)
0
0
0
(c) 16-bit timer output control register 0n (TOC0n)
OSPT0n
OSPE0n
0
0
0
µ
Remark n = 0:
PD78F0531, 78F0532, 78F0533
µ
n = 0, 1:
PD78F0534, 78F0535, 78F0536, 78F0537, 78F0537D
TMC0n3 TMC0n2 TMC0n1
0
0
1
CRC0n2 CRC0n1 CRC0n0
0
0
0/1
TOC0n4
LVS0n
LVR0n
0/1
0/1
0/1
Preliminary User's Manual U17260EJ3V1UD
OVF0n
0/1
0
0: Inverts TO0n pin output on match
between CR00n and CR01n.
1: Inverts TO0n pin output on match
between CR00n and CR01n and
valid edge of TI00n pin.
Free-running timer mode
0/1
0/1
0: CR00n used as compare register
1: CR00n used as capture register
0: TI01n pin is used as capture
trigger of CR00n.
1: Reverse phase of TI00n pin is
used as capture trigger of CR00n.
0: CR01n used as compare register
1: CR01n used as capture register
TOC0n1
TOE0n
0/1
0/1
0: Disables TO0n output
1: Enables TO0n output
Specifies initial value of
TO0n output F/F
00: Does not invert TO0n output on match
between TM0n and CR00n/CR01n.
01: Inverts TO0n output on match between
TM0n and CR00n.
10: Inverts TO0n output on match between
TM0n and CR01n.
11: Inverts TO0n output on match between
TM0n and CR00n/CR01n.
219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents