h8s-2138 Renesas Electronics Corporation., h8s-2138 Datasheet - Page 338

no-image

h8s-2138

Manufacturer Part Number
h8s-2138
Description
Renesas 16-bit Single-chip Microcomputer H8s Family/h8s/2100 Series
Manufacturer
Renesas Electronics Corporation.
Datasheet
Section 11 16-Bit Free-Running Timer
11.2.9
TOCR is an 8-bit readable/writable register that enables output from the output compare pins,
selects the output levels, switches access between output compare registers A and B, controls the
ICRD and OCRA operating mode, and switches access to input capture registers A, B, and C.
TOCR is initialized to H'00 by a reset and in hardware standby mode.
Bit 7—Input Capture D Mode Select (ICRDMS): Specifies whether ICRD is used in the normal
operating mode or in the operating mode using OCRDM.
Bit 7
ICRDMS
0
1
Bit 6—Output Compare A Mode Select (OCRAMS): Specifies whether OCRA is used in the
normal operating mode or in the operating mode using OCRAR and OCRAF.
Bit 6
OCRAMS
0
1
Bit 5—Input Capture Register Select (ICRS): The same addresses are shared by ICRA and
OCRAR, by ICRB and OCRAF, and by ICRC and OCRDM. The ICRS bit determines which
registers are selected when the shared addresses are read or written to. The operation of ICRA,
ICRB, and ICRC is not affected.
Rev. 4.00 Jun 06, 2006 page 284 of 1004
REJ09B0301-0400
Bit
Initial value
Read/Write
Timer Output Compare Control Register (TOCR)
Description
The normal operating mode is specified for ICRD
The operating mode using OCRDM is specified for ICRD
Description
The normal operating mode is specified for OCRA
The operating mode using OCRAR and OCRAF is specified for OCRA
ICRDMS
R/W
7
0
OCRAMS
R/W
6
0
ICRS
R/W
5
0
OCRS
R/W
4
0
OEA
R/W
3
0
OEB
R/W
2
0
OLVLA
R/W
1
0
(Initial value)
(Initial value)
OLVLB
R/W
0
0

Related parts for h8s-2138