CHAPTER 8 TIMER/COUNTER FUNCTION
User’s Manual U15109EJ3V0UD
263
After reset: 00H R/W
Address: TOC0: FFFFF20CH
TOC1: FFFFF21CH
TOC7: FFFFF3ACH
TOC8: FFFFF39CH
TOC9: FFFFF3BCH
TOC10: FFFFF0DCH
TOC11: FFFFF0ECH TOC12: FFFFF0FCH
7
<6>
<5>
4
<3>
<2>
1
<0>
TOCn
0
OSPTn
OSPEn
TOCn4
LVSn
LVRn
TOCn1
TOEn
(n = 0, 1, 7 to 12)
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
490
TOCn4
Controls timer output F/F on match 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 n
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 match between CRn0 and TMn or valid edge of TIn0
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 entered
upon the TIn0 valid edge.
Cautions 1. Before setting TOCn, be sure to stop the timer operation.
2.
LVSn and LVRn are 0 when read after data has been set to them.
3.
OSPTn is 0 when read because it is automatically cleared after data has been set.
4.
Do not set OSPTn (1) for other than one-shot pulse output.