Timer Mode Registers (Tmdr) - Renesas H8S/2319 series Hardware Manual

Renesas 16-bit single-chip microcomputer
Table of Contents

Advertisement

9.2.2

Timer Mode Registers (TMDR)

Channel 0: TMDR0
Channel 3: TMDR3
Bit
:
7
Initial value :
1
R/W
:
Channel 1: TMDR1
Channel 2: TMDR2
Channel 4: TMDR4
Channel 5: TMDR5
Bit
:
7
Initial value :
1
R/W
:
The TMDR registers are 8-bit readable/writable registers that are used to set the operating mode
for each channel. The TPU has six TMDR registers, one for each channel. The TMDR registers
are initialized to H'C0 by a reset and in hardware standby mode.
TMDR register settings should be made only when TCNT operation is stopped.
Bits 7 and 6—Reserved: These bits cannot be modified and are always read as 1.
Bit 5—Buffer Operation B (BFB): Specifies whether TGRB is to operate in the normal way, or
TGRB and TGRD are to be used together for buffer operation. When TGRD is used as a buffer
register, TGRD input capture/output compare is not generated.
In channels 1, 2, 4, and 5, which have no TGRD, bit 5 is reserved. It is always read as 0 and
cannot be modified.
Bit 5
BFB
Description
0
TGRB operates normally
1
TGRB and TGRD used together for buffer operation
6
5
BFB
BFA
1
0
R/W
R/W
6
5
1
0
4
3
2
MD3
MD2
0
0
0
R/W
R/W
4
3
2
MD3
MD2
0
0
0
R/W
R/W
Rev. 5.00, 12/03, page 309 of 1088
1
0
MD1
MD0
0
0
R/W
R/W
1
0
MD1
MD0
0
0
R/W
R/W
(Initial value)

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8s/2318 series

Table of Contents