beautypg.com

5 pcm right channel register (hacpcmr) – Renesas SH7781 User Manual

Page 1307

background image

25. Audio Codec Interface (HAC)

Rev.1.00 Jan. 10, 2008 Page 1277 of 1658

REJ09B0261-0100

25.3.5

PCM Right Channel Register (HACPCMR)

HACPCMR is a 32-bit read/write register used for accessing the right channel of the codec in
digital audio recording or stream playback. To transmit the PCM playback right channel data to
the codec, write the data to HACPCMR. To receive the PCM record right channel data from the
codec, read HACPCMR. The data is left justified when accommodating a codec with ADC/DAC
resolution of 20 bits or less.

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

16

Bit:

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

Initial value:

R

R

R

R

R

R

R

R

R

R

R

R

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W

R/W:

Bit:

Initial value:

R/W:

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

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/W

R/W

R/W

D19

D18

D17

D16

D3

D2

D1

D0

D7

D6

D5

D4

D11

D10

D9

D8

D15

D14

D13

D12

0

Bit Bit

Name

Initial
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 to 0

D19 to D0

All 0

R/W

Data 19 to 0

Write the PCM playback right channel data to these
bits. The HAC then transmits the data to the codec on
an on-demand basis.

Read these bits to get the PCM record right channel
data from the codec.