
230
CHAPTER 9 MULTIFUNCTIONAL TIMER
9.3.1
Registers of 16-bit Free-run Timer
The 16-bit free-run timer has the following three registers.
• Data register (TCDT)
• Compare clear register
• Timer control status register (TCCS)
■
Data register (TCDT)
The register configuration of the data register (TCDT) is as follows:
This register allows reading the counter value of the 16-bit free-run timer. The counter value is
set to 0000 at reset. To set a timer value, write it to this register in the stop status (STOP = 1).
Access this register in units of words. The 16-bit free-run timer is initialized by following one of
the methods below.
•
Initialization by reset
•
Initialization by clearing the control status register (SCLR)
•
Initialization by matching a compare register (Ch. 6 compare register) value with a timer
counter value (A mode must be set.)
■
Compare clear register
This register is a 16-bit compare register for comparison with the 16-bit free-run timer. The Ch. 6
compare register of an output compare is used. When this register value matches the value of
the 16-bit free-run timer, the 16-bit free-run timer value is initialized to 0000
H
and a compare
clear interrupt flag is set. When interrupt operation is allowed, an interrupt request is issued to
the CPU.
Bit15
T15
R/W
(0)
Bit14
T14
R/W
(0)
Bit13
T13
R/W
(0)
Bit12
T12
R/W
(0)
Bit11
T11
R/W
(0)
Bit10
T10
R/W
(0)
Bit9
T09
R/W
(0)
Bit8
T08
R/W
(0)
Bit7
T07
R/W
(0)
Bit6
T06
R/W
(0)
Bit5
T05
R/W
(0)
Bit4
T04
R/W
(0)
Bit3
T03
R/W
(0)
Bit2
T02
R/W
(0)
Bit1
T01
R/W
(0)
Bit0
T00
R/W
(0)
Upper 8 bits of timer
data register
Lower 8 bits of timer
data register
Содержание MB91150 Series
Страница 1: ......
Страница 2: ......
Страница 3: ...FUJITSU LIMITED FR30 32 BIT MICROCONTROLLER MB91150 Series HARDWARE MANUAL ...
Страница 4: ......
Страница 10: ...vi ...
Страница 112: ...96 CHAPTER 3 MEMORY SPACE CPU AND CONTROL UNIT ...
Страница 174: ...158 CHAPTER 5 I O PORTS Note DDRI bit 6 is a test bit Always set the bit to 0 The value read from this bit is always 0 ...
Страница 178: ...162 CHAPTER 5 I O PORTS ...
Страница 214: ...198 CHAPTER 7 16 BIT RELOAD TIMER ...
Страница 240: ...224 CHAPTER 8 PPG TIMER ...
Страница 310: ...294 CHAPTER 13 8 10 BIT A D CONVERTER ...
Страница 318: ...302 CHAPTER 14 8 BIT D A CONVERTER ...
Страница 362: ...346 CHAPTER 15 UART ...
Страница 420: ...404 CHAPTER 19 PERIPHERAL STOP CONTROL ...
Страница 428: ...412 CHAPTER 20 CALENDAR MACROS ...
Страница 503: ...487 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Страница 510: ...494 INDEX ...
Страница 512: ......