Fujitsu F2MC-16LX Hardware Manual page 259

16-bit microcontroller mb90330 series
Hide thumbs Also See for F2MC-16LX:
Table of Contents

Advertisement

Timer Counter Data Register (TCDT)
Figure 12.2-7 shows the bit configuration of the timer counter data register (TCDT).
Figure 12.2-7 Bit Configuration of Timer Counter Data Register (TCDT)
000087
H
000086
H
The timer counter data register (TCDT) is a register that can read a count value of the 16-bit free-run timer.
A reset operation clears the count value with "0000
the TCDT register, but ensure to perform at the stop state (STOP=1) before doing so.
Please access the TCDC register the word. The 16-bit free-run timer is initialized with the following
causes:
• Initialization by Reset
• Initialization by clear bit (CLR) of control status
• Initialization by match operation between the compare clear register in the output compare and the timer
counter value (setting the mode is required)
Timer Control Status Register (TCCS)
Figure 12.2-8 shows the bit configuration of the timer control status register (TCCS).
Figure 12.2-8 Bit Configuration of Timer Control Status Register (TCCS)
15
ECKE
000089
H
R/W R/W
000088
IVF IVFE STOP MODE CLR CLK2 CLK1 CLK0
H
R/W R/W
The function of each bit in the timer control status register (TCCS) is described in the following.
[bit 15] ECKE (External clock input enable bit)
This bit enables selection of the count clock source of the 16-bit free-run timer from the internal or
external source. Since the clock is changed immediately after writing into the ECKE bit, you must
change it when the output compare and input capture are in stopping state.
0
1
[bit 14, bit 13] undefinition bit
The reading value is irregular. No effect on writing.
15
14
13
12
T15
T14
T13
T12
R/W R/W
R/W
R/W R/W
7
6
5
4
T07
T06
T05
T04
R/W R/W
R/W
R/W R/W
14
13
12
MSI2 MSI1 MSI0 ICLR ICRE
R/W
R/W R/W
7
6
5
4
R/W
R/W R/W
The internal clock source is selected
The clock is input from external pin (FRCK).
11
10
9
8
T11
T10
T09
T08
R/W
R/W
R/W
3
2
1
0
T03
T02
T01
T00
R/W
R/W
R/W
". A timer value can be set by writing the value into
H
11
10
9
8
R/W
R/W
R/W
3
2
1
0
R/W
R/W
R/W
CHAPTER 12 16-BIT I/O TIMER
TCDT
Timer counter data register upper
Initial value
00000000
B
TCDT
Timer counter data register lower
00000000
Initial value
B
TCCS
Timer control status register upper
Initial value
0XX00000
B
TCCS
Timer control status register lower
Initial value
00000000
B
[Initial value]
243

Advertisement

Table of Contents
loading

Table of Contents