Register Descriptions

7

6

5

4

3

2

1

0

Field

 

 

PQA4

PQA3

 

PQA1

 

PQA0

 

 

 

 

(AN56)

(AN55)

 

 

(AN53)

 

(AN52)

 

 

 

 

(ETRIG2)

(ETRIG1)

 

 

(MA1)

 

(MA0)

 

 

 

 

 

 

 

 

 

 

Reset

 

000

 

See Note

0

 

See Note

 

 

 

 

 

 

 

 

 

R/W:

 

R

 

R/W

R

 

 

R/W

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

IPSBAR + 0x19_0006

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Figure 27-4. QADC Port QA Data Register (PORTQA)

 

 

7

6

5

4

3

2

1

0

 

 

 

 

 

 

 

 

 

 

Field

 

 

 

PQB3

PQB2

 

PQA1

 

PQA0

 

 

 

 

 

(AN3)

(AN2)

 

(AN1)

 

(AN0)

 

 

 

 

 

(ANZ)

(ANY)

 

(ANX)

 

(ANW)

 

 

 

 

 

 

 

 

 

 

Reset

 

 

0000

 

 

See Note

 

 

 

 

 

 

 

 

 

 

 

 

R/W:

 

 

R

 

 

 

R/W

 

 

 

 

 

 

 

 

 

 

 

 

 

Address

 

 

 

IPSBAR + 0x19_0007

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

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.4Port 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

MCF5282 User’s Manual

MOTOROLA

Page 594
Image 594
Motorola MCF5282, MCF5281 user manual Port QA and QB Data Direction Register Ddrqa and Ddrqb, Anz Any Anx Anw