NEC 78014Y Series User Manual page 182

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) 16-bit timer output control register (TOC0)
This register controls the operation of the 16-bit timer/event counter output control circuit. It sets R-S type flip-
flop (LV0) setting/resetting, the active level in PWM mode, output inversion enabling/disabling in modes other
than PWM mode and data output mode.
TOC0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 value to 00H.
Symbol
7
TOC0
0
www.DataSheet4U.com
Cautions 1. Timer operation must be stopped before setting TOC0.
2. If LVS0 and LVR0 are read after data is set, they will be 0.
182
CHAPTER 8 16-BIT TIMER/EVENT COUNTER
Figure 8-6. 16-Bit Timer Output Control Register Format
6
5
4
<3>
0
0
0
LVS0
<2>
1
<0>
Address
LVR0 TOC01 TOE0
FF4EH
TOE0
0
1
TOC01 In PWM Mode
0
1
LVS0
0
0
1
1
When Reset
R/W
00H
R/W
16-Bit Timer/Event Counter Output Control
Output disabled (Port mode)
Output enabled
In Other Modes
Active level
Timer output F/F control
selection
Active high
Inversion operation
disabled
Active low
Inversion operation
enabled
LVR0
16-Bit Timer/Event Counter Timer
Output F/F Status Setting
0
No change
1
Timer output F/F reset (0)
0
Timer output F/F set (1)
1
Setting prohibited

Advertisement

Table of Contents
loading

Table of Contents