6 I/O PORTS (PPORT)
6-10
Seiko epson Corporation
S1C17F13 TeChniCal Manual
(Rev. 1.0)
Bits 1–0
ClKSRC[1:0]
These bits select the clock source of PPORT (chattering filter).
The PPORT operating clock should be configured by selecting the clock source using the PCLK.
CLKSRC[1:0] bits and the clock division ratio using the PCLK.CLKDIV[3:0] bits as shown in Table
6.6.3. These settings determine the input sampling time of the chattering filter.
6.3 Clock Source and Division Ratio Settings
Table 6.
PCLK.CLKDIV[3:0] bits
PCLK.CLKSRC[1:0] bits
0x0
0x1
0x2
0x3
OSC3B
OSC1
OSC3A
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.