QADC64E Legacy Mode Operation
MPC561/MPC563 Reference Manual, Rev. 1.2
Freescale Semiconductor
13-13
Figure 13-6. Interrupt Levels on IRQ with ILBS
13.3.3
Port Data Register (PORTQA and PORTQB)
QADC64E ports A and B are accessed through two 8-bit port data registers (PORTQA and PORTQB) in
each QADC64E.
Port A signals are referred to as PQA[7:0] when used as 8-bit general-purpose digital input or output
signals. It is configured as a digital input or digital output using the data direction register, DDRQA. When
Port A is configured as an input, a read of the PORTQA register returns the actual PQA[7:0] signal values.
When Port A is configured as an output, the contents of port register PQA are driven on the port A signals.
Port A can also be used as analog inputs AN[59:52] and external multiplexer address outputs MA[2:0].
Port B signals are referred to as PQB[7:0] when used as 8-bit general-purpose digital input-only signals.
Digital input signal states are read from the 8-bit PORTQB register. Port B can also be used as
non-multiplexed analog inputs AN[51:48] and AN[3:0], and external multiplexer analog inputs, ANw,
ANx, ANy, ANz.
During a port data register read, the actual value of the signal is reported when its corresponding bit in the
data direction register defines the signal to be an input. When the data direction bit specifies the signal to
be an output, the content of the port data register is read. PORTQA and PORTQB are not initialized by
reset.
MSB
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
LSB
15
Field
PQA
7
PQA
6
PQA
5
PQA
4
PQA
3
PQA
2
PQA
1
PQA
0
PQB
7
PQB
6
PQB
5
PQB
4
PQB
3
PQB
2
PQB
1
PQB
0
SRESET
Unaffected
Unaffected
Addr
(PORTQA) 0x30 4806 ; 0x30 4C06
(PORTQB) 0x30 4807, 0x30 4C07
ANALOG CHANNEL:
AN5
9
AN5
8
AN5
7
AN5
6
AN5
5
AN5
4
AN5
3
AN5
2
AN5
1
AN5
0
AN4
9
AN4
8
AN3
AN2
AN1
AN0
MULTIPLEXED ADDRESS OUTPUTS:
MA2 MA1 MA0
Figure 13-7. Port
x
Data Register (PORTQA and PORTQB)
IMB3 CLOCK
ILBS [1:0]
IMB3 IRQ [7:0]
IRQ
7:0
00
01
11
10
IRQ
15:8
IRQ
23:16
IRQ
31:24
IRQ
7:0
00
01
11
10
Summary of Contents for MPC561
Page 84: ...MPC561 MPC563 Reference Manual Rev 1 2 lxxxiv Freescale Semiconductor...
Page 144: ...Signal Descriptions MPC561 MPC563 Reference Manual Rev 1 2 2 46 Freescale Semiconductor...
Page 206: ...Central Processing Unit MPC561 MPC563 Reference Manual Rev 1 2 3 62 Freescale Semiconductor...
Page 302: ...Reset MPC561 MPC563 Reference Manual Rev 1 2 7 14 Freescale Semiconductor...
Page 854: ...Time Processor Unit 3 MPC561 MPC563 Reference Manual Rev 1 2 19 24 Freescale Semiconductor...
Page 968: ...Development Support MPC561 MPC563 Reference Manual Rev 1 2 23 54 Freescale Semiconductor...
Page 1144: ...Internal Memory Map MPC561 MPC563 Reference Manual Rev 1 2 B 34 Freescale Semiconductor...
Page 1212: ...TPU3 ROM Functions MPC561 MPC563 Reference Manual Rev 1 2 D 60 Freescale Semiconductor...
Page 1216: ...Memory Access Timing MPC561 MPC563 Reference Manual Rev 1 2 E 4 Freescale Semiconductor...