SERIAL COMMUNICATION INTERFACE (SCI)
6 - 46
PORT C
MOTOROLA
as the error flags, OR, PE, and FE. If (3) interrupts are enabled, an interrupt is generated.
X:$FFF0
1
5
1
4
1
3
1
2
1
1
1
0
9
8
7
6
5
4
3210
SCKP
TMIE
TIE
1
ILIE
TE
1
W
OMS
R
WU
W
AKE
SBK
SSFTD
WDS2
WDS1
WDS0
SCI CONTR
OL REGISTER (SCR)
(READ/WRITE)
STIR
X:$FFF2
1
5
1
4
1
3
1
2
1
1
1
0
9
8
7
6
5
4
3210
TCM
SCP
COD
CD11
CD10
CD9
CD8
CD7
CD6
CD5
CD4
CD3
CD2
CD1
CD0
SCI CONTR
OL REGISTER (SCCR)
(READ/WRITE)
RCM
1.
HARD
W
ARE OR SOFTW
ARE RESET
2.
PR
OGRAM SCR
WITH DESIRED MODE AND FEA
TURES
.
3.
TURN ON RECEIVER (RE = 1).
4.
OPTIONALL
Y ENABLE RECEIVER INTERR
UPTS (RIE = 1).
RIE
RE
5.
SET
THE BA
UD RA
TE BY PR
OGRAMMING
THE SCCR.
CCx
Function
0
GPIO
1
Ser
ial Interf
ace
PRESCALER
IF SCP = 1,
THEN DIVIDE BY 8
IF SCP = 0,
THEN DIVIDE BY 1
DIVIDE BY 1
T
O 4096
6.
SET
THE RXD BIT IN PCC
T
O ENABLE
THE SCI RECEIVER SYSTEM.
X:$FFE1
2
3
9
8
7
6
5
4
3210
CC8
CC7
CC6
CC5
CC4
CC3
CC2
CC1
1
POR
T C CONTR
OL REGISTER (PCC)
0
SCI
RXD
NO
TE:
If RE is cleared while a v
alid char
acter is being receiv
ed, the reception of the char
acter will be completed bef
ore the receiv
er is disab
led.
Figure 6-22 Asynchronous SCI Receiver Initialization
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
.
..