aPPenDiX a liST OF i/O ReGiSTeRS
S1C17624/604/622/602/621 TeChniCal Manual
Seiko epson Corporation
aP-a-17
Register name address
Bit
name
Function
Setting
init. R/W
Remarks
P1 Port
Chattering
Filter Control
Register
(P1_ChaT)
0x5218
(8 bits)
D7
–
reserved
–
–
–
0 when being read.
D6–4 P1CF2[2:0] P1[7:4] chattering filter time
P1CF2[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 P1CF1[2:0] P1[3:0] chattering filter time
P1CF1[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
P1 Port input
enable Register
(P1_ien)
0x521a
(8 bits)
D7–0 P1ien[7:0] P1[7:0] port input enable
1 Enable
0 Disable
1
(0xff)
R/W
P2 Port input
Data Register
(P2_in)
0x5220
(8 bits)
D7–0 P2in[7:0]
P2[7:0] port input data
1 1 (H)
0 0 (L)
×
R
P2 Port Output
Data Register
(P2_OuT)
0x5221
(8 bits)
D7–0 P2OuT[7:0] P2[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P2 Port
Output enable
Register
(P2_Oen)
0x5222
(8 bits)
D7–0 P2Oen[7:0] P2[7:0] port output enable
1 Enable
0 Disable
0
R/W
P2 Port Pull-up
Control Register
(P2_Pu)
0x5223
(8 bits)
D7–0 P2Pu[7:0]
P2[7:0] port pull-up enable
1 Enable
0 Disable
1
(0xff)
R/W
P2 Port Schmitt
Trigger Control
Register
(P2_SM)
0x5224
(8 bits)
D7–0 P2SM[7:0] P2[7:0] port Schmitt trigger input
enable
1 Enable
(Schmitt)
0 –
1
R Always enabled
P2 Port input
enable Register
(P2_ien)
0x522a
(8 bits)
D7–0 P2ien[7:0] P2[7:0] port input enable
1 Enable
0 Disable
1
(0xff)
R/W
P3 Port input
Data Register
(P3_in)
0x5230
(8 bits)
D7–0 P3in[7:0]
P3[7:0] port input data
1 1 (H)
0 0 (L)
×
R
P3 Port Output
Data Register
(P3_OuT)
0x5231
(8 bits)
D7–0 P3OuT[7:0] P3[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W
P3 Port
Output enable
Register
(P3_Oen)
0x5232
(8 bits)
D7–0 P3Oen[7:0] P3[7:0] port output enable
1 Enable
0 Disable
0
R/W
P3 Port Pull-up
Control Register
(P3_Pu)
0x5233
(8 bits)
D7–0 P3Pu[7:0]
P3[7:0] port pull-up enable
1 Enable
0 Disable
1
(0xff)
R/W
P3 Port Schmitt
Trigger Control
Register
(P3_SM)
0x5234
(8 bits)
D7–0 P3SM[7:0] P3[7:0] port Schmitt trigger input
enable
1 Enable
(Schmitt)
0 –
1
R Always enabled
P3 Port input
enable Register
(P3_ien)
0x523a
(8 bits)
D7–0 P3ien[7:0] P3[7:0] port input enable
1 Enable
0 Disable
1
(0xff)
R/W
P4 Port input
Data Register
(P4_in)
0x5240
(8 bits)
D7–0 P4in[7:0]
P4[7:0] port input data
1 1 (H)
0 0 (L)
×
R D[7:4] =reserved in
S1C17604/602/621
P4 Port Output
Data Register
(P4_OuT)
0x5241
(8 bits)
D7–0 P4OuT[7:0] P4[7:0] port output data
1 1 (H)
0 0 (L)
0
R/W D[7:4] =reserved in
S1C17604/602/621
P4 Port
Output enable
Register
(P4_Oen)
0x5242
(8 bits)
D7–0 P4Oen[7:0] P4[7:0] port output enable
1 Enable
0 Disable
0
R/W D[7:4] =reserved in
S1C17604/602/621