Stereo System User Manual

B-28 DSP56012 User’s Manual MOTOROLA
Programming Reference
Application:
Date:
Programmer:
Sheet 2 of 4
S.A.I.
1514131211109876543210
Transmitter Control/
X:$FFE4
Reset = $0000
Status Register (TCS)
T0ENT1ENTMSTTWL0
*
0
TWL1TLRSTCKP TDIRTDWETXIE TRELTLDETRDE T2EN
T0EN Description
0 Transmitter 0 disabled
1 Transmitter 0 enabled
T2EN Description
0 Transmitter 2 disabled
1 Transmitter 2 enabled
T1EN Description
0 Transmitter 1 disabled
1 Transmitter 1 enabled
TWL1 TWL0 Number of Bits/Word
0016
0124
1032
1 1 Reserved
TDIR Description
0 Data shifted out MSB first
1 Data shifted out LSB first
TLRS Description
0 WST low identifies Left data word;
WST high identifies Right data word
1 WST high identifies Left data word;
WST low identifies Right data word
TCKP Description
0 Polarity is negative
1 Polarity is positive
TREL Description
0 WSR occurs with first bit
1 WSR occurs 1 cycle earlier
TDWE Description
0 Last bit transmitted eight times
1 First bit transmitted eight times
TXIE Description
0 Transmitter interrupts disabled
1 Transmitter interrupts enabled
TLDE Description—Read Only
0 Left data register full
1 Left data register empty
TRDE Description—Read Only
0 Right data register full
1 Right data register empty
TMST Description
0 SAI slave
1 SAI master
TXIL Description
0 Tx interrupt vector location at $1x
1 Tx interrupt vector location at $4x
TXIL
*
= Reserved, write as 0
SAI Transmitter Control/Status Register (TCS)