English
Language : 

SH7785 Datasheet, PDF (1301/1692 Pages) Renesas Technology Corp – 32-Bit RISC Microcomputer
25. Audio Codec Interface (HAC)
25.3.2 Command/Status Address Register (HACCSAR)
HACCSAR is a 32-bit read/write register that specifies the address of the codec register to be read
/written. When requesting a write to/read from a codec register, write the command register
address to HACCSAR and set the ST bit in the HACCR register to 1. The HAC then transmits this
register address to the codec via slot 1.
After the codec has responded to a read request (HACRSR.STARY = 1), the status address
received via slot 1 can be read out from HACCSAR.
Bit: 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
⎯⎯
⎯
⎯
⎯⎯⎯
⎯
⎯
⎯⎯
⎯
RW
CA6/ CA5/ CA4/
SA6 SA5 SA4
Initial value: 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R/W: R R R R R R R R R R R R R/W R/W R/W R/W
Bit: 15 14 13 12 11 10 9
8
7
6
5
4
3
2
1
0
CA3/ CA2/ CA1/
SA3 SA2 SA1
CA0/
SA0
SLR
EQ3
SLR
EQ4
SLR
EQ5
SLR
EQ6
SLR
EQ7
SLR
EQ8
SLR SLR SLR SLR
EQ9 EQ10 EQ11 EQ12
⎯
⎯
Initial value: 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
R/W: R/W R/W R/W R/W R R R R R R R R R R R R
Initial
Bit
Bit Name Value R/W Description
31 to 20 ⎯
All 0 R
Reserved
These bits are always read as 0. The write value should
always be 0.
19
RW
0
R/W Codec Read/Write Command
0: Notifies the off-chip codec device of a write access to
the register specified in the address field (CA6/SA6
to CA0/SA0).
Write the data to HACCSDR in advance.
When HACACR.TX12_ATOMIC is 1, the HAC
transmits HACCSAR and HACCSDR as a pair in the
same TX frame.
When HACACR.TX12_ATOMIC is 0, transmission of
HACCSAR and HACCSDR in the same TX frame is
not guaranteed.
1: Notifies the off-chip codec device of a read access to
the register specified in the address field (CA6/SA6
to CA0/SA0).
Rev.1.00 Jan. 10, 2008 Page 1271 of 1658
REJ09B0261-0100