aPPenDiX a liST OF i/O ReGiSTeRS
S1C17153 TeChniCal Manual
Seiko epson Corporation
aP-a-9
(Rev. 1.0)
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P0 Port
Chattering
Filter Control
Register
(P0_ChaT)
0x5208
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6–4
P0CF2[2:0]
P0[7:4] chattering filter time
P0CF2[2:0]
Filter time
0
R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
16384/f
PCLK
8192/f
PCLK
4096/f
PCLK
2048/f
PCLK
1024/f
PCLK
512/f
PCLK
256/f
PCLK
None
0x0 R/W
D3
–
reserved
–
–
–
0 when being read.
D2–0
P0CF1[2:0]
P0[3:0] chattering filter time
P0CF1[2:0]
Filter time
0x0 R/W
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
16384/f
PCLK
8192/f
PCLK
4096/f
PCLK
2048/f
PCLK
1024/f
PCLK
512/f
PCLK
256/f
PCLK
None
P0 Port Key-
entry Reset
Configuration
Register
(P0_KRST)
0x5209
(8 bits)
D7–2
–
reserved
–
–
–
0 when being read.
D1–0
P0KRST[1:0]
P0 port key-entry reset
configuration
P0KRST[1:0]
Configuration 0x0 R/W
0x3
0x2
0x1
0x0
P0[3:0] = 0
P0[2:0] = 0
P0[1:0] = 0
Disable
P0 Port input
enable Register
(P0_ien)
0x520a
(8 bits)
D7–0
P0ien[7:0]
P0[7:0] port input enable
1 Enable
0 Disable
1
(0xff)
R/W
P1 Port input
Data Register
(P1_in)
0x5210
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P1in[3:0]
P1[3:0] port input data
1 1 (H)
0 0 (L)
×
R
P1 Port Output
Data Register
(P1_OuT)
0x5211
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P1OuT[3:0]
P1[3:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P1 Port
Output enable
Register
(P1_Oen)
0x5212
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P1Oen[3:0]
P1[3:0] port output enable
1 Enable
0 Disable
0
R/W
P1 Port Pull-up
Control Register
(P1_Pu)
0x5213
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P1Pu[3:0]
P1[3:0] port pull-up enable
1 Enable
0 Disable
1
(0xf)
R/W
P1 Port input
enable Register
(P1_ien)
0x521a
(8 bits)
D7–4
–
reserved
–
–
–
0 when being read.
D3–0
P1ien[3:0]
P1[3:0] port input enable
1 Enable
0 Disable
1
(0xf)
R/W
P0[3:0] Port
Function Select
Register
(P00_03PMuX)
0x52a0
(8 bits)
D7–6
P03MuX[1:0]
P03 port function select
P03MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
LFRO
reserved
EXCL0
P03
D5–4
P02MuX[1:0]
P02 port function select
P02MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
FOUTA
SCLK0
P02
D3–2
P01MuX[1:0]
P01 port function select
P01MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
SOUT0
P01
D1–0
P00MuX[1:0]
P00 port function select
P00MUX[1:0]
Function
0x0 R/W
0x3
0x2
0x1
0x0
reserved
reserved
SIN0
P00