Datasheet
288
12.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 five TMDR registers, one for each channel. TMDR is initialized to H'C0 by a power-on reset
or the standby mode. Manual reset does not initialize TMDR.
Channels 0, 3, 4: TMDR0, TMDR3, TMDR4:
Bit: 7 6 5 4 3 2 1 0
— — BFB BFA MD3 MD2 MD1 MD0
Initial value: 1 1 0 0 0 0 0 0
R/W: R R R/W R/W R/W R/W R/W R/W
Channels 1, 2: TMDR1, TMDR2:
Bit: 7 6 5 4 3 2 1 0
— — — — MD3 MD2 MD1 MD0
Initial value: 1 1 0 0 0 0 0 0
R/W: R R R R R/W R/W R/W R/W
• Bits 7, 6—Reserved: These bits are reserved. They always read as 1, and cannot be modified.
• 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,
and cannot be modified.
Bit 5: BFB Description
0 TGRB operates normally (initial value)
1 TGRB and TGRD buffer operation