Renesas H8/38024 Hardware Manual page 278

8-bit single-chip microcomputer h8 family/h8/300l super low power series
Hide thumbs Also See for H8/38024:
Table of Contents

Advertisement

Timer Counter C (TCC)
Bit
TCC7
Initial value
Read/Write
R
TCC is an 8-bit read-only up/down-counter, which is incremented or decremented by internal
clock or external event input. The clock source for input to this counter is selected by bits TMC2
to TMC0 in timer mode register C (TMC). TCC values can be read by the CPU at any time.
When TCC overflows from H'FF to H'00 or to the value set in TLC, or underflows from H'00 to
H'FF or to the value set in TLC, the IRRTC bit in IRR2 is set to 1.
TCC is allocated to the same address as TLC.
Upon reset, TCC is initialized to H'00.
Timer Load Register C (TLC)
Bit
TLC7
Initial value
Read/Write
W
TLC is an 8-bit write-only register for setting the reload value of timer counter C (TCC).
When a reload value is set in TLC, the same value is loaded into timer counter C as well, and TCC
starts counting up/down from that value. When TCC overflows or underflows during operation in
auto-reload mode, the TLC value is loaded into TCC. Accordingly, overflow/underflow period
can be set within the range of 1 to 256 input clocks.
The same address is allocated to TLC as to TCC.
Upon reset, TLC is initialized to H'00.
Rev. 6.00, 08/04, page 248 of 628
7
6
5
TCC6
TCC5
0
0
0
R
R
7
6
5
TLC6
TLC5
0
0
0
W
W
4
3
TCC4
TCC3
TCC2
0
0
R
R
4
3
TLC4
TLC3
TLC2
0
0
W
W
2
1
0
TCC1
TCC0
0
0
0
R
R
R
2
1
0
TLC1
TLC0
0
0
0
W
W
W

Advertisement

Table of Contents
loading

This manual is also suitable for:

H8/38024f-ztatH8/38124H8/38024s

Table of Contents