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. Timers
Table 9.9
Timer C Registers
Name
Timer mode register C
Timer counter C
Timer load register C
9.4.2

Register Descriptions

Timer Mode Register C (TMC)
Bit
TMC7
Initial value
Read/Write
R/W
TMC is an 8-bit read/write register for selecting the auto-reload function, counting direction, and
input clock.
Upon reset, TMC is initialized to H'18.
Bit 7—Auto-Reload Function Select (TMC7): Bit 7 selects whether timer C is used as an
interval timer or auto-reload timer.
Bit 7: TMC7
Description
0
Interval timer function selected
1
Auto-reload function selected
Bits 6 and 5—Counter Up/Down Control (TMC6, TMC5): These bits select the counting
direction of timer counter C (TCC), or allow hardware to control the counting direction using pin
UD.
Bit 6: TMC6
Bit 5: TMC5
0
0
1
1
*
Legend: * Don't care
Rev.3.00 Jul. 19, 2007 page 222 of 532
REJ09B0397-0300
Abbr.
TMC
TCC
TLC
7
6
5
TMC6
TMC5
0
0
0
R/W
R/W
Description
TCC is an up-counter
TCC is a down-counter
TCC up/down control is determined by input at pin UD.
TCC is a down-counter if the UD input is high, and an up-
counter if the UD input is low.
R/W
Initial Value
R/W
H'18
R
H'00
W
H'00
4
3
TMC2
1
1
Address
H'FFB4
H'FFB5
H'FFB5
2
1
TMC1
TMC0
0
0
R/W
R/W
R/W
(initial value)
(initial value)
0
0

Advertisement

Table of Contents
loading

Table of Contents