NEC 78K0/KD1 Series User Manual page 136

8-bit single-chip microcontrollers
Table of Contents

Advertisement

Figure 6-4. Format of 16-Bit Timer Output Control Register 00 (TOC00)
Address: FFBDH
After reset: 00H
Symbol
7
TOC00
0
OSPT00
0
1
OSPE00
0
1
TOC004
0
1
LVS00
0
0
1
1
TOC001
0
1
TOE00
0
1
Note The one-shot pulse output mode operates correctly only in the free-running mode and the mode in which
clear & start occurs at the TI000 valid edge. In the mode in which clear & start occurs on a match between
the TM00 register and CR000 register, one-shot pulse output is not possible because an overflow does not
occur.
Cautions 1. Timer operation must be stopped before setting other than TOC004.
2. If LVS00 and LVR00 are read after data is set, 0 is read.
3. OSPT00 is automatically cleared after data is set, so 0 is read.
4. Do not set OSPT00 to 1 other than in one-shot pulse output mode.
5. A write interval of two cycles or more of the operating clock is required to write to OSPT00
successively.
136
CHAPTER 6 16-BIT TIMER/EVENT COUNTER 00
R/W
6
5
OSPT00
OSPE00
TOC004
One-shot pulse output trigger control via software
No one-shot pulse trigger
One-shot pulse trigger
One-shot pulse output operation control
Successive pulse output mode
Note
One-shot pulse output mode
Timer output F/F control using match of CR010 and TM00
Disables inversion operation
Enables inversion operation
LVR00
16-bit timer/event counter 00 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
Timer output F/F control using match of CR000 and TM00
Disables inversion operation
Enables inversion operation
16-bit timer/event counter 00 output control
Disables output (output fixed to level 0)
Enables output
Preliminary User's Manual U16315EJ1V0UD
4
3
2
LVS00
LVR00
1
0
TOC001
TOE00

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents