Square-Wave Output Operation Timing - NEC 78K0 User Manual

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

Advertisement

CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Figure 7-34. Control Register Settings in Square-Wave Output Mode (2/2)
7
OSPT0n
OSPE0n
TOC0n4
TOC0n
0
0
0
ES1n1
ES1n0
ES0n1
PRM0n
0/1
0/1
0/1
Remark 0/1: Setting 0 or 1 allows another function to be used simultaneously with square-wave output. See the
description of the respective control registers for details.
µ
n = 0:
PD780143, 780144
µ
n = 0, 1:
PD780146, 780148, 78F0148
Count clock
TM0n count value
0000H 0001H 0002H
CR00n
INTTM00n
TO0n pin output
µ
Remark n = 0:
PD780143, 780144
µ
n = 0, 1:
PD780146, 780148, 78F0148
(c) 16-bit timer output control register 0n (TOC0n)
LVS0n
LVR0n
TOC0n1
TOE0n
0
0/1
0/1
1
1
(d) Prescaler mode register 0n (PRM0n)
ES0n0
3
2
PRM0n1
PRM0n0
0/1
0
0
0/1
*
Figure 7-35. Square-Wave Output Operation Timing
N − 1
N
User's Manual U15947EJ2V0UD
Enables TO0n output.
Inverts output on match between TM0n and CR00n.
Specifies initial value of TO0n output F/F (setting "11" is prohibited).
Does not invert output on match between TM0n and CR01n.
Disables one-shot pulse output.
0/1
Selects count clock.
Setting invalid (setting "10" is prohibited.)
Setting invalid (setting "10" is prohibited.)
N
0000H 0001H 0002H
N − 1
N
0000H
203

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents