![NEC mPD780065 Series Preliminary User'S Manual Download Page 111](http://html.mh-extra.com/html/nec/mpd780065-series/mpd780065-series_preliminary-users-manual_249264111.webp)
111
CHAPTER 6 16-BIT TIMER/EVENT COUNTER
Preliminary User’s Manual U13420EJ2V0UM00
(3) 16-bit timer output control register 0 (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, output inversion enabling/disabling, 16-bit timer/event counter timer output enabling/
disabling, one-shot pulse output operation enabling/disabling, and output trigger for a one-shot pulse by software.
TOC0 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets TOC0 value to 00H.
Figure 6-4 shows the TOC0 format.
Figure 6-4. Format of 16-Bit Timer Output Control Register 0 (TOC0)
Address: FF63H After reset: 00H R/W
Symbol
7
6
5
4
3
2
1
0
TOC0
0
OSPT
OSPE
TOC04
LVS0
LVR0
TOC01
TOE0
OSPT
Control of one-shot pulse output trigger by software
0
One-shot pulse trigger not used
1
One-shot pulse trigger used
OSPE
One-shot pulse output control
0
Continuous pulse output
1
One-shot pulse output
Note
TOC04
Timer output F/F control by match of CR01 and TM0
0
Inversion operation disabled
1
Inversion operation enabled
LVS0
LVR0
16-bit timer/event counter timer output F/F status setting
0
0
No change
0
1
Timer output F/F reset (0)
1
0
Timer output F/F set (1)
1
1
Setting prohibited
TOC01
Timer output F/F control by match of CR00 and TM0
0
Inversion operation disabled
1
Inversion operation enabled
TOE0
16-bit timer/event counter output control
0
Output disabled (Output set to level 0)
1
Output enabled
Note One-shot pulse output operates normally only in the free-running mode.
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.
3. OSPT is cleared automatically after data setting, and will therefore be 0 if read.
4. Be sure not to set (1) OSPT other than in one-shot pulse output mode.
Summary of Contents for mPD780065 Series
Page 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Page 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Page 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...