mc68331cpv20b1 Freescale Semiconductor, Inc, mc68331cpv20b1 Datasheet - Page 239

no-image

mc68331cpv20b1

Manufacturer Part Number
mc68331cpv20b1
Description
Mc68331 32 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
MC68331
USER’S MANUAL
DDRQS determines whether pins are inputs or outputs. Clearing a bit makes the cor-
responding pin an input; setting a bit makes the pin an output. DDRQS affects both
QSPI function and I/O function.
1. PQS2 is a digital I/O pin unless the SPI is enabled (SPE in SPCR1 set), in which case
2. PQS7 is a digital I/O pin unless the SCI transmitter is enabled (TE in SCCR1 = 1), in
it becomes SPI serial clock SCK.
which case it becomes SCI serial output TXD.
PQSPAR Field
PQSPA0
PQSPA1
PQSPA2
PQSPA3
PQSPA4
PQSPA5
PQSPA6
PQSPA7
Table D-15 Effect of DDRQS on PORTQS Pins
PQS0
PQS1
PQS2
PQS2
PQS3
PQS4
PQS5
PQS6
PQS7
Freescale Semiconductor, Inc.
Table D-14 PQSPAR Pin Assignments
Pin
For More Information On This Product,
Go to: www.freescale.com
REGISTER SUMMARY
DDRQS Bit
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
PQSPAR Bit
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Pin Function
Digital Output
Digital Output
Digital Output
Digital Output
Digital Output
Digital Output
Digital Output
Digital Output
Digital Output
Digital Input
Digital Input
Digital Input
Digital Input
Digital Input
Digital Input
Digital Input
Digital Input
Digital Input
Pin Function
PCS0/SS
PQS2
PQS7
PQS0
PQS1
PQS3
PQS4
PCS1
PQS5
PCS2
PQS6
PCS3
MISO
MOSI
SCK
TXD
1
2
D-31
D

Related parts for mc68331cpv20b1