APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
AP-A-22
Seiko Epson Corporation
S1C17M20/M21/M22/M23/M24/M25
TECHNICAL MANUAL (Rev. 1.0)
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
0x43d0 I2C0INTF
(I2C Ch.0 Status
and Interrupt Flag
Register)
15–13 –
0x0
–
R
–
12 SDALOW
0
H0
R
11 SCLLOW
0
H0
R
10 BSY
0
H0/S0
R
9
TR
0
H0
R
8
–
0
–
R
7
BYTEENDIF
0
H0/S0
R/W Cleared by writing 1.
6
GCIF
0
H0/S0
R/W
5
NACKIF
0
H0/S0
R/W
4
STOPIF
0
H0/S0
R/W
3
STARTIF
0
H0/S0
R/W
2
ERRIF
0
H0/S0
R/W
1
RBFIF
0
H0/S0
R
Cleared by reading the
I2C0RXD register.
0
TBEIF
0
H0/S0
R
Cleared by writing to the
I2C0TXD register.
0x43d2 I2C0INTE
(I2C Ch.0 Interrupt
Enable Register)
15–8 –
0x00
–
R
–
7
BYTEENDIE
0
H0
R/W
6
GCIE
0
H0
R/W
5
NACKIE
0
H0
R/W
4
STOPIE
0
H0
R/W
3
STARTIE
0
H0
R/W
2
ERRIE
0
H0
R/W
1
RBFIE
0
H0
R/W
0
TBEIE
0
H0
R/W
0x5000–0x501a
16-bit PWM Timer (T16B) Ch.0
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
0x5000 T16B0CLK
(T16B Ch.0 Clock
Control Register)
15–9 –
0x00
–
R
–
8
DBRUN
0
H0
R/W
7–4 CLKDIV[3:0]
0x0
H0
R/W
3
–
0
–
R
2–0 CLKSRC[2:0]
0x0
H0
R/W
0x5002 T16B0CTL
(T16B Ch.0 Counter
Control Register)
15–9 –
0x00
–
R
–
8
MAXBSY
0
H0
R
7–6 –
0x0
–
R
5–4 CNTMD[1:0]
0x0
H0
R/W
3
ONEST
0
H0
R/W
2
RUN
0
H0
R/W
1
PRESET
0
H0
R/W
0
MODEN
0
H0
R/W
0x5004 T16B0MC
(T16B Ch.0 Max
Counter Data Register)
15–0 MC[15:0]
0xffff
H0
R/W –
0x5006 T16B0TC
(T16B Ch.0 Timer
Counter Data Register)
15–0 TC[15:0]
0x0000
H0
R
–
0x5008 T16B0CS
(T16B Ch.0 Counter
Status Register)
15–8 –
0x00
–
R
–
7–4 –
0x0
–
R
3
CAPI1
0
H0
R
2
CAPI0
0
H0
R
1
UP_DOWN
1
H0
R
0
BSY
0
H0
R