
R01UH0336EJ0102 Rev.1.02
Page 1421 of 1538
Jul 17, 2014
V850E2/PG4-L
Section 24 Peripheral Interconnection (PIC)
Note
When TAUB0CMORm is used for the TINm input pulse interval measurement
function, the CKS (operating clock selection) and MD0 (INTn output control at
the start of counting) bits can be set arbitrarily.
Though the COS (overflow mode selection) bit can also be set arbitrarily, it
should be fixed to 0 for this function.
Other control bits have fixed values as specified above. For details, refer to
Section 13, Timer Array Unit B (TAUB).
For TAUB common registers (TOE, TO, TOM, TOC, TOL, TDE, TDL, RDE,
RDS, RDM, and RDC), only set the bits corresponding to the used channels to
0.
Table 24-25
TAUB0 Setting (m = 0 to 2)
TAUB0 (TINm input pulse interval measurement function)
Function
Register
Bit Position
Bit Name
Set Value
Note
TAUB0
TAUB0
CMORm
15, 14
CKS1
CKS0
Don’t care
Sets the operating clock.
13, 12
CCS1
CCS0
0
0
11
MAS
1
10 to 8
STS2
STS1
STS0
0
0
0
7, 6
COS1
COS0
1
1
5
0
Fixed to 0
4
MD4
0
3
MD3
0
2
MD2
1
1
MD1
0
0
MD0
Don’t care
TAUB0
CMURm
1, 0
TIS1
TIS0
1
1
Table 24-26
PIC Setting
Function
Register
Bit Position
Bit Name
Set Value
Note
PIC
PIC0REG
31
13, 12
PIC0REG3113
PIC0REG3112
0
1
Selects DT output signal from ENCAT0EQ0 as
TIN input signal of TAUB0CH02.
11
PIC0REG3111
1
Selects the signal selected with PIC0REG3106
to PIC0REG3108 (DT output signal from
ENCAT0EQ1) as TIN input signal of
TAUB0CH01.
10, 9
PIC0REG3110
PIC0REG3109
1
0
Selects DT output signal from ENCAT1EQ0 as
TIN input signal of TAUB0CH00.
8 to 6
PIC0REG3108
PIC0REG3107
PIC0REG3106
0
0
1
Selects DT output signal from ENCAT0EQ1 as
TIN input signal of TAUB0CH01 and
TAUB0CH00.
1
PIC0REG3101
1
Selects DT output signal from ENCAT0IEC as
TIN input signal of TAUJ0CH01.
0
PIC0REG3100
1
Selects DT output signal from ENCAT0IEC as
TIN input signal of TAUJ0CH00.