Timer Control Registers (Tcr) - Hitachi SH7750 Hardware Manual

Sh7750 series superh risc engine
Hide thumbs Also See for SH7750:
Table of Contents

Advertisement

input clock is the external clock (TCLK) or internal clock (Pφ), TCNT contents are retained in
standby mode.
12.2.6

Timer Control Registers (TCR)

The TCR registers are 16-bit readable/writable registers. There are five TCR registers, one for
each channel.
Each TCR selects the count clock, specifies the edge when an external clock is selected in
channels 0 to 2, and controls interrupt generation when the flag indicating timer counter (TCNT)
underflow is set to 1. TCR2 is also used for channel 2 input capture control, and control of
interrupt generation in the event of input capture.
The TCR registers for channels 0 to 2 are initialized to H'0000 by a power-on or manual reset, but
are not initialized and retain their contents in standby mode. The TCR registers for channels 3 and
4 of the SH7750R are initialized to H'0000 by a power-on reset, but are not initialized and retain
their contents on a manual reset and in standby mode.
1. Channel 0 and 1 TCR bit configuration
Bit:
Initial value:
R/W:
Bit:
Initial value:
R/W:
15
14
13
0
0
0
R
R
R
7
6
5
UNIE
0
0
0
R
R
R/W
12
11
0
0
R
R
4
3
CKEG1 CKEG0
TPSC2
0
0
R/W
R/W
Rev. 6.0, 07/02, page 299 of 986
10
9
UNF
0
0
R
R
R/W
2
1
TPSC1
TPSC0
0
0
R/W
R/W
R/W
8
0
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sh7750rSh7750s

Table of Contents