Selecting A Count Clock For 8/16-Bit Ppg - Fujitsu MB90390 Series Hardware Manual

Table of Contents

Advertisement

CHAPTER 16 8/16-BIT PPG
16.5

Selecting a Count Clock for 8/16-bit PPG

The count clock used for the operation is supplied from the peripheral clock or the time-
base timer. The count clock can be selected from six choices.
■ Selecting a Count Clock for 8/16-bit PPG
Select ch.0 clock at bit4 to bit2 (PCM2 to PCM0) of the PPG01 register, and ch.1 clock at bit7 to bit5
(PCS2 to PCS0) of the PPG01 register.
The clock is selected from a peripheral clock 1/16 to 1 times higher than a machine clock or an input clock
from the time-base timer. In 8-bit prescaler + 8-bit PPG mode or 16-bit PPG mode, however, the setting in
the PCS2 to PCS0 has no effect.
When the time-base timer input is used, the first count cycle after a trigger or a stop may be shifted. The
cycle may also be shifted if the time-base counter is cleared during operation of this module.
Note:
In 8-bit prescaler + 8-bit PPG mode, if ch.1 is activated while ch.0 is in operation and ch.1 is
stopped, the first count cycle may be shifted.
• ch.0: operation mode
• ch.1: stop mode
264

Advertisement

Table of Contents
loading

Table of Contents