Скачиваний:
33
Добавлен:
27.04.2015
Размер:
1.66 Mб
Скачать

Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

Serial Audio Interface

Serial Audio Interface Programming Model

6.3SERIAL AUDIO INTERFACE PROGRAMMING MODEL

The Serial Audio Interface registers that are available to the programmer are shown in Figure 6-4. The registers are described in the following paragraphs.

Baud Rate Control Register (BRC)X: $FFE0

23

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

PSR

PM7

PM6

PM5

PM4

PM3

PM2

PM1

PM0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Receive Control/Status Register (RCS) X: $FFE1

23

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

RRDF

RLDF

 

RXIL

RXIE

RDWT

RREL

RCKP

RLRS

RDIR

RWL1

RWL0

RMST

 

R1EN

R0EN

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmit Control/Status Register (TCS) X: $FFE4

23

16

15

14

13

12

11

10

9

8

7

6

 

5

4

3

 

2

1

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TRDE

TLDE

 

 

TXIL

TXIE

TDWE

TREL

TCKP

TLRS

TDIR

TWL1

TWL0

TMST

T2EN

T1EN

T0EN

 

 

 

 

 

23

 

 

 

 

0

Receiver 0 Data Register

 

 

 

 

 

 

Reserved Bit(s)

 

 

 

 

 

 

 

read-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X: $FFE2

 

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Receiver 1 Data Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

read-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X: $FFE3

 

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmitter 0 Data Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

write-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X: $FFE5

 

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmitter 1 Data Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

write-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X: $FFE6

 

 

 

 

 

 

 

 

 

 

 

 

 

23

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmitter 2 Data Register

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

write-only

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

X: $FFE7

 

 

 

 

 

 

AA0430k

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 6-4 SAI Registers

The SAI interrupt vectors can be located in either of two different regions in memory. The transmit interrupt vector locations are controlled by TXIL bit in the Transmit Control Status (TCS) register. Similarly, the receive interrupt vector locations are controlled by RXIL bit in the Receive Control Status (RCS) register. The interrupt vector locations for the SAI are shown in Table 6-1. The interrupts generated by the SAI are prioritized as shown in Table 6-2.

6-8

DSP56011 User’s Manual

MOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Соседние файлы в папке DSP56011