mc68hc916y3 Freescale Semiconductor, Inc, mc68hc916y3 Datasheet - Page 431

no-image

mc68hc916y3

Manufacturer Part Number
mc68hc916y3
Description
Mc68hc16y3 16 Bit Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
PQSPAR — PORT QS Pin Assignment Register
DDRQS — PORT QS Data Direction Register
D.7.9 Port QS Pin Assignment Register/Data Direction Register
NOT
USE
MC68HC16Y3/916Y3
USER’S MANUAL
15
D
RESET:
Clearing a bit in PQSPAR assigns the corresponding pin to general-purpose I/O.
Setting a bit assigns the pin to the QSPI. PQSPAR does not affect operation of the
SCI. Table D-36 displays PQSPAR pin assignments.
DDRQS determines whether pins configured for general purpose I/O are inputs or
outputs. Clearing a bit makes the corresponding pin an input; setting a bit makes the
pin an output. DDRQS affects both QSPI function and I/O function. Table D-37 shows
the effect of DDRQS on QSM pin function.
PQSPA6 PQSPA5 PQSPA4 PQSPA3
14
0
13
0
NOTES:
12
0
1. PQS2 is a digital I/O pin unless the SPI is enabled (SPE set in
2. PQS7 is a digital I/O pin unless the SCI transmitter is enabled (TE set
PQSPAR Field
SPCR1), in which case it becomes the QSPI serial clock SCK.
in SCCR1), in which case it becomes the SCI serial output TXD.
PQSPA0
PQSPA1
PQSPA3
PQSPA4
PQSPA5
PQSPA6
Freescale Semiconductor, Inc.
Table D-36 PQSPAR Pin Assignments
11
0
For More Information On This Product,
NOT
USE
10
D
Go to: www.freescale.com
PQSPA1 PQSPA0 DDQS7 DDQS6 DDQS5 DDQS4 DDQS3 DDQS2 DDQS1 DDQS0
9
0
PQSPAR Bit
8
0
0
1
0
1
0
1
0
1
0
1
0
1
7
0
6
0
Pin Function
5
0
PCS0/SS
PQS2
PQS7
PQS0
PQS1
PQS3
PQS4
PQS5
PQS6
MISO
MOSI
PCS1
PCS2
PCS3
SCK
TXD
4
0
1
2
3
0
2
0
$YFFC16
$YFFC17
MOTOROLA
1
0
D-53
0
0

Related parts for mc68hc916y3