NEC UPD703116 User Manual page 348

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(10) Timer 2 time base status register 0 (TBSTATE0)
The TBSTATE0 register indicates the status of TM2n (n = 0, 1).
This register can be read/written in 16-bit units.
When the higher 8 bits of the TBSTATE0 register are used as the TBSTATE0H register, and the lower 8 bits
are used as the TBSTATE0L register, they can be read/written in 8-bit or 1-bit units.
Caution The ECFEn, RSFEn, and UDFEn bits are read-only bits.
15
14
13
TBSTATE0
0
0
0
Bit position
Bit name
11, 3
OVFEn
10, 2
ECFEn
9, 1
RSFEn
8, 0
UDFEn
Remark
n = 0, 1
348
CHAPTER 9 TIMER/COUNTER FUNCTION
12
<11>
<10>
<9>
<8>
7
0
OVFE1
ECFE1
RSFE1
UDFE1
0
Indicates TM2n overflow status.
0: No overflow
1: Overflow
Caution
If write access to the TBSTATE0 register is performed while
overflow is not detected, the OVFEn bit is cleared (0).
Indicates the ECLR signal input status.
0: Low level
1: High level
Indicates the TM2n count status.
0: TM2n is not counting.
1: TM2n is counting (either up or down)
Indicates the TM2n up/down count status.
0: TM2n is in the down-count mode.
1: TM2n is in the up-count mode.
User's Manual U14492EJ5V0UD
6
5
4
<3>
<2>
<1>
0
0
0
OVFE0
ECFE0
RSFE0
Function
<0>
Address
Initial value
UDFE0
FFFFF664H
0101H

Advertisement

Table of Contents
loading

Table of Contents