SERIAL COMMUNICATION INTERFACE (SCI)
MOTOROLA
PORT C
6 - 49
If TE remains cleared for a longer period, the output will remain high for an even number
R8
FE
PE
OR
IDLE
1
TDRE
TRNE
3.
SSR CAN BE POLLED BY SOFTW
ARE.
4.
IF RIE = 1 IN SCR,
THEN AN INTERR
UPT
WITH ERR
OR IS GENERA
TED
.
1.
A CHARA
CTER IS RECEIVED
WITH A
T LEAST ONE OF
THE FOLLO
WING ERR
ORS:
—
FRAMING ERR
OR (FE = BIT 6 IN SSR
—
P
ARITY ERR
OR (PE = BIT 5 IN SSR)
—
O
VERR
UN ERR
OR (OR = BIT 4 IN SSR)
RXD
2.
THIS SETS RDRF AND SET OR, PE, OR FE IN SSR.
765432
1
0
RDRF
X:$FFF1
SCI ST
A
TUS REGISTER (SSR)
(READ ONL
Y)
SCI RECEIVE D
A
T
A
RECEIVE WITH
EXCEPTION
INTERR
UPT
SER
VICE
R
OUTINE
P:$0016
INTERR
UPT
VECT
OR
T
ABLE
5.
READ SSR
SERIAL STRING OF BAD D
A
T
A
XXXXXXXX
A
T LEAST ONE BIT SET
765432
1
0
R8
FE
PE
OR
IDLE
1
TDRE
TRNE
RDRF
X:$FFF1
SCI ST
A
TUS REGISTER (SSR)
(READ ONL
Y)
RIE
INTERR
UPT WITH
EXCEPTION
6.
READ SRX.
THIS CLEARS RDRF IN
THE SSR AND CLEARS
THE OR, PE, AND
FE FLA
GS
.
Figure 6-24 SCI Character Reception with Exception
23
16
15
8
7
0
X:$FFF6
X:$FFF5
X:$FFF4
SRX
SRX
SRX
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..
Содержание DSP56002
Страница 380: ......
Страница 382: ......
Страница 390: ...Freescale Semiconductor I Freescale Semiconductor Inc For More Information On This Product Go to www freescale com nc...