APPENDIX A LIST OF I/O REGISTERS
AP-A-50
Seiko Epson Corporation
S1C33L26 TECHNICAL MANUAL
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
I
2
S Audio Clock
Division Ratio
Register
(I2S_DV_AUDIO
_CLK)
0x301406
(16 bits)
D15–13 –
reserved
–
–
–
0 when being read.
D12–8 WSCLKCYC
[4:0]
I
2
S WS clock cycle setup
WSCLKCYC[4:0] Clock period
0x0 R/W
Other
0x10
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
32 clocks
31 clocks
30 clocks
29 clocks
28 clocks
27 clocks
26 clocks
25 clocks
24 clocks
23 clocks
22 clocks
21 clocks
20 clocks
19 clocks
18 clocks
17 clocks
16 clocks
D7–0 BCLKDIV
[7:0]
I
2
S bit clock division ratio select
BCLKDIV[7:0] Division ratio
0x0 R/W Source clock =
PCLK1
0xff
0xfe
0xfd
:
0x2
0x1
0x0
1/512
1/510
1/508
:
1/6
1/4
1/2
I
2
S Start/Stop
Register
(I2S_START)
0x301408
(16 bits)
D15–8 –
reserved
–
–
–
0 when being read.
D7
I2SBUSY
I
2
S busy flag
1 Busy
0 Idle
0
R
D6–1 –
reserved
–
–
–
0 when being read.
D0
I2SSTART
I
2
S start/stop control
1 Start (run)
0 Stop
0
R/W
I
2
S FIFO Status
Register (I2S_
FIFO_STAT)
0x30140a
(16 bits)
D15–5 –
reserved
–
–
–
0 when being read.
D4–2 FIFOSTAT
[2:0]
I
2
S FIFO state machine
FIFOSTAT[2:0]
State
0x0
R
0x7–0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
FLUSH
EMPTY
LACK
FULL
INIT
STOP
D1
I2SFIFOFF I
2
S FIFO full flag
1 Full
0 Not full
0
R
D0
I2SFIFOEF I
2
S FIFO empty flag
1 Empty
0 Not empty
1
R
I
2
S Interrupt
Control Register
(I2S_INT)
0x30140c
(16 bits)
D15–11 –
reserved
–
–
–
0 when being read.
D10
WEIF
I
2
S FIFO whole empty int. flag
1 Cause of
interrupt
occurred
0 Cause of
interrupt not
occurred
0
R/W Reset by writing 1.
D9
HEIF
I
2
S FIFO half empty interrupt flag
1
0
0
R/W
D8
OEIF
I
2
S FIFO one empty interrupt flag 1
0
0
R/W
D7–3 –
reserved
–
–
–
0 when being read.
D2
WEIE
I
2
S FIFO whole empty int. enable
1 Enable
0 Disable
0
R/W
D1
HEIE
I
2
S FIFO half empty int. enable
1 Enable
0 Disable
0
R/W
D0
OEIE
I
2
S FIFO one empty int. enable
1 Enable
0 Disable
0
R/W
I
2
S FIFO
Register
(I2S_FIFO)
0x301410
(16 bits)
D15–0 I2SFIFO
[31:0]
I
2
S FIFO (L-channel output data)
0 to 0xffffffff
0x0
W 0 when being read.
0x301412
(16 bits)
D15–0
I
2
S FIFO (R-channel output data)
0x301500–0x301506
Remote Controller (REMC)
Register name Address
Bit
Name
Function
Setting
Init. R/W
Remarks
REMC
Configuration
Register
(REMC_CFG)
0x301500
(16 bits)
D15–12 CGCLK[3:0] Carrier generator clock division
ratio select
(Prescaler output clock)
CGCLK[3:0]
LCCLK[3:0]
Division ratio
0x0 R/W Source clock =
PCLK2
0xf
0xe
0xd
0xc
0xb
0xa
0x9
0x8
0x7
0x6
0x5
0x4
0x3
0x2
0x1
0x0
reserved
1/16384
1/8192
1/4096
1/2048
1/1024
1/512
1/256
1/128
1/64
1/32
1/16
1/8
1/4
1/2
1/1
D11–8 LCCLK[3:0] Length counter clock division ratio
select
(Prescaler output clock)
0x0 R/W
D7–2 –
reserved
–
–
–
0 when being read.
D1
REMMD
REMC mode select
1 Receive
0 Transmit
0
R/W
D0
REMEN
REMC enable
1 Enable
0 Disable
0
R/W