CHAPTER 9 TIMER/COUNTER FUNCTION (REAL-TIME PULSE UNIT)
241
User’s Manual U14492EJ3V0UD
(3) Timer unit control registers 00, 01 (TUC00, TUC01)
TUC0n register is an 8-bit register that controls TO0n0 to TO0n5 outputs.
TUC0n can be read/written in 8-bit or 1-bit units. However, bit 0 is read-only.
7
0
TUC00
6
0
5
0
4
0
3
0
2
0
<1>
TORS0
<0>
TOSTA0
Address
FFFFF57CH
Initial value
01H
7
0
TUC01
6
0
5
0
4
0
3
0
2
0
<1>
TORS1
<0>
TOSTA1
Address
FFFFF5BCH
Initial value
01H
Bit Position
Bit Name
Function
1
TORSn
Flag that restarts TO0n0 to TO0n5 pin output that was forcibly stopped by ESOn pin
input.
Causes output to resume by writing “1” to TORSn bit.
Cautions 1. If the level is set for the ESOn pin input level (TOMR register
TOEDG1 bit = 1, TOEDG0 bit = 0 or 1), the output disabled state is
not released (TOSTAn bit = 1) even if “1” is written to the TORSn
bit while the output is disabled (TOSTAn bit = 1).
If the input level
is inactive, the output disabled state is released (TOSTAn bit = 0).
The value of the TORSn bit is held.
2. If the edge is set for the ESOn pin input (TOEDG1 bit = 0, TOEDG0
bit = 0 or 1), the output disabled state is released (TOSTAn bit = 0)
by writing “1” to the TORSn bit while the output is disabled
(TOSTAn bit = 1).
3. After reset, be sure to write “1” to the TORSn bit prior to starting
output of TO0n0 to TO0n5. “0” is read when the TORSn bit is read.
0
TOSTAn
TO0n0 to TO0n5 pin output status flag through ESOn pin input
0: Output enabled status
1: Output disabled status
Remark
n = 0, 1
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...