English
Language : 

AD1816A_15 Datasheet, PDF (28/52 Pages) Analog Devices – SoundPort Controller
AD1816A
[Base+9]
Capture Configuration
7
6
RES
5
4
CFMT [1:0]
3
2
1
0
CC/L
CST
CIO
CEN
RESET = [0x00]
CEN (RW)
0 Disable
1 Enable
Capture Enable. This bit enables or disables data capture.
CIO
(RW) Capture Programmed I/O. This bit determines whether the capture data is transferred via DMA or PIO.
0 DMA
1 PIO
CST
(RW) Capture Stereo/Mono Select. This bit selects stereo or mono formatting for the input audio data streams.
In stereo, the Codec alternates samples between channels to provide left and right channel input. For mono,
the Codec captures samples on the left channel.
OBSOLETE 0 Mono
1 Stereo
CC/L
CFMT [1:0]
(RW) Capture Companded/Linear Select. This bit selects between a linear digital representation of the audio sig-
nal or a nonlinear, companded format for all output data. The type of linear PCM or the type of companded
format is defined by CFMT [1:0].
0 Linear PCM
1 Companded
(RW) Capture Format. Use these bits to select the format for capture data according to the following Table VI and
Figure 15.
[Base+10]
Reserved
7
6
5
4
3
2
1
0
RESERVED
RESET = [0xXX]
[Base+11]
Reserved
7
6
5
4
3
2
1
0
RESERVED
RESET = [0xXX]
[Base+12]
Joystick RAW DATA
7
6
5
4
3
2
1
0
Joystick Data [7:0]
RESET = [0xF0]
Joystick Data (RO) Joystick Data. Joystick Data (identical to LDN 2): Writes to this register are ignored.
[Base+13]
Joystick Control
7
6
5
4
3
2
1
0
JRDY
JWRP
JSEL [1:0]
JMSK [3:0]
RESET = [0xF0]
JMSK [3:0] (RW) Joystick Axis Mask. JRDY bit calculated based on axes selected by JMSK only.
xxx1
Enable AX
xx1x
Enable AY
x1xx
Enable BX
1xxx
Enable BY
JSEL [1:0]
(RW) Joystick Select. Selects one of four joystick axis register sets according to the following table:
00 Read AX (16 Bits) from [Base+14] & [Base+15]
01 Read AY (16 Bits) from [Base+14] & [Base+15]
10 Read BX (16 Bits) from [Base+14] & [Base+15]
11 Read BY (16 Bits) from [Base+14] & [Base+15]
JWRP
(RW) Joystick Wrapmode. Continuous Joystick sampling mode—sampling automatically restarted every ~16 ms.
JRDY
(RO) Joystick Ready. Sampling complete, joystick data ready for reading.
Note: Sampling must be started manually if JWRP is set before any sampling cycles are run. To start sampling after setting the JWRP
bit, write to the joystick port [Base+14].
–28–
REV. A