Port Qa And Qb Data Direction Register (Ddrqa And Ddrqb); Qadc Port Qa Data Register (Portqa); Qadc Port Qb Data Register (Portqb) - Motorola ColdFire MCF5281 User Manual

Motorola microcontroller user's manual
Table of Contents

Advertisement

Register Descriptions
7
Field
Reset
R/W:
Address
Figure 27-4. QADC Port QA Data Register (PORTQA)
7
Field
Reset
R/W:
Address
Figure 27-5. QADC Port QB Data Register (PORTQB)
Note: The reset value for these fields is the current signal state if DDR is an input; otherwise, they are undefined.
27.6.4 Port QA and QB Data Direction Register
(DDRQA and DDRQB)
DDRQA and DDRQB are associated with port QA and QB digital I/O signals. Setting a bit
in these registers configures the corresponding signal as an output. Clearing a bit in these
registers configures the corresponding signal as an input. During QADC initialization, port
QA and QB signals that will be used as direct or multiplexed analog inputs must have their
corresponding data direction register bits cleared. When a port QA or QB signal that is
programmed as an output is selected for analog conversion, the voltage sampled is that of
the output digital driver as influenced by the load.
When the MUX (externally multiplexed) bit is set in QACR0, the data direction register
settings are ignored for the bits corresponding to PQA[1:0], and the two multiplexed
address (MA[1:0]) output signals. The MA[1:0] signals are forced to be digital outputs,
regardless of their data direction setting, and the multiplexed address outputs are driven.
The data returned during a port data register read is the value of the MA[1:0] signals,
regardless of their data direction setting.
Similarly, when the external trigger signals are assigned to port signals and external trigger
queue operating mode is selected, the data direction setting for the corresponding signals,
PQA3 and/or PQA4, is ignored. The port signals are forced to be digital inputs for ETRIG1
and/or ETRIG2. The data returned during a port data register read is the value of the
ETRIG[2:1] signals, regardless of their data direction setting.
27-10
6
5
PQA4
(AN56)
(ETRIG2)
000
R
IPSBAR + 0x19_0006
6
5
0000
R
IPSBAR + 0x19_0007
MCF5282 User's Manual
4
3
2
PQA3
(AN55)
(ETRIG1)
See Note
0
R/W
R
4
3
2
PQB3
PQB2
(AN3)
(AN2)
(ANZ)
(ANY)
1
0
PQA1
PQA0
(AN53)
(AN52)
(MA1)
(MA0)
See Note
R/W
1
0
PQA1
PQA0
(AN1)
(AN0)
(ANX)
(ANW)
See Note
R/W
MOTOROLA

Advertisement

Table of Contents
loading

This manual is also suitable for:

Coldfire mcf5282

Table of Contents