9. Timers
Rev.3.00 Jul. 19, 2007 page 218 of 532
REJ09B0397-0300
Timer Counter B (TCB)
Bit
7 6 5 4 3 2 1 0
TCB7 TCB6 TCB5 TCB4 TCB3 TCB2 TCB1 TCB0
Initial
value 0 0 0 0 0 0 0 0
Read/Write R R R R R R R R
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
7 6 5 4 3 2 1 0
TLB7 TLB6 TLB5 TLB4 TLB3 TLB2 TLB1 TLB0
Initial
value 0 0 0 0 0 0 0 0
Read/Write W W W W W W W W
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.
Содержание F-ZTAT H8 Series
Страница 6: ...Rev 3 00 Jul 19 2007 page iv of xxiv REJ09B0397 0300...
Страница 194: ...7 RAM Rev 3 00 Jul 19 2007 page 168 of 532 REJ09B0397 0300...
Страница 234: ...8 I O Ports Rev 3 00 Jul 19 2007 page 208 of 532 REJ09B0397 0300...
Страница 274: ...9 Timers Rev 3 00 Jul 19 2007 page 248 of 532 REJ09B0397 0300...
Страница 352: ...12 A D Converter Rev 3 00 Jul 19 2007 page 326 of 532 REJ09B0397 0300...
Страница 466: ...16 Electrical Characteristics H8 3854 Group Rev 3 00 Jul 19 2007 page 440 of 532 REJ09B0397 0300...
Страница 561: ......