Peripheral Module Clock (Pclk) Control - Epson S1C17001 Technical Manual

Cmos 16-bit single chip microcontroller
Table of Contents

Advertisement

8.3 Peripheral Module Clock (PCLK) Control

The CLG module also controls the clock feed to peripheral modules.
The system clock is used unmodified for the peripheral module clock (PCLK).
OSC3
System clock
OSC1
Clock feed control
PCLK feed is controlled by PCKEN[1:0] (D[1:0]/CLG_PCLK register).
∗ PCKEN[1:0]: PCLK Enable Bits in the PCLK Control (CLG_PCLK) Register (D[1:0]/0x5080)
The default setting is 0x3, which enables the clock feed. Stop the clock feed to reduce power consumption un-
less all peripheral modules (modules listed above) within the internal peripheral circuit area need to be running.
Note: Do not set PCKEN[1:0] (D[1:0]/CLG_PCLK register) to 0x2 or 0x1, since doing so will stop the
operation of certain peripheral modules.
Peripheral modules not operating on PCLK
With the exception of control register access, the clock timer, stopwatch timer, watchdog timer, and 8-bit OSC1
timer operate using the OSC1 division clock. Stopping the PCLK prevents read/write access to/from the control
register, but operation will continue.
S1C17001 TECHNICAL MANUAL
On/off control
Gate
Figure 8.3.1: Peripheral module clock control circuit
Table 8.3.1: PCLK control
PCKEN[1:0]
0x3
0x2
0x1
0x0
EPSON
8 CLOCK GENERATOR (CLG)
Internal peripheral circuits
• Prescaler
PCLK
• UART
• 8-bit timer
• 16-bit timer Ch.0 to 2
• Interrupt controller
• SPI
2
• I
C
• P port & port MUX
• PWM & capture timer
• MISC register
• Remote controller
• Control register for the
modules listed below
Clock timer
Stopwatch timer
Watchdog timer
8-bit OSC1 timer
PCLK feed
Permitted (on)
Setting prohibited
Setting prohibited
Prohibited (off)
(Default: 0x3)
73

Advertisement

Table of Contents
loading

Table of Contents