
ML610Q111/ML610Q112 User’s Manual
Contents
FEUL610Q111 Contents - 4
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 watchdog 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-3
10.2 Description of Registers.......................................................................................................................10-4
10.2.1 List of Registers..........................................................................................................................10-4
10.2.2 PWMC Period Registers (PWCPL, PWCPH)............................................................................10-5
10.2.3 PWMC Duty Registers (PWCDL, PWCDH).............................................................................10-6
10.2.4 PWMC Counter Registers (PWCCH, PWCCL).........................................................................10-7
10.2.5 PWMC Control Register 0 (PWCCON0)...................................................................................10-8
10.2.6 PWMC Control Register 1 (PWCCON1)...................................................................................10-9
10.2.7 PWMC Control Register 2 (PWCCON2).................................................................................10-10
10.2.8 PWMC Control Register 3 (PWCCON3).................................................................................10-11
10.2.9 PWMD Period Registers (PWCPL, PWCPH)..........................................................................10-12
10.2.10 PWMD Duty Registers (PWDDL, PWDDH) ..........................................................................10-13
10.2.11 PWMD Counter Registers (PWDCH, PWDCL)......................................................................10-14
10.2.12 PWMD Control Register 0 (PWDCON0)................................................................................10-15
10.2.13 PWMD Control Register 1 (PWDCON1)................................................................................10-16
10.2.14 PWMD Control Register 2 (PWDCON2)................................................................................10-17
10.2.15 PWMD Control Register 3 (PWDCON3)................................................................................10-18
10.2.16 PWME Period Registers (PWEPL, PWEPH)...........................................................................10-19
10.2.17 PWME Duty Registers (PWEDL, PWEDH)............................................................................10-20
10.2.18 PWME Counter Registers (PWECH, PWECL) .......................................................................10-21
10.2.19 PWME Control Register 0 (PWECON0).................................................................................10-22
10.2.20 PWME Control Register 1 (PWECON1).................................................................................10-23
10.2.21 PWME Control Register 2 (PWECON2).................................................................................10-24
10.2.22 PWME Control Register 3 (PWECON3).................................................................................10-25
10.2.23 PWMF Period Registers (PWFPL, PWFPH) ...........................................................................10-26
10.2.24 PWMF0 Duty Registers (PWF0DL, PWF0DH) ......................................................................10-27
10.2.25 PWMF1 Duty Registers (PWF1DL, PWF1DH) ......................................................................10-28
10.2.26 PWMF2 Duty Registers (PWF2DL, PWF2DH) ......................................................................10-29
10.2.27 PWMF Counter Registers (PWFCH, PWFCL)........................................................................10-30
10.2.28 PWMF Control Register 0 (PWFCON0)..................................................................................10-31
10.2.29 PWMF Control Register 1 (PWFCON1)..................................................................................10-32
10.2.30 PWMF Control Register 2 (PWFCON2)..................................................................................10-33
10.2.31 PWMF Control Register 3 (PWFCON3)..................................................................................10-34
10.2.32 PWMF Control Register 4 (PWFCON4)..................................................................................10-35
10.2.33 PWMF Control Register 5 (PWFCON5)..................................................................................10-36
10.3 Description of Operation....................................................................................................................10-37
10.3.1 Start, Stop, and Clear Operations of PWM by External Input Control.....................................10-39
10.3.2 Emergency Stop Operation.......................................................................................................10-39
10.3.3 PWMF Operation .....................................................................................................................10-40
10.3.4 Interrupt of PWM.....................................................................................................................10-42
10.4 Specifying port registers ....................................................................................................................10-43
10.4.1 Functioning PA0 (PWMC) as the PWM output.......................................................................10-43
10.4.2 Functioning PB0 (PWMC) as the PWM output.......................................................................10-44
10.4.3 Functioning PB7 (PWMC) as the PWM output.......................................................................10-45