CHAPTER 7 TIMER/COUNTER FUNCTION
User’s Manual U13850EJ4V0UM
182
(3) 16-bit timer output control registers 0, 1 (TOC0, TOC1)
TOCn controls the operation of the timer n output controller by setting or resetting the R-S flip-flop (LV0),
enabling or disabling reverse output, enabling or disabling output of timer n, enabling or disabling one-shot pulse
output operation, and selecting an output trigger for a one-shot pulse by software.
TOCn is set by an 8-/1-bit memory manipulation instruction.
RESET input clears TOC0 and TOC1 to 00H.
Figure 7-4. 16-Bit Timer Output Control Registers 0, 1 (TOC0, TOC1)
After reset: 00H R/W
Address: FFFFF20CH, FFFFF21CH
7
<6>
<5>
4
<3>
<2>
1
<0>
TOCn
0
OSPTn
OSPEn
TOCn4
LVSn
LVRn
TOCn1
TOEn
(n = 0, 1)
OSPTn
Controls output trigger of one-shot pulse by software
0
No one-shot pulse trigger
1
Uses one-shot pulse trigger
OSPEn
Controls one-shot pulse output operation
0
Successive pulse output
1
One-shot pulse output
Note
TOCn4
Controls timer output F/F on coincidence between CRn1 and TMn
0
Disables reverse timer output F/F
1
Enables reverse timer output F/F
LVSn
LVRn
Sets status of timer output F/F of timer 0
0
0
Not affected
0
1
Resets timer output F/F (0)
1
0
Sets timer output F/F (1)
1
1
Setting prohibited
TOCn1
Controls timer output F/F on coincidence between CRn0 and TMn
0
Disables reverse timer output F/F
1
Enables reverse timer output F/F
TOEn
Controls output of timer n
0
Disables output (output is fixed to 0 level)
1
Enables output
Note
The one-shot pulse output operates only in the free-running mode and in the clear & start mode at TIn0
valid edge.
Содержание MPD703030A
Страница 2: ...User s Manual U13850EJ4V0UM 2 MEMO ...
Страница 514: ...User s Manual U13850EJ4V0UM 514 MEMO ...