Register Descriptions - Renesas F-ZTAT H8 Series Hardware Manual

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

Advertisement

9.3.2

Register Descriptions

Timer Mode Register B (TMB)
Bit
TMB7
Initial value
Read/Write
R/W
TMB is an 8-bit read/write register for selecting the auto-reload function and input clock.
Upon reset, TMB is initialized to H'78.
Bit 7—Auto-Reload Function Select (TMB7): Bit 7 selects whether timer B is used as an
interval timer or auto-reload timer.
Bit 7: TMB7
Description
0
Interval timer function selected
1
Auto-reload function selected
Bits 6 to 3—Reserved Bits: Bits 6 to 3 are reserved; they always read 1, and cannot be modified.
Bits 2 to 0—Clock Select (TMB2 to TMB0): Bits 2 to 0 select the clock input to TCB. For
external event counting, either the rising or falling edge can be selected.
Bit 2: TMB2
Bit 1: TMB1
0
0
1
1
0
1
Note:
*
The edge of the external event signal is selected by bit IEG1 in the IRQ edge select
register (IEGR). See section 3.3.2, Interrupt Control Registers, for details on the IRQ
edge select register. Be sure to set bit IRQ1 in port mode register 1 (PMR1) to 1 before
setting bits TMB2 to TMB0 to 111.
7
6
5
0
1
1
Bit 0: TMB0
0
1
0
1
0
1
0
1
4
3
2
TMB2
1
1
0
R/W
Description
Internal clock: φ/8192
Internal clock: φ/2048
Internal clock: φ/512
Internal clock: φ/256
Internal clock: φ/64
Internal clock: φ/16
Internal clock: φ/4
External event (TMIB): rising or falling edge*
Rev.3.00 Jul. 19, 2007 page 217 of 532
9. Timers
1
0
TMB1
TMB0
0
0
R/W
R/W
(initial value)
(initial value)
REJ09B0397-0300

Advertisement

Table of Contents
loading

Table of Contents