6 I/O PORTS (PPORT)
S1C17M20/M21/M22/M23/M24/M25
Seiko Epson Corporation
6-11
TECHNICAL MANUAL (Rev. 1.0)
Table 6.6.3 Clock Source and Division Ratio Settings
PCLK.CLKDIV[3:0] bits
PCLK.CLKSRC[1:0] bits
0x0
0x1
0x2
0x3
IOSC
OSC1
OSC3
EXOSC
0xf
1/32,768
1/1
0xe
1/16,384
0xd
1/8,192
0xc
1/4,096
0xb
1/2,048
0xa
1/1,024
0x9
1/512
0x8
1/256
0x7
1/128
0x6
1/64
0x5
1/32
0x4
1/16
0x3
1/8
0x2
1/4
0x1
1/2
0x0
1/1
(Note) The oscillation circuits/external input that are not supported in this IC cannot be
selected as the clock source.
P Port Interrupt Flag Group Register
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
PINTFGRP
15–13 –
0x0
–
R
–
12 PcINT
0
H0
R
11 PbINT
0
H0
R
10 PaINT
0
H0
R
9
P9INT
0
H0
R
8
P8INT
0
H0
R
7
P7INT
0
H0
R
6
P6INT
0
H0
R
5
P5INT
0
H0
R
4
P4INT
0
H0
R
3
P3INT
0
H0
R
2
P2INT
0
H0
R
1
P1INT
0
H0
R
0
P0INT
0
H0
R
*
1: Only the bits corresponding to the port groups that support interrupts are provided.
Bits 15–13 Reserved
Bits 12–0 P
x
INT
These bits indicate that P
x
port group includes a port that has generated an interrupt.
1 (R):
A port generated an interrupt
0 (R):
No port generated an interrupt
The PINTFGRP.P
x
INT bit is cleared when the interrupt flag for the port that has generated an interrupt
is cleared.