Timer Data Register (Tcdt) - Fujitsu MB90460 Series Hardware Manual

F2mc-16lx 16-bit microcontroller
Table of Contents

Advertisement

CHAPTER 14 MULTI-FUNCTIONAL TIMER
14.4.2

Timer Data Register (TCDT)

The timer data register (TCDT) is used to read the count value of 16-bit free-run timer.
■ Timer Data Register (TCDT)
Timer Data Register (Upper)
Address: 00005D
Read/write
Initial value
Timer Data Register (Lower)
Address: 00005C
Read/write
Initial value
The timer data register is used to read the count value of the 16-bit free-run timer. The counter value is
cleared to "0000
ensure that the value is written while the operation is stopped (STOP = 1). Word access instruction to the
timer data register is recommended.
The 16-bit free-run timer is initialized upon the following factors:
• Reset
• Clear bit (SCLR) of control status register
• A match between compare clear register and the timer counter value in up-count mode
(TCCSL:MODE=0)
294
Figure 14.4-7 Timer Data Register
bit
15
14
13
T15
T14
T13
H
R/W
R/W
R/W
0
0
0
bit
7
6
T07
T06
T05
H
R/W
R/W
R/W
0
0
" upon a reset. The timer value can be set by writing a value to this register. However,
H
12
11
10
T12
T11
T10
R/W
R/W
R/W
0
0
0
5
4
3
2
T04
T03
T02
R/W
R/W
R/W
0
0
0
9
8
T09
T08
TCDT
R/W
R/W
0
0
1
0
T01
T00
R/W
R/W
0
0
0
TCDT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb90465 series

Table of Contents