
ML62Q1000 Series User's Manual
Chapter 8 16-Bit Timer
FEUL62Q1000 8-26
8.3.2.4
About Interrupt Request in 8-Bit Timer Mode
In the 8-bit timer mode, the same interrupt requests (TMnINT) are used for the upper side 8-bit timer and the lower side
8-bit timer.
When the upper side 8-bit timer count value matches the TMHnDH register value, or lower side 8-bit timer count value
matches the TMHnDL register value, an interrupt request is generated if any interrupt request has not been generated for
neither the upper nor lower side 8-bit timer. Table 8-3 shows interrupt request generation conditions in the 8-bit timer
mode.
Table 8-3 Interrupt Request Generation Conditions in 8-Bit Timer Mode.
Condition
Interrupt request
(TMnINT)
State of timer counting
State of TMHnIS register
THnHIS
THnLIS
Upper side 8-bit timer count value
matches TMHnDH register value
0
0
Generated
0
1
Not generated
1
0
1
1
Lower side 8-bit timer count value
matches TMHnDL register value
0
0
Generated
0
1
Not generated
1
0
1
1
If an 8-bit timer interrupt of the other side is generated while interrupt processing is in progress, the unprocessed
interrupt request can be generated again after resuming the main process by writing "1" to the THnIR bit of the
TMHnICL register prior to resuming the main process. Figure 8-9 shows an example of the interrupt process in the 8-bit
timer mode.
8-bit timer mode
operation start
Lower side 8-bit timer
Interrupt process
Lower side 8-bit timer
interrupt status clear
Upper side 8-bit timer
Interrupt process
Upper side 8-bit timer
interrupt status clear
Occur unhandled interrupt
requests
End
Timer interrupt
occurrence
Timer stop
THnLIC=1;
THnHIC=1;
THnIR=1;
Interrupt process
Lower side 8-bit timer
interrupt status confirmation
TMHnISL=1 ?
Yes.
No.
No.
Yes.
Upper side 8-bit timer
interrupt status confirmation
TMHnISH=1 ?
Figure 8-9 Example of Interrupt Process in 8-Bit Timer Mode
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...