Linear Time Counter (Ltc); Reload/Compare Match Register (Rcr) - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

14.2.2

Linear Time Counter (LTC)

Bit :
Initial value :
R/W :
The linear time counter (LTC) is a readable 8-bit up/down-counter. The inputting clock can be
selected by the LMR2 to LMR0 bits of the LMR.
When reset, the LTC is initialized to H'00.
14.2.3

Reload/Compare Match Register (RCR)

Bit :
Initial value :
R/W :
The reload/compare match register (RCR) is an 8-bit write only register.
When timer L is being controlled to the up-counting function, when a compare match value is set
to the RCR, the LTC will be cleared at the same time and the LTC will then start counting up from
the initial value (H'00).
While, when the Timer L is being controlled to the down-counting function, when a reloading
value is set to the RCR, the same value will be loaded to the LTC at the same time and the LTC
will then start counting up from said value. Also, when the LTC underflows, the value of the RCR
will be reloaded to the LTC.
When reset, the RCR is initialized to H'00.
Rev. 1.0, 02/00, page 284 of 1141
7
6
LTC7
LTC6
LTC5
0
0
R
R
7
6
RCR7
RCR6
RCR5
0
0
W
W
5
4
3
LTC4
LTC3
0
0
0
R
R
R
5
4
3
RCR4
RCR3
0
0
0
W
W
W
2
1
LTC2
LTC1
LTC0
0
0
R
R
2
1
RCR2
RCR1
RCR0
0
0
W
W
0
0
R
0
0
W

Advertisement

Table of Contents
loading

Table of Contents