
ML62Q1000 Series User's Manual
Chapter 9 Functional Timer (FTM)
FEUL62Q1000
9-57
9.3.7.3 Emergency Stop Operation
Writing "1" to the FTnEMGEN bit of the FTCCON register causes the emergency stop function to be enabled. Set the
FTnEMGEN bit after the trigger source is chosen in the FTnEST bit of the FTnTRG0 register.
If the emergency stop trigger input (rising edge) is present, the counter is stopped, brings Positive/Negative phase output
to "L" level, and generates an emergency stop interrupt.
To restart the counter operation, write "1" to the FTnICES bit of the FTnINTC register to clear the emergency stop
interrupt status.
Figure 9-17 shows the operation timing at emergency stop.
Figure 9-17 Operation Timing Diagram at Emergency Stop
Once the emergency stop occurs, the counter is stopped after one clock of the timer clock, and the FTnISES bit of the
FTnINTS register becomes "1" (see (2) in Figure 9-17).
When the FTnISES bit is "1", even if the event trigger of counter start is generated, it is not accepted. If the event trigger
for the counter start is generated after the FTnISES bit is cleared (see (4) in Figure 9-17), counting up is restarted (see (5)
in Figure 9-17).
To restart the counting operation by the software, make sure that the the FTnISES bit becomes "0".
Emergency stop trigger
FTnRUN
FTnISES
Positive/Negative
phase
FTnC
0000
Count up
0000
Count up
Counting stopped
Count up
0000
Count up
(2)
(3)
(4)
(5)
(1) The counter operation starts by the event trigger (falling edge).
(2) The counter stops at by the emergency stop trigger (rising edge). The emergency stop interrupt occurs.
(3) The event trigger is disabled due to the emergency stop in progress.
(4) Clear the emergency stop interrupt to enable the operation.
(5) The counter operation restarts by the event trigger (falling edge).
(The counter is not cleared in this example, so pulse output is restarted after one cycle)
Event trigger
(1)
Содержание 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...