Table 6-10 Dath And Dirh Functionality; Dsp Host Port Gpio Direction Register (Dirh) - Motorola DSP56305 User Manual

24-bit digital signal processor
Table of Contents

Advertisement

6.5.13

DSP Host Port GPIO Direction Register (DIRH)

23
22
21
20
19
18
DIR
DIR
DIR
DIR
DIR
DIR
23
22
21
20
19
18
Bit
23-0
The DIRH is a 24-bit read/write register used by the DSP56300 core to control the
direction of the host port signals in GPIO mode. The DIRH cannot be accessed by the
host processor.
DIR23-DIR0 are used to define the corresponding GPIO signals as input or output. The
functionality of the DIR23-DIR0 bits is defined in Table 6-10.
Hardware and software resets clear all DIRH bits.
DIR
x
0
Read only bit. The value read is the binary
value of the signal.
The corresponding signal is configured as
an input.
1
Read/write bit. The value written is the
value read. The corresponding signal is
configured as an output, and is driven
with the data written to DATx.
a.
defined by the selected mode
MOTOROLA
17
16
15
14
13
DIR
DIR
DIR
DIR
DIR
17
16
15
14
13
Name
DIR23-DIR0

Table 6-10 DATH and DIRH Functionality

a
GPIO signal
DSP56305 User's Manual
DSP SIDE Programming Model
12
11
10
9
8
7
DIR
DIR
DIR
DIR
DIR
DIR
12
11
10
9
8
7
Function
GPIO Signal Direction
DATx
non-GPIO signal
Read only bit. Does not contain significant
data.
Read/write bit. The value written is the
value read.
HOST INTERFACE (HI32)
6
5
4
3
2
1
DIR
DIR
DIR
DIR
DIR
DIR
6
5
4
3
2
1
a
0
DIR
0
6-47

Advertisement

Table of Contents
loading

Table of Contents