Contents-9
11.3 PWM Register ................................................................................................ 11-2
11.3.1 Description of PWM Registers .................................................................. 11-3
(1) PWM counters (PWC0, PWC1) ................................................................ 11-3
(2) PWM cycle registers (PWCY0, PWCY1) .................................................. 11-3
(3) PWM registers (PWR0 to PWR3) ............................................................. 11-4
(4) PWM control register 0 (PWCON0) .......................................................... 11-4
(5) PWM control register 1 (PWCON1) .......................................................... 11-6
11.3.2 Example of PWM-related Register Settings ............................................. 11-7
8-bit PWM settings .................................................................................... 11-7
(1) Port 7 mode register (P7IO) ...................................................................... 11-7
(2) Port 8 mode register (P8IO) ...................................................................... 11-7
(3) Port 7 secondary function control register (P7SF) .................................... 11-7
(4) Port 8 secondary function control register (P8SF) .................................... 11-7
(5) PWM counters (PWC0, PWC1) ................................................................ 11-7
(6) PWM cycle registers (PWCY0, PWCY1) .................................................. 11-7
(7) PWM registers (PWR0 to PWR3) ............................................................. 11-7
(8) PWM control register 0 (PWCON0) .......................................................... 11-8
16-bit PWM settings .................................................................................. 11-8
(1) Port 7 mode register (P7IO) ...................................................................... 11-8
(2) Port 8 mode register (P8IO) ...................................................................... 11-8
(3) Port 7 secondary function control register (P7SF) .................................... 11-8
(4) Port 8 secondary function control register (P8SF) .................................... 11-8
(5) PWM counters (PWC0, PWC1) ................................................................ 11-8
(6) PWM cycle register (PWCY) ..................................................................... 11-8
(7) PWM registers (PWR01, PWR23) ............................................................ 11-8
(8) PWM control register 0 (PWCON0) .......................................................... 11-9
(9) PWM control register 1 (PWCON1) .......................................................... 11-9
11.4 PWM Operation ............................................................................................. 11-9
11.4.1 PWM Operation During 8-bit Mode ........................................................... 11-9
11.4.2 PWM Operation During 16-bit Mode ....................................................... 11-10
11.4.3 PWM Operation During High-Speed Mode ............................................. 11-12
11.5 PWM Interrupts ............................................................................................ 11-14
Chapter 12
Serial Port Functions
12.1 Overview ........................................................................................................ 12-1
12.2 Serial Port Configuration ................................................................................ 12-1
12.3 Serial Port Registers ...................................................................................... 12-2
12.4 SIO1 ............................................................................................................... 12-3
12.4.1 SIO1 Configuration ................................................................................... 12-3