
ML62Q1000 Series User's Manual
Chapter 9 Functional Timer (FTM)
FEUL62Q1000
9-20
9.2.9 FTMn Clock Register (FTnCLK: n=0 to 7)
FTnCLK is a specific function register (SFR) to set the timer clock and count clock of the FTMn.
The timer clock is used for sampling the external trigger input and for detecting the edge of the external clock input.
The count clock is used for the count operatiion and control of the output waveform.
Address:
0xF470(FT0CLKL/FT0CLK), 0xF471(FT0CLKH),
0xF472(FT1CLKL/FT1CLK), 0xF473(FT1CLKH),
0xF474(FT2CLKL/FT2CLK), 0xF475(FT2CLKH),
0xF476(FT3CLKL/FT3CLK), 0xF477(FT3CLKH),
0xF478(FT4CLKL/FT4CLK), 0xF479(FT4CLKH),
0xF47A(FT5CLKL/FT5CLK), 0xF47B(FT5CLKH),
0xF47C(FT6CLKL/FT6CLK), 0xF47D(FT6CLKH),
0xF47E(FT7CLKL/FT7CLK), 0xF47F(FT7CLKH)
Access:
R/W
Access size:
8/16 bit
Initial value:
0x0000
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
Word
FTnCLK
Byte
FTnCLKH
FTnCLKL
Bit
−
−
−
−
−
FTnX
CK2
FTnX
CK1
FTnX
CK0
−
FTnC
KD2
FTnC
KD1
FTnC
KD0
FTnE
X
−
−
FTnC
K0
R/W
R
R
R
R
R
R/W
R/W
R/W
R
R/W
R/W
R/W
R/W
R
R
R/W
Initial
value
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Bit no.
Bit symbol
name
Description
15 to
11
-
Reserved bit
10 to 8
FTnXCK2 to
FTnXCK0
These bits are used to choose the external clock input used when the FTnEX bit is "1".
000:
External clock 0 input (EXTRG0) (Initial)
001:
External clock 1 input (EXTRG1)
010:
External clock 2 input (EXTRG2)
011:
External clock 3 input (EXTRG3)
100:
External clock 4 input (EXTRG4)
101:
External clock 5 input (EXTRG5)
110:
External clock 6 input (EXTRG6)
111:
External clock 7 input (EXTRG7)
7
-
Reserved bit
6 to 4
FTnCKD2 to
FTnCKD0
These bits are used to choose frequency dividing ratio for the count clock in the FTMn.
When the FTnEX bit is "1", this setting is invalid.
000:
No dividing (Initial value)
001:
1/2 of the timer clock "FTnTCK"
010:
1/4 of the timer clock "FTnTCK"
011:
1/8 of the timer clock "FTnTCK"
100:
1/16 of the timer clock "FTnTCK"
101:
1/32 of the timer clock "FTnTCK"
110:
1/64 of the timer clock "FTnTCK"
111:
1/128 of the timer clock "FTnTCK"
3
FTnEX
This bit is used to choose the count clock (FTnCK) in the FTMn.
0: Count the clock divided by a ratio, chosen by FTnCK0 bit and FTnCKD2-0 bits. (initial
value)
1: Count the clock at the rising edge of the external triggers EXTRGn (n=0 to 7) chosen
by
the FTnXCK2-0 bits.
Содержание ML62Q1000 Series
Страница 17: ...Chapter 1 Overview...
Страница 112: ...Chapter 2 CPU and Memory Space...
Страница 154: ...Chapter 3 Reset Function...
Страница 166: ...Chapter 4 Power Management...
Страница 196: ...Chapter 5 Interrupts...
Страница 248: ...Chapter 6 Clock generation Circuit...
Страница 274: ...Chapter 7 Low Speed Time Base Counter...
Страница 291: ...Chapter 8 16 Bit Timer...
Страница 320: ...Chapter 9 Functional Timer FTM...
Страница 382: ...Chapter 10 Watchdog Timer...
Страница 402: ...Chapter 11 Serial Communication Unit...
Страница 456: ...Chapter 12 I2 C Bus Unit...
Страница 491: ...Chapter 13 I2 C Master...
Страница 512: ...Chapter 14 DMA Controller...
Страница 531: ...Chapter 15 Buzzer...
Страница 550: ...Chapter 16 Simplified RTC...
Страница 559: ...Chapter 17 GPIO...
Страница 594: ...Chapter 18 External Interrupt Function...
Страница 612: ...Chapter 19 CRC Generator...
Страница 632: ...Chapter 20 Analog Comparator...
Страница 644: ...Chapter 21 D A Converter...
Страница 655: ...Chapter 22 Voltage Level Supervisor...
Страница 676: ...Chapter 23 Successive Approximation Type A D Converter...
Страница 709: ...Chapter 24 Regulator...
Страница 714: ...Chapter 25 Flash Memory...
Страница 743: ...Chapter 26 Code Option...
Страница 750: ...Chapter 27 LCD Driver...
Страница 788: ...Chapter 28 On Chip Debug Function...
Страница 795: ...Chapter 29 Safety Function...
Страница 813: ...Appendix A...
Страница 881: ...Revision History...