16-Bit Free-Running Timer Registers - Fujitsu FR60 Hardware Manual

Hide thumbs Also See for FR60:
Table of Contents

Advertisement

CHAPTER 7 16-BIT FREE-RUNNING TIMER AND 16-BIT RELOAD TIMER
7.1.2

16-bit Free-Running Timer Registers

This section describes the configuration and functions of the registers used by the 16-
bit free-running timer.
■ Timer Data Register (TCDT)
The timer data register is used to read the count value of the 16-bit free-running timer.
The bit configuration of the timer data register (TCDT) is shown below.
TCDT
Address: 0000D4
The counter value is cleared to "0000" when the counter is reset. A timer value can be set by writing a
value to the timer data register. Always write a value to this register in stop mode (STOP = 1). This register
must be accessed in word units.
The 16-bit free-running timer is initialized when one of the following events occurs:
Reset
Clearing (CLR) of the control status register
Match for the value of the compare clear register (compare register for ch0) and the value of the timer
counter (A mode setting is required.)
280
15
14
13
T15
T14
T13
H
R/W
R/W
R/W
7
6
5
T07
T06
T05
R/W
R/W
R/W
12
11
10
T12
T11
T10
T09
R/W
R/W
R/W
R/W
4
3
2
T04
T03
T02
T01
R/W
R/W
R/W
R/W
9
8
Initial value
0000
T08
H
R/W
1
0
T00
R/W

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb91350a series

Table of Contents