![](http://datasheet.mmic.net.cn/120000/S1C17564F00E10C_datasheet_3574343/S1C17564F00E10C_278.png)
APPENDIX A LIST OF I/O REGISTERS
AP-A-4
Seiko Epson Corporation
S1C17554/564 TECHNICAL MANUAL
Peripheral
Address
Register name
Function
P port &
port MUX
(8-bit device)
0x5232
P3_OEN
P3 Port Output Enable Register
Enables P3 port outputs.
0x5233
P3_PU
P3 Port Pull-up Control Register
Controls the P3 port pull-up resistor.
0x5235
P3_IMSK
P3 Port Interrupt Mask Register
Enables P3 port interrupts.
0x5236
P3_EDGE
P3 Port Interrupt Edge Select Register
Selects the signal edge for generating P3
port interrupts.
0x5237
P3_IFLG
P3 Port Interrupt Flag Register
Indicates/resets the P3 port interrupt occur-
rence status.
0x5238
P3_CHAT
P3 Port Chattering Filter Control Register
Controls the P3 port chattering filter.
0x523a
P3_IEN
P3 Port Input Enable Register
Enables P3 port inputs.
0x5240
P4_IN
P4 Port Input Data Register
P4 port input data
0x5241
P4_OUT
P4 Port Output Data Register
P4 port output data
0x5242
P4_OEN
P4 Port Output Enable Register
Enables P4 port outputs.
0x5243
P4_PU
P4 Port Pull-up Control Register
Controls the P4 port pull-up resistor.
0x5245
P4_IMSK
P4 Port Interrupt Mask Register
Enables P4 port interrupts.
0x5246
P4_EDGE
P4 Port Interrupt Edge Select Register
Selects the signal edge for generating P4
port interrupts.
0x5247
P4_IFLG
P4 Port Interrupt Flag Register
Indicates/resets the P4 port interrupt occur-
rence status.
0x5248
P4_CHAT
P4 Port Chattering Filter Control Register
Controls the P4 port chattering filter.
0x524a
P4_IEN
P4 Port Input Enable Register
Enables P4 port inputs.
0x5250
P5_IN
P5 Port Input Data Register
P5 port input data
0x5251
P5_OUT
P5 Port Output Data Register
P5 port output data
0x5252
P5_OEN
P5 Port Output Enable Register
Enables P5 port outputs.
0x5253
P5_PU
P5 Port Pull-up Control Register
Controls the P5 port pull-up resistor.
0x5255
P5_IMSK
P5 Port Interrupt Mask Register
Enables P5 port interrupts.
0x5256
P5_EDGE
P5 Port Interrupt Edge Select Register
Selects the signal edge for generating P5
port interrupts.
0x5257
P5_IFLG
P5 Port Interrupt Flag Register
Indicates/resets the P5 port interrupt occur-
rence status.
0x5258
P5_CHAT
P5 Port Chattering Filter Control Register
Controls the P5 port chattering filter.
0x525a
P5_IEN
P5 Port Input Enable Register
Enables P5 port inputs.
0x52a0
P00_03PMUX P0[3:0] Port Function Select Register
Selects the P0[3:0] port functions.
0x52a2
P10_13PMUX P1[3:0] Port Function Select Register
Selects the P1[3:0] port functions.
0x52a3
P14_17PMUX P1[7:4] Port Function Select Register
Selects the P1[7:4] port functions.
0x52a4
P20_23PMUX P2[3:0] Port Function Select Register
Selects the P2[3:0] port functions.
0x52a5
P24_27PMUX P2[7:4] Port Function Select Register
Selects the P2[7:4] port functions.
0x52a6
P30_33PMUX P3[3:0] Port Function Select Register
Selects the P3[3:0] port functions.
0x52a7
P34_37PMUX P3[7:4] Port Function Select Register
Selects the P3[7:4] port functions.
0x52a8
P40_43PMUX P4[3:0] Port Function Select Register
Selects the P4[3:0] port functions.
0x52a9
P44_45PMUX P4[5:4] Port Function Select Register
Selects the P4[5:4] port functions.
0x52aa
P50_53PMUX P5[3:0] Port Function Select Register
Selects the P5[3:0] port functions.
0x52ab
P54_55PMUX P5[5:4] Port Function Select Register
Selects the P5[5:4] port functions.
MISC registers
(16-bit device)
0x5322
MISC_DMODE2 Debug Mode Control Register 2
Enables peripheral operations in debug mode
(except PCLK).
0x5324
MISC_PROT
MISC Protect Register
Enables writing to the MISC registers.
0x5326
MISC_IRAMSZ IRAM Size Register
Selects the IRAM size.
0x5328
MISC_TTBRL
Vector Table Address Low Register
Sets vector table address.
0x532a
MISC_TTBRH Vector Table Address High Register
0x532c
MISC_PSR
PSR Register
Indicates the S1C17 Core PSR values.
IR remote
controller
(16-bit device)
0x5340
REMC_CFG
REMC Configuration Register
Controls the clock and data transfer.
0x5342
REMC_CAR
REMC Carrier Length Setup Register
Sets the carrier H/L section lengths.
0x5344
REMC_LCNT
REMC Length Counter Register
Sets the transmit/receive data length.
0x5346
REMC_INT
REMC Interrupt Control Register
Controls interrupts.
A/D converter
(16-bit device)
0x5380
ADC10_ADD
A/D Conversion Result Register
A/D converted data
0x5382
ADC10_TRG
A/D Trigger/Channel Select Register
Sets start/end channels and conversion mode.
0x5384
ADC10_CTL
A/D Control/Status Register
Controls A/D converter and indicates conver-
sion status.
0x5386
ADC10_CLK
A/D Clock Control Register
Controls A/D converter clock.
0x5388
ADC10_COM
A/D Comparator Setting Register
Adjusts A/D conversion characteristics.
16-bit PWM
timer Ch.0
(16-bit device)
0x5400
T16A_CTL0
T16A Counter Ch.0 Control Register
Controls the counter.
0x5402
T16A_TC0
T16A Counter Ch.0 Data Register
Counter data
0x5404
T16A_CCCTL0 T16A Comparator/Capture Ch.0 Control
Register
Controls the comparator/capture block and
TOUT.
0x5406
T16A_CCA0
T16A Compare/Capture Ch.0 A Data Register Compare A/capture A data
0x5408
T16A_CCB0
T16A Compare/Capture Ch.0 B Data Register Compare B/capture B data
0x540a
T16A_IEN0
T16A Compare/Capture Ch.0 Interrupt Enable
Register
Enables/disables interrupts.
0x540c
T16A_IFLG0
T16A Compare/Capture Ch.0 Interrupt Flag
Register
Displays/sets interrupt occurrence status.