Timer Load Register J (Tlj); Timer Load Register K (Tlk) - Hitachi H8S/2199 Hardware Manual

Single-chip microcomputer
Table of Contents

Advertisement

13.2.6

Timer Load Register J (TLJ)

Bit :
Initial value :
R/W :
The timer load register J (TLJ) is an 8-bit write only register which works to set the reloading
value of the TCJ.
When the reloading value is set to the TLJ, the value will be simultaneously loaded to the TCJ and
the TCJ starts counting down from the set value. Also, during an auto reloading operation, when
the TCJ underflows, the value of the TLJ will be loaded to the TCJ. Consequently, the
underflowing cycle can be set within the range of 1 to 256 input clocks. Nonetheless, when the
EXN bit in TMJC and the 8/16 bit in TMJ are both set to 1, (means when setting is made to 16-bit
operation), writing is possible under the word command only.
At this time, the upper 8 bits can be written into the TLK of the TMJ-2 and the lower 8 bits can be
written into the TLJ. When the EXN bit in TMJC is 0, TLJ can be written to only in byte units; an
8-bit reload value is written to TLJ.
The TLJ and TCJ are being allocated to the same address.
When reset, the TLJ is initialized to H'FF.
13.2.7

Timer Load Register K (TLK)

Bit :
TLR27
Initial value :
R/W :
The timer load register K (TLK) is an 8-bit or a 16-bit write only register which works to set the
reloading value of the TCK.
When the reloading value is set to the TLK, the value will be simultaneously loaded to the TCK
and the TCK starts counting down from the set value. Also, during an auto reloading operation,
when the TCK underflows, the value of the TLK will be loaded to the TCK. Consequently, the
underflowing cycle can be set within the range of 1 to 256 input clocks. Nonetheless, when the
EXN bit in TMJC and the 8/16 bit in TMJ are both set to 1, (means when setting is made to 16-bit
operation), writing is possible under the word command only. At this time, the upper 8 bits can be
written into the TLK and the lower 8 bits can be written into the TLJ of the TMJ-1. When the
EXN bit in TMJC is 0, TLK can be written to only in word units; a 16-bit reload value is written
to TLK. The TLK and TCK are being allocated to the same address.
When reset, the TLK is initialized to H'FF.
Rev. 1.0, 02/00, page 272 of 1141
7
6
TLR17
TLR16
TLR15
1
1
W
W
7
6
TLR26
TLR25
1
1
W
W
5
4
TLR14
TLR13
1
1
W
W
W
5
4
3
TLR24
TLR23
1
1
1
W
W
W
3
2
1
TLR12
TLR11
1
1
1
W
W
2
1
TLR22
TLR21
1
1
W
W
0
TLR10
1
W
0
TLR20
1
W

Advertisement

Table of Contents
loading

Table of Contents