
R01UH0336EJ0102 Rev.1.02
Page 1024 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 19 Timer Option Module (TAPA)
19.3.2
Registers Details
(1)
TAPAnCTL0 - TAPAn Control Register 0
Control register 0 is used to control Hi-Z.
A value in this register can only be rewritten when TAPAnFLG.TAPAnACE = 0,
and TAUBnTE of the corresponding master channel of TAUB = 0.
Access
This register can be read/written in 16-bit units.
Address
<
TAPAn_base0
> + 20
H
Initial value
0000
H
This register is initialized by a reset from any source.
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
0
0
0
0
TAPAn
DCM
TAPAn
DCN
TAPAn
DCP
0
0
R
R
R
R
R
R
R
R
R
R
R
R/W
R/W
R/W
R
R
Table 19-10
Contents of the TAPAnCTL0 Register
Bit Position
Bit Name
Function
4
TAPAnDCM
Clearing condition specification bit
This control bit specifies the condition for clearing of the Hi-Z control outputs.
0: Manipulation of TAPAnOPHT0 is enabled regardless of the TAPAnTHASIN
signal input level.
1: Manipulation of TAPAnOPHT0 is disabled when the TAPAnTHASIN signal
input is at the active level.
Manipulation of TAPAnOPHT0 is enabled when the TAPAnTHASIN signal
input is inactive.
3, 2
TAPAnDCN,
TAPAnDCP
Hi-Z input edge selection bits
These control bits specify the valid edge of TAPAnTHASIN.
TAPAn
DCN
TAPAn
DCP
Description
0
0
Does not detect valid edges
0
1
Detects a rising edge as the valid edge
(active level = high)
1
0
Detects a falling edge as the valid edge
(active level = low)
1
1
Setting prohibited