
ML610Q174 User’s Manual
Table of Contents
FEUL610Q174R-4
Chapter 9
9. Watchdog Timer............................................................................................................................................. 9-1
9.1 Overview..................................................................................................................................................... 9-1
9.1.1 Features................................................................................................................................................. 9-1
9.1.2 Configuration ........................................................................................................................................9-1
9.2 Description of Registers.............................................................................................................................. 9-2
9.2.1 List of Registers ....................................................................................................................................9-2
9.2.2 Watchdog Timer Control Register (WDTCON) ...................................................................................9-3
9.2.3 Watchdog Timer Mode Register (WDTMOD).....................................................................................9-4
9.3 Description of Operation.............................................................................................................................9-5
9.3.1 Handling example when you do not want to use the watch dog timer................................................... 9-7
Chapter 10
10. PWM............................................................................................................................................................. 10-1
10.1 Overview................................................................................................................................................... 10-1
10.1.1 Features............................................................................................................................................... 10-1
10.1.2 Configuration ......................................................................................................................................10-2
10.1.3 List of Pins ..........................................................................................................................................10-4
10.2 Description of Registers............................................................................................................................ 10-4
10.2.1 List of Registers ..................................................................................................................................10-4
10.2.2 PWM4 Period Registers (PW4PL, PW4PH) ...................................................................................... 10-5
10.2.3 PWM4 Duty Registers (PW4DL, PW4DH)........................................................................................ 10-6
10.2.4 PWM4 Counter Registers (PW4CH, PW4CL) ................................................................................... 10-7
10.2.5 PWM4 Control Register 0 (PW4CON0)............................................................................................. 10-8
10.2.6 PWM4 Control Register 1 (PW4CON1)........................................................................................... 10-10
10.2.7 PWM4 Control Register 2 (PW4CON2)........................................................................................... 10-11
10.2.8 PWM4 Control Register 3 (PW4CON3)........................................................................................... 10-13
10.2.9 PWM5 Period Registers (PW5PL, PW5PH) .................................................................................... 10-14
10.2.10 PWM5 Duty Registers (PW5DL, PW5DH)...................................................................................... 10-15
10.2.11 PWM5 Counter Registers (PW5CH, PW5CL) ................................................................................. 10-16
10.2.12 PWM5 Control Register 0 (PW5CON0)...........................................................................................10-17
10.2.13 PWM5 Control Register 1 (PW5CON1)...........................................................................................10-19
10.2.14 PWM5 Control Register 2 (PW5CON2)...........................................................................................10-20
10.2.15 PWM6 Period Registers (PW6PL, PW6PH) ....................................................................................10-22
10.2.16 PWM6 Duty Registers (PW6DL, PW6DH)......................................................................................10-23
10.2.17 PWM6 Counter Registers (PW6CH, PW6CL) .................................................................................10-24
10.2.18 PWM6 Control Register 0 (PW6CON0)...........................................................................................10-25
10.2.19 PWM6 Control Register 1 (PW6CON1)...........................................................................................10-27
10.2.19 PWM6 Control Register 2 (PW6CON2)...........................................................................................10-28
10.3 Description of Operation.........................................................................................................................10-30
10.3.1 Repeat Mode with PWM4 and PWM5 Standalone Mode (P45MD=“0”, PnMD=“0”) ....................10-32
10.3.2 One-shot Mode with PWM4 and PWM5 Standalone Mode (P45MD=“0”, PnMD=“1”)................. 10-34
10.3.3 Repeat Mode with PWM4 and PWM5 Cooperation Mode (Dead Time Setting Is Not Used)
(P45MD=“1”, P4DTMD=“0”, P4MD=“0”) .....................................................................................10-36
10.3.4 One-shot Mode withPWM4 and PWM5 Cooperation Mode (Dead Time Setting Is Not Used)
(P45MD=“1”, P4DTMD=“0”, P4MD=“1”) .....................................................................................10-39
10.3.5 Repeat Mode with PWM4 and PWM5 Cooperation Mode (Dead Time Setting Is Used)
(P45MD=“1”, P4DTMD=“1”, P4MD=“0”) .....................................................................................10-42
10.3.6 One-shot Mode with PWM4 and PWM5 Cooperation Mode (Dead Time Setting Is Used)
(P45MD=“1”, P4DTMD=“1”, P4MD=“1”) .....................................................................................10-46
10.3.7 Start, Stop, and Clear Operations of PWM4 and PWM5 by External Input Control ........................ 10-50
10.3.7.1 Software Start Mode..................................................................................................................... 10-50
10.3.7.2 Software Start or External Input Start Mode.................................................................................10-50
10.3.7.3 External Input Start Mode............................................................................................................. 10-53
10.3.7.4 Software Start or External Input Clear Mode................................................................................ 10-55