mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 238

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
D
FE — Framing Error
PF — Parity Error
D.4.7 SCDR — SCI Data Register
D.4.8 PORTQS — Port QS Data Register
D.4.9 PQSPAR — PORT QS Pin Assignment Register
D-30
15
15
15
0
0
0
0
SCDR consists of two data registers located at the same address. RDR is a read-only
register that contains data received by the SCI serial interface. Data comes into the
receive serial shifter and is transferred to RDR. TDR is a write-only register that con-
tains data to be transmitted. Data is first written to TDR, then transferred to the transmit
serial shifter, where additional format bits are added before transmission. R[7:0]/T[7:0]
contain either the first eight data bits received when SCDR is read, or the first eight
data bits to be transmitted when SCDR is written. R8/T8 are used when the SCI is con-
figured for 9-bit operation. When the SCI is configured for 8-bit operation, R8/T8 have
no meaning or effect.
PORTQS latches I/O data. Writes drive pins defined as outputs. Reads return data
present on the pins. To avoid driving undefined data, first write a byte to PORTQS,
then configure DDRQS.
Clearing a bit in PQSPAR assigns the corresponding pin to general-purpose I/O; set-
ting a bit assigns the pin to the QSPI. PQSPAR does not affect operation of the SCI.
RESET:
RESET:
0 = No framing error on the received data
1 = Framing error or break occurred on the received data.
0 = No parity error on the received data
1 = Parity error occurred on the received data.
DDRQS — PORT QS Data Direction Register
PQSPA6 PQSPA5 PQSPA4 PQSPA3
14
14
0
0
0
13
13
0
0
0
NOT USED
12
12
0
0
0
Freescale Semiconductor, Inc.
11
11
For More Information On This Product,
0
0
0
10
10
0
0
0
0
Go to: www.freescale.com
REGISTER SUMMARY
PQSPA1 PQSPA0
9
0
0
9
0
R8/T8
U
8
8
8
0
DDQS7
R7/T7
PQS7
7
U
7
0
7
0
RESET:
DDQS6
R6/T6
PQS6
U
6
6
0
6
0
DDQS5
R5/T5
PQS5
U
5
5
0
5
0
DDQS4
R4/T4
PQS4
U
4
4
0
4
0
DDQS3
R3/T3
PQS3
U
3
3
0
3
0
DDQS2
R2/T2
PQS2
USER’S MANUAL
U
2
2
0
2
0
$YFFC0E
DDQS1
R1/T1
PQS1
$YFFC15
$YFFC16
$YFFC17
U
1
1
0
1
0
MC68331
DDQS0
R0/T0
PQS0
0
U
0
0
0
0

Related parts for mc68331cpv20b1