English
Language : 

SH7018 Datasheet, PDF (121/431 Pages) Renesas Technology Corp – SuperH™ RISC engine
8.2.2 Timer Mode Register (TMDR)
The TMDR is an 8-bit read/write register that sets the operating mode for each channel. The MTU
has three TMDR registers, one for each channel. TMDR is initialized to H'C0 by a power-on reset.
Channel 0: TMDR0
Bit: 7
—
Initial value: 1
R/W: R
6
5
4
3
2
1
0
—
BFB BFA MD3 MD2 MD1 MD0
1
0
0
0
0
0
0
R
R/W R/W R/W R/W R/W R/W
Channels 1 and 2: TMDR1, TMDR2
Bit: 7
6
5
—
—
—
Initial value: 1
1
0
R/W: R
R
R
4
3
2
1
0
—
MD3 MD2 MD1 MD0
0
0
0
0
0
R
R/W R/W R/W R/W
• Bits 7 and 6—Reserved: These bits are always read as 1. The write value should always be 1.
• Bit 5—Buffer Operation B (BFB): Designates whether to use the TGRB register for normal
operation, or buffer operation in combination with the TGRD register. When using TGRD as a
buffer register, no TGRD register input capture/output compares are generated.
This bit is reserved in channels 1 and 2, which have no TGRD registers. It is always read as 0.
The write value should always be 0.
Bit 5: BFB
0
1
Description
TGRB operates normally
TGRB and TGRD buffer operation
(Initial value)
• Bit 4—Buffer Operation A (BFA): Designates whether to use the TGRA register for normal
operation, or buffer operation in combination with the TGRC register. When using TGRC as a
buffer register, no TGRC register input capture/output compares are generated.
This bit is reserved in channels 1 and 2, which have no TGRC registers. It is always read as 0.
The write value should always be 0.
Bit 4: BFA
0
1
Description
TGRA operates normally
TGRA and TGRC buffer operation
(Initial value)
105