General-Purpose Digital I/O
C28x GPIO Functional Block Diagram
C28x GPIO Functional Block Diagram
•
•
•
•
•
•
•
•
1
1
0
0
MUX Control Bit
MUX Control Bit
0 = I/O Function
0 = I/O Function
1 = Primary Function
1 = Primary Function
Pin
Pin
Primary
Primary
Peripheral
Peripheral
Function
Function
I/O DAT
I/O DAT
Bit (R/W)
Bit (R/W)
In
In
Out
Out
•
•
I/O DIR Bit
I/O DIR Bit
0 = Input
0 = Input
1 = Output
1 = Output
GPxMUX
GPxMUX
GPxDIR
GPxDIR
GPxDAT
GPxDAT
GPxSET
GPxSET
GPxCLEAR
GPxCLEAR
GPxTOGGLE
GPxTOGGLE
QUALPRD
reserved
7
7
-
-
0
0
15
15
-
-
8
8
GPxQUAL
GPxQUAL
00h
00h
no qualification
no qualification
(SYNC to SYSCLKOUT)
(SYNC to SYSCLKOUT)
01h
01h
QUALPRD = SYSCLKOUT/2
QUALPRD = SYSCLKOUT/2
02h
02h
QUALPRD = SYSCLKOUT/4
QUALPRD = SYSCLKOUT/4
FFh
FFh
QUALPRD = SYSCLKOUT/510
QUALPRD = SYSCLKOUT/510
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Some digital I/O and
Some digital I/O and
peripheral I/O input
peripheral I/O input
signals include an
signals include an
Input Qualification
Input Qualification
feature
feature
C28x GPIO MUX/DIR Registers
C28x GPIO MUX/DIR Registers
(lab file: GPIO.c)
(lab file: GPIO.c)
Address
Address
Register
Register
Name
Name
0x0070C0
0x0070C0
GPAMUX
GPAMUX
GPIO A Mux Control Register
GPIO A Mux Control Register
0x0070C1
0x0070C1
GPADIR
GPADIR
GPIO A Direction Control Register
GPIO A Direction Control Register
0x0070C2
0x0070C2
GPAQUAL
GPAQUAL
GPIO A Input Qualification Control Register
GPIO A Input Qualification Control Register
0x0070C4
0x0070C4
GPBMUX
GPBMUX
GPIO B
GPIO B
Mux
Mux
Control Register
Control Register
0x0070C5
0x0070C5
GPBDIR
GPBDIR
GPIO B Direction Control Register
GPIO B Direction Control Register
0x0070C6
0x0070C6
GPBQUAL
GPBQUAL
GPIO B Input Qualification Control Register
GPIO B Input Qualification Control Register
0x0070CC
0x0070CC
GPDMUX
GPDMUX
GPIO D
GPIO D
Mux
Mux
Control Register
Control Register
0x0070CD
0x0070CD
GPDDIR
GPDDIR
GPIO D Direction Control Register
GPIO D Direction Control Register
0x0070CE
0x0070CE
GPDQUAL
GPDQUAL
GPIO D Input Qualification Control Register
GPIO D Input Qualification Control Register
0x0070D0
0x0070D0
GPEMUX
GPEMUX
GPIO E
GPIO E
Mux
Mux
Control Register
Control Register
0x0070D1
0x0070D1
GPEDIR
GPEDIR
GPIO E Direction Control Register
GPIO E Direction Control Register
0x0070D2
0x0070D2
GPEQUAL
GPEQUAL
GPIO E Input Qualification Control Register
GPIO E Input Qualification Control Register
0x0070D4
0x0070D4
GPFMUX
GPFMUX
GPIO F
GPIO F
Mux
Mux
Control Register
Control Register
0x0070D5
0x0070D5
GPFDIR
GPFDIR
GPIO F Direction Control Register
GPIO F Direction Control Register
0x0070D8
0x0070D8
GPGMUX
GPGMUX
GPIO G
GPIO G
Mux
Mux
Control Register
Control Register
0x0070D9
0x0070D9
GPGDIR
GPGDIR
GPIO G Direction Control Register
GPIO G Direction Control Register
5 - 12
C28x - System Initialization
Summary of Contents for C28 Series
Page 64: ...Summary 3 16 C28x Peripheral Registers Header Files ...
Page 78: ...Interrupt Sources 4 14 C28x Reset and Interrupts ...
Page 218: ...Lab 9 DSP BIOS 9 22 C28x Using DSP BIOS ...
Page 244: ...Lab 10 Programming the Flash 10 26 C28x System Design ...
Page 273: ...Appendix A eZdsp F2812 C28x Appendix A eZdsp F2812 A 1 ...
Page 276: ...Appendix P2 Expansion Interface A 4 C28x Appendix A eZdsp F2812 ...
Page 277: ...Appendix P4 P8 P7 I O Interface C28x Appendix A eZdsp F2812 A 5 ...
Page 278: ...Appendix A 6 C28x Appendix A eZdsp F2812 ...
Page 279: ...Appendix P5 P9 Analog Interface C28x Appendix A eZdsp F2812 A 7 ...
Page 282: ...Appendix A 10 C28x Appendix A eZdsp F2812 TP1 TP2 Test Points ...