Port H Data Register (Pdrh) - Freescale Semiconductor DSP56374 User Manual

24-bit digital signal
Table of Contents

Advertisement

Programming Model
11
X:$FFFF9A
23
11
X:$FFFF99
23
6.2.3.3
Port H Data RSegister (PDRH)
The read/write 24-bit Port H Data Register (see <Blue>Figure 6-6.) is used to read or write data to/from the dedicated GPIO pins. Bits PH(4:0)
are used to read or write data from/to the corresponding port pins if they are configured as GPIO. If a port pin [i] is configured as a GPIO
input, the corresponding PH[i] bit reflects the value present on this pin. If a port pin [i] is configured as a GPIO output, the value written into
the corresponding PH[i] bit is reflected on this pin. If a port pin [i] is configured as disconnected, the corresponding PH[i] bit is not reset and
contains undefined data.
6-4
Table 6-3. PCRH and PRRH Bits Functionality
PDH[i]
PH[i]
1
0
1
1
10
9
8
22
21
20
19
Reserved bit - read as zero; should be written with zero for future compatibility.
Figure 6-4. PCRH Register
10
9
8
7
22
21
20
19
Reserved bit - read as zero; should be written with zero for future compatibility.
Figure 6-5. PRRH Register
DSP56374 Users Guide, Rev. 1.2
Port Pin[i] Function
GPIO output
Respective Functionality
(MODx or HREQ)
7
6
5
4
PH4
18
17
16
6
5
4
PDH4
18
17
16
3
2
1
0
PH3
PH2
PH1
PH0
15
14
13
12
3
2
1
0
PDH3
PDH2
PDH1
PDH0
15
14
13
12
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents