APPENDIX A LIST OF PERIPHERAL CIRCUIT CONTROL REGISTERS
AP-A-34
Seiko Epson Corporation
S1C31D50/D51 TECHNICAL MANUAL
(Rev. 2.00)
0x0020 0400–0x0020 042c
16-bit PWM Timer (T16B) Ch.0
Address
Register name
Bit
Bit name
Initial
Reset
R/W
Remarks
0x0020
0400
T16B_0CLK
(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
0x0020
0402
T16B_0CTL
(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
0x0020
0404
T16B_0MC
(T16B Ch.0 Max
Counter Data Register)
15–0 MC[15:0]
0xffff
H0
R/W –
0x0020
0406
T16B_0TC
(T16B Ch.0 Timer
Counter Data Register)
15–0 TC[15:0]
0x0000
H0
R
–
0x0020
0408
T16B_0CS
(T16B Ch.0 Counter
Status Register)
15–8 –
0x00
–
R
–
7–6 –
0x0
–
R
5
CAPI3
0
H0
R
4
CAPI2
0
H0
R
3
CAPI1
0
H0
R
2
CAPI0
0
H0
R
1
UP_DOWN
1
H0
R
0
BSY
0
H0
R
0x0020
040a
T16B_0INTF
(T16B Ch.0 Interrupt
Flag Register)
15–10 –
0x00
–
R
–
9
CAPOW3IF
0
H0
R/W Cleared by writing 1.
8
CMPCAP3IF
0
H0
R/W
7
CAPOW2IF
0
H0
R/W
6
CMPCAP2IF
0
H0
R/W
5
CAPOW1IF
0
H0
R/W
4
CMPCAP1IF
0
H0
R/W
3
CAPOW0IF
0
H0
R/W
2
CMPCAP0IF
0
H0
R/W
1
CNTMAXIF
0
H0
R/W
0
CNTZEROIF
0
H0
R/W
0x0020
040c
T16B_0INTE
(T16B Ch.0 Interrupt
Enable Register)
15–10 –
0x00
–
R
–
9
CAPOW3IE
0
H0
R/W
8
CMPCAP3IE
0
H0
R/W
7
CAPOW2IE
0
H0
R/W
6
CMPCAP2IE
0
H0
R/W
5
CAPOW1IE
0
H0
R/W
4
CMPCAP1IE
0
H0
R/W
3
CAPOW0IE
0
H0
R/W
2
CMPCAP0IE
0
H0
R/W
1
CNTMAXIE
0
H0
R/W
0
CNTZEROIE
0
H0
R/W
0x0020
040e
T16B_0MZDMAEN
(T16B Ch.0 Counter
Max/Zero DMA
Request Enable
Register)
15–8 –
0x00
–
R
–
7–4 –
0x0
–
R
3–0 MZDMAEN[3:0]
0x0
H0
R/W