Renesas F-ZTAT H8 Series Hardware Manual page 244

8-bit single-chip microcomputer
Hide thumbs Also See for F-ZTAT H8 Series:
Table of Contents

Advertisement

9. Timers
Timer Counter B (TCB)
Bit
TCB7
Initial value
Read/Write
TCB is an 8-bit read-only up-counter, which is incremented by internal clock or external event
input. The clock source for input to this counter is selected by bits TMB2 to TMB0 in timer mode
register B (TMB). TCB values can be read by the CPU at any time.
When TCB overflows from H'FF to H'00 or to the value set in TLB, the IRRTB bit in interrupt
request register 2 (IRR2) is set to 1.
TCB is allocated to the same address as timer load register B (TLB).
Upon reset, TCB is initialized to H'00.
Timer Load Register B (TLB)
Bit
TLB7
Initial value
Read/Write
TLB is an 8-bit write-only register for setting the reload value of timer counter B.
When a reload value is set in TLB, the same value is loaded into timer counter B (TCB) as well,
and TCB starts counting up from that value. When TCB overflows during operation in auto-reload
mode, the TLB value is loaded into TCB. Accordingly, overflow periods can be set within the
range of 1 to 256 input clocks.
The same address is allocated to TLB as to TCB.
Upon reset, TLB is initialized to H'00.
Rev.3.00 Jul. 19, 2007 page 218 of 532
REJ09B0397-0300
7
6
5
TCB6
TCB5
0
0
0
R
R
R
7
6
5
TLB6
TLB5
0
0
0
W
W
W
4
3
TCB4
TCB3
TCB2
0
0
R
R
4
3
TLB4
TLB3
TLB2
0
0
W
W
2
1
0
TCB1
TCB0
0
0
0
R
R
R
2
1
0
TLB1
TLB0
0
0
0
W
W
W

Advertisement

Table of Contents
loading

Table of Contents