Fujitsu FR81S User Manual
CHAPTER 24: 16-BIT FREE-RUN TIMER
4. Registers
FUJITSU SEMICONDUCTOR LIMITED
CHAPTER : 16-BIT FREE-RUN TIMER
FUJITSU SEMICONDUCTOR CONFIDENTIAL
14
4.2.2.
Timer Data Register : TCDT0 to TCDT2
The timer data register (TCDT) is used for reading the count value of the 16-bit free-run timer. It is also
possible to set the count value of the 16-bit free-run timer.
TCDT0: Address 1206
H
(Access: Half-word, Word)
TCDT1: Address 120E
H
(Access: Half-word, Word)
TCDT2: Address 1216
H
(Access: Half-word, Word)
bit15
bit14
bit13
bit12
bit11
bit10
bit9
bit8
T15
T14
T13
T12
T11
T10
T09
T08
Initial value
0
0
0
0
0
0
0
0
Attribute
R,W
R,W
R,W
R,W
R,W
R,W
R,W
R,W
bit7
bit6
bit5
bit4
bit3
bit2
bit1
bit0
T07
T06
T05
T04
T03
T02
T01
T00
Initial value
0
0
0
0
0
0
0
0
Attribute
R,W
R,W
R,W
R,W
R,W
R,W
R,W
R,W
[bit15 to bit0] T15 to T00: Count value bits
T15 to T00
Function
Count value
⋅
The timer data register is used for reading the count value of the 16-bit free-run timer.
⋅
The count value will be cleared to "0000
H
" as soon as reset occurs.
⋅
The timer value can be set by writing a value to this register. However, a value needs to be written while the
timer is inactive (STOP:bit22 of timer state control register (TCCS) is 1).
⋅
The 16-bit free-run timer will be initialized as soon as any of the following occurs.
- Reset
- While the 16-bit free-run timer is active (STOP:bit22 of timer state control register (TCCS) is 0), the
clear bit (SCLR:bit20) of the timer state control register (TCCS) is 1
- The timer count value matches the compare clear register in the up-count mode (MODE: bit21 of
timer state control register (TCCS) is 0)
MB91520 Series
MN705-00010-1v0-E
921