8 CLOCK GENERATOR (CLG)
S1C17704 TECHNICAL MANUAL
EPSON
8-3
8.3 Controlling the Peripheral Module Clock (PCLK)
The CLG module controls clock supply to the peripheral modules.
The system clock is used as the peripheral module clock (PCLK) without dividing.
Internal peripheral modules
• Prescaler
• UART
• 8-bit timer
• 16-bit timer Ch.0–2
• Interrupt controller
• SPI
• I
2
C
• SVD circuit
• Power control circuit
• P port & port MUX
• PWM & capture timer
• MISC registers
• Remote controller
• Control registers for the modules below
Clock timer
Stopwatch timer
Watchdog timer
8-bit OSC1 timer
LCD driver
Gate
On/Off control
PCLK
OSC3
OSC1
System clock
Figure 8.3.1 Peripheral Module Clock Control Circuit
Controlling the clock supply
Use PCKEN[1:0] (D[1:0]/CLG_PCLK register) to control supplying PCLK.
∗
PCKEN[1:0]
: PCLK Enable Bits in the PCLK Control (CLG_PCLK) Register (D[1:0]/0x5080)
Table 8.3.1 PCLK Control
PCKEN[1:0]
PCLK supply
0x3
Enabled (On)
0x2
Not allowed
0x1
Not allowed
0x0
Disabled (Off)
(Default: 0x3)
These bits are set to 0x3 by default so that the clock is supplied to the peripheral modules. If all the peripheral
modules in the internal peripheral area (listed above) can be idle, disable the clock supply to reduce current
consumption.
Note
: Be sure to avoid setting PCKEN[1:0] (D[1:0]/CLG_PCLK register) to 0x2 or 0x1, as some
peripheral modules will stop operating.
Peripheral modules that operate with a clock other than PCLK
The peripheral modules shown below operate with a clock other than PCLK except for accessing the control
registers. Therefore, PCLK is not necessary after the module starts operating by setting the control registers.
OSC1 peripheral modules
The clock timer, stopwatch timer, watchdog timer, and 8-bit OSC1 timer operate with a divided OSC1
clock. Although the control registers cannot be accessed for read and write when the PCLK supply is
disabled, they keep operating.
LCD
driver
The LCD driver operates with the OSC1 clock or a divided OSC3 clock. Although the control registers
cannot be accessed for read and write when the PCLK supply is disabled, the LCD driver keeps refreshing
the display. Also PCLK is not necessary for accessing the display memory.
Содержание S1C17704
Страница 1: ...TECHNICAL MANUAL S1C17704 CMOS 16 BIT SINGLE CHIP MICROCOMPUTER ...
Страница 22: ...1 OVERVIEW 1 10 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 42: ...3 MEMORY MAP BUS CONTROL 3 12 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 82: ...6 INTERRUPT CONTROLLER ITC 6 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 108: ...8 CLOCK GENERATOR CLG 8 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 112: ...9 PRESCALER PSC 9 4 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 138: ...10 I O PORTS P 10 26 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 156: ...11 16 BIT TIMERS T16 11 18 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 208: ...14 8 BIT OSC1 TIMER T8OSC1 14 16 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 234: ...16 STOPWATCH TIMER SWT 16 14 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 242: ...17 WATCHDOG TIMER WDT 17 8 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 264: ...18 UART 18 22 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 300: ...20 I2C 20 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 320: ...21 REMOTE CONTROLLER REMC 21 20 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 360: ...24 ON CHIP DEBUGGER DBG 24 6 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...
Страница 362: ...25 BASIC EXTERNAL WIRING DIAGRAM 25 2 EPSON S1C17704 TECHNICAL MANUAL THIS PAGE IS BLANK ...