6 gpio signals and registers, 1 port control registers (pcrc and pcrd), Gpio signals and registers -36 – Motorola DSP56301 User Manual

Page 234: Port control registers (pcrc and pcrd) -36, 6 gpio signals and registers, 1 port control registers (pcrc and pcrd)

Advertising
background image

GPIO Signals and Registers

7

-36

DSP56301 User’s Manual

7.6

GPIO Signals and Registers

The functionality of each ESSI port is controlled by three registers: port control register
(PCRC, PCRD), port direction register (PRRC, PRRD), and port data register (PDRC,
PDRD).

7.6.1

Port Control Registers (PCRC and PCRD)

The read/write 24-bit PCRs control the functionality of the signal lines for ESSI0 and ESSI1.
Each of the PCR bits 5–0 controls the functionality of the corresponding signal line. When a
PCR[i] bit is set, the corresponding port signal is configured as an ESSI signal. When a
PCR[i] bit is cleared, the corresponding port signal is configured as a GPIO signal. Either a
hardware

RESET

signal or a software RESET instruction clears all PCR bits.

23

22

21

20

19

18

17

16

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

PCx5

PCx4

PCx3

PCx2

PCx1

PCx0

Note:

For Px[5–0], a 0 selects Pxn as the signal and a 1 selects the specified ESSI signal. For ESSI0, the GPIO
signals are PC[5–0] and the ESSI signals are STD0, SRD0, SCK0, and SC0[2–0]. For ESSI1, the GPIO
signals are PD[5–0] and the ESSI signals are STD1, SRD1, SCK1, and SC1[2–0].

= Reserved. Read as zero. Write with zero for future compatibility.

Figure 7-18. Port Control Registers (PCRC X:$FFFFBF) (PCRD X:$FFFAF)

Advertising