196
12.2
Register Description
12.2.1
Timer Mode Register W (TMRW)
Bit
7
6
5
4
3
2
1
0
CTS
—
BUFEB
BUFEA
—
PWMD
PWMC
PWMB
Initial value
0
1
0
0
1
0
0
0
Read/Write
R/W
—
R/W
R/W
—
R/W
R/W
R/W
TMRW is an 8-bit read/write register that selects PWM mode and buffer operation. TMRW is
initialized to H'48 by a reset.
Bit 7—Counter Start (CTS): Starts and stops TCNT.
Bit 7
:
CTS
Description
0
Stops TCNT
(Initial value)
1
Starts TCNT
Note:
Writing 0 to the CST bit while a compare match output pin is outputting a signal stops the
counter, but the output level at the pin is retained. When the TCRW is modified to change
the initial output level while the CST bit is 0, the output level at the pin is updated to the
modified initial level.
Bit 6—Reserved: This bit cannot be modified and is always read as 1.
Bit 5—Buffer Operation B (BUFEB): Selects whether GRD operates as an input capture/output
compare register or the buffer register for GRB. When GRD is used as the buffer register, no input
capture or compare match occurs for GRD.
Bit 5
:
BUFEB
Description
0
GRD operates as an input capture/output compare register
(Initial value)
1
GRD operates as the buffer register for GRB
Bit 4—Buffer Operation A (BUFEA): Selects whether GRC operates as an input capture/output
compare register or the buffer register for GRA. When GRC is used as the buffer register, no input
capture or compare match occurs for GRC.
Bit 4
:
BUFEA
Description
0
GRC operates as an input capture/output compare register
(Initial value)
1
GRC operates as the buffer register for GRA
Summary of Contents for H8/3660
Page 4: ......
Page 26: ...10 ...
Page 82: ...66 ...
Page 152: ...136 ...
Page 154: ...138 ...
Page 260: ...244 ...