English
Language : 

HD6475348R Datasheet, PDF (255/487 Pages) Hitachi Semiconductor – Single-Chip Microcomputer
12.4 Application Notes
Notes on the use of the PWM timer module are given below.
To use port 9 for PWM output, first set the P9PWME bit to 1 and clear the P9SCI2E bit to 0 in
system control register 2 (SYSCR2).
Similarly, to use port 6 for PWM output, first set the P6PWME bit to 1 and clear the
corresponding interrupt enable bit or bits (IRQ3E, IRQ4E, IRQ5E) to 0 in SYSCR2.
1. Any necessary changes to the clock select bits (CKS2 to CKS0) and output select bit (OS)
should be made before the output enable bit (OE) is set to 1.
2. If the DTR value is H'00, the duty factor is 0% and PW output remains constant at 0. If the
DTR value is H'FA to H'FF, the duty factor is 100% and PW output remains constant at 1.
(For positive logic, 0 is Low and 1 is High. For negative logic, 0 is High and 1 is Low.)
3. PWM output and serial communication interface functions cannot be mixed among pins P94,
P93, and P92.
240