NEC UPD703116 User Manual page 233

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(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
6
TUC00
0
0
7
6
TUC01
0
0
Bit position
Bit name
1
TORSn
0
TOSTAn
Remark
n = 0, 1
CHAPTER 9 TIMER/COUNTER FUNCTION
5
4
3
0
0
0
5
4
3
0
0
0
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.
TO0n0 to TO0n5 pin output status flag through ESOn pin input
0: Output enabled status
1: Output disabled status
User's Manual U14492EJ5V0UD
2
<1>
<0>
0
TORS0
TOSTA0
FFFFF57CH
2
<1>
<0>
0
TORS1
TOSTA1
FFFFF5BCH
Function
Address
Initial value
01H
Address
Initial value
01H
233

Advertisement

Table of Contents
loading

Table of Contents