Freescale Semiconductor DSP56374 User Manual page 240

24-bit digital signal
Table of Contents

Advertisement

Programming Sheets
Application:
GPIO
23 22 21 20
*
*
*
*
0
0
0
0
Port G Control Register
Read/Write
23 22 21 20
19 18 17 16
*
*
*
*
0
0
0
0
Port G Direction Register
Read/Write
PGn = 0 & PDGn = 0 -> Port pin PGn disconnected
PGn = 1 & PDGn = 0 -> Port pin PGn configured as input
PGn = 0 & PDGn = 1 -> Port pin PGn configured as output
PGn = 1 & PDGn = 1 -> Port pin PGn configured as open drain output
23 22 21 20
ETI1 ETO1 ERI1 ERO1 ETI0 ETO0 ERI0 ERO0
Port G GPIO Data Register
Reset = undefined
Read/Write
If port pin n is GPIO input, then PDn reflects the value on port pin n
if port pin n is GPIO output, then value written to PDn is reflected on port pin n
C-38
Port G (GPIO)
19 18 17 16
15 14 13 12 11 10 9
*
*
*
*
*
PG14
PG13
0
0
0
0
0
(PCRG)
Y:$FFFFFA
Reset = $0
15 14 13 12 11 10 9
*
*
*
*
*
PDG14
PDG13
0
0
0
0
0
(PRRG)
Y:$FFFFF9
Reset = $0
19 18 17 16
15 14 13 12 11 10 9
*
PD14
PD13
0
(PDRG)
Figure C-24. GPIO Port G
DSP56374 Users Guide, Rev. 1.2
8
7
PG12
PG11
PG10
PG9
PG8
PG7
PG6
*
8
7
PDG8 PDG7 PDG6 PDG5
PDG10
PDG9
PDG12
PDG11
*
8
7
PD12
PD11
PD10
PD9
PD8
PD7
PD6
Y:$FFFFF8
*
Date:
Programmer:
6
5
4
3
2
1
0
PG5 PG4 PG3
PG2
PG1 PG0
= Reserved, Program as 0
6
5
4
3
2
1
0
PDG4 PDG3 PDG2 PDG1 PDG0
= Reserved, Program as 0
6
5
4
3
2
1
0
PD5 PD4
PD3
PD2
PD1 PD0
= Reserved, Program as 0
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents