
ML62Q1000 Series User's Manual
Chapter 8 16-Bit Timer
FEUL62Q1000 8-3
8.1.2
Configuration
Figure 8-1 shows configuration of the 16-bit timer and Figure 8-2 shows configuration of the 8-bit timer
LSCLK
HSCLK
Division
Circuit
EXTRG0
EXTRG1
Rising edge
detection
THnCS
THnEXS
THnEX
THDIV2-0
Timer clock
SYSTEMCLK
Data register (TMHnD)
Compare
16-bit counter (TMHnC)
Timer control
TMHnMD
TMHSTR/TMHSTP
TMHSTAT
Interrupt
control
Port output
control
TMHnOUT
TMnINT
Count clock
16-bit Timer n
DMA request
TMHnTRG
External
interrupt
function
EX
I
0
EX
I
1
Figure 8-1
Configuration of the timer in 16-bit timer mode
LSCLK
HSCLK
Division
Circuit
THnCS
THnEX
THDIV2-0
Timer clock
SYSTEMCLK
TMHnDH
TMHnDL
Data register
Compare
TMHnCH
TMHnCL
8-bit counter
Timer control
TMHnMD
TMHSTR/TMHSTP
TMHSTAT
Interrupt
control
TMHnIS
TMHnIC
Port output
control
TMHnOUT
TMnINT
Compare
Data register
8-bit counter
EXTRG0
EXTRG1
Rising edge
detection
THnEXS
External
interrupt
function
EX
I
0
EX
I
1
Count clock
Figure 8-2
Configuration of the timer in 8-bit timer mode
TMnINT
: 16-bit timer n interrupt request
TMHnTRG
: 16-bit timer n trigger
EXTRG0
: EXI0 pin input (come through the noise filter of the external interrput function)
EXTRG1
: EXI1 pin input (come through the noise filter of the external interrput function)
[Note]
Ÿ
When the 16-bit timer is used as two channels of 8-bit timer, the same clock settings and interrupts are
applied.
Ÿ
In the 8-bit timer mode, the TMHnOUT outputs the comparison result of the upper side ("TMHnDH" and
"TMHnCH").
Ÿ
Choose the 16-bit timer mode when using the 16-bit timer DMA request or SA-ADC trigger.
Summary of Contents for ML62Q1000 Series
Page 17: ...Chapter 1 Overview...
Page 112: ...Chapter 2 CPU and Memory Space...
Page 154: ...Chapter 3 Reset Function...
Page 166: ...Chapter 4 Power Management...
Page 196: ...Chapter 5 Interrupts...
Page 248: ...Chapter 6 Clock generation Circuit...
Page 274: ...Chapter 7 Low Speed Time Base Counter...
Page 291: ...Chapter 8 16 Bit Timer...
Page 320: ...Chapter 9 Functional Timer FTM...
Page 382: ...Chapter 10 Watchdog Timer...
Page 402: ...Chapter 11 Serial Communication Unit...
Page 456: ...Chapter 12 I2 C Bus Unit...
Page 491: ...Chapter 13 I2 C Master...
Page 512: ...Chapter 14 DMA Controller...
Page 531: ...Chapter 15 Buzzer...
Page 550: ...Chapter 16 Simplified RTC...
Page 559: ...Chapter 17 GPIO...
Page 594: ...Chapter 18 External Interrupt Function...
Page 612: ...Chapter 19 CRC Generator...
Page 632: ...Chapter 20 Analog Comparator...
Page 644: ...Chapter 21 D A Converter...
Page 655: ...Chapter 22 Voltage Level Supervisor...
Page 676: ...Chapter 23 Successive Approximation Type A D Converter...
Page 709: ...Chapter 24 Regulator...
Page 714: ...Chapter 25 Flash Memory...
Page 743: ...Chapter 26 Code Option...
Page 750: ...Chapter 27 LCD Driver...
Page 788: ...Chapter 28 On Chip Debug Function...
Page 795: ...Chapter 29 Safety Function...
Page 813: ...Appendix A...
Page 881: ...Revision History...